diff --git a/core/data/CbmDataLinkDef.h b/core/data/CbmDataLinkDef.h index 68d3650dc5ec84c1ed4edc8e058a4283aae1ca01..efb8a74da1561964109b3b5e8b678b57f452253b 100644 --- a/core/data/CbmDataLinkDef.h +++ b/core/data/CbmDataLinkDef.h @@ -215,4 +215,14 @@ LOG(error); \ LOG(fatal) << \"Stop execution.\"; \ }" + +#pragma read sourceClass = "CbmRichPoint" version = "[1]" targetClass = "CbmRichPoint" source = "" target = \ + "" include = "Logger.h" code = "{ \ + LOG(error); \ + LOG(error) << \"You are trying to read an outdated version of CbmRichPoint\"; \ + LOG(error) << \"where the unique pmt pixel addresses are not stored into CbmRichPoint.\"; \ + LOG(error) << \"To fix this rerun transport.\"; \ + LOG(error); \ + LOG(fatal) << \"Stop execution.\"; \ + }" #endif diff --git a/core/data/rich/CbmRichPoint.h b/core/data/rich/CbmRichPoint.h index d23009160dcf78bce134c653d5426689f4e93a94..47f188ef3fcaee11c29e87779f576509433f5d1e 100644 --- a/core/data/rich/CbmRichPoint.h +++ b/core/data/rich/CbmRichPoint.h @@ -20,7 +20,7 @@ #include <FairMCPoint.h> // for FairMCPoint -#include <Rtypes.h> // for ClassDef +#include <Rtypes.h> // for ClassDef #include <cstdint> @@ -57,7 +57,7 @@ public: virtual void Print(const Option_t* opt) const; - ClassDef(CbmRichPoint, 1) + ClassDef(CbmRichPoint, 2) };