44 #ifndef CEXMC_EVENT_SOBJECT_HH
45 #define CEXMC_EVENT_SOBJECT_HH
47 #ifdef CEXMC_USE_PERSISTENCY
49 #include <boost/serialization/vector.hpp>
55 struct CexmcEventSObject
59 G4bool edDigitizerMonitorHasTriggered;
75 CexmcSimpleTrackPointInfoStore monitorTP;
77 CexmcSimpleTrackPointInfoStore targetTPBeamParticle;
79 CexmcSimpleTrackPointInfoStore targetTPOutputParticle;
81 CexmcSimpleTrackPointInfoStore targetTPNucleusParticle;
83 CexmcSimpleTrackPointInfoStore targetTPOutputParticleDecayProductParticle1;
85 CexmcSimpleTrackPointInfoStore targetTPOutputParticleDecayProductParticle2;
87 CexmcSimpleTrackPointInfoStore vetoCounterTPLeft;
89 CexmcSimpleTrackPointInfoStore vetoCounterTPRight;
91 CexmcSimpleTrackPointInfoStore calorimeterTPLeft;
93 CexmcSimpleTrackPointInfoStore calorimeterTPRight;
95 CexmcSimpleProductionModelDataStore productionModelData;
97 template <
typename Archive >
98 void serialize( Archive & archive,
const unsigned int version );
102 template <
typename Archive >
103 void CexmcEventSObject::serialize( Archive & archive,
const unsigned int )
106 archive & edDigitizerMonitorHasTriggered;
108 archive & vetoCounterEDLeft;
109 archive & vetoCounterEDRight;
110 archive & calorimeterEDLeft;
111 archive & calorimeterEDRight;
112 archive & calorimeterEDLeftCollection;
113 archive & calorimeterEDRightCollection;
115 archive & targetTPBeamParticle;
116 archive & targetTPOutputParticle;
117 archive & targetTPNucleusParticle;
118 archive & targetTPOutputParticleDecayProductParticle1;
119 archive & targetTPOutputParticleDecayProductParticle2;
120 archive & vetoCounterTPLeft;
121 archive & vetoCounterTPRight;
122 archive & calorimeterTPLeft;
123 archive & calorimeterTPRight;
124 archive & productionModelData;