Skip to content
Snippets Groups Projects
Commit cf18c787 authored by Martin Beyer's avatar Martin Beyer Committed by Florian Uhlig
Browse files

bump CbmRichPoint ClassDef count and add check which cancels the execution if...

bump CbmRichPoint ClassDef count and add check which cancels the execution if ClassDef count is older.

The reason for this is that pmt pixel addresses are now stored in CbmRichPoin and not derived
while digitization, the safety check prevents running rich digitization on transport files which dont have the pixel address stored
parent ab06e8ee
No related branches found
No related tags found
1 merge request!1476Rich: bump CbmRichPoint ClassDef version and add check which cancels the execution if version is older
Pipeline #25425 passed
......@@ -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
......@@ -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)
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment