Geant4Output2Podio.cxx
Go to the documentation of this file.
152 std::array<int, 2>{{part->colorFlow[0], part->colorFlow[1]}}, (int)part->genStatus, (int)part->charge,
174 void Geant4Output2Podio::saveCollection(OutputContext<G4Event>& /* ctxt */, G4VHitsCollection* collection) {
@ part
virtual void beginRun(const G4Run *run)
Callback to store the Geant4 run information.
Definition: Geant4Output2Podio.cxx:58
Definition: Geant4Particle.h:27
A Collection is identified by an ID.
Definition: CalorimeterHitCollection.h:50
virtual void saveEvent(OutputContext< G4Event > &ctxt)
Callback to store the Geant4 event.
Definition: Geant4Output2Podio.cxx:125
A Collection is identified by an ID.
Definition: TrackerHitCollection.h:50
Definition: MonteCarloContrib.h:11
detail::increment< T > increment(T &target)
makes function object that increments using operator ++
Definition: clipp.h:1119
bool m_handleMCTruth
Flag if Monte-Carlo truth should be followed and checked.
Definition: Geant4Output2Podio.h:37
podio::ROOTWriter * writer
Definition: Geant4Output2Podio.h:49
virtual void endRun(const G4Run *run)
Callback to store the Geant4 run information.
Definition: Geant4Output2Podio.cxx:65
virtual void saveRun(const G4Run *run)
Callback to store the Geant4 run information.
Definition: Geant4Output2Podio.cxx:114
void clear() override final
Definition: Geant4ParticleCollection.cc:59
Geant4Output2Podio(Geant4Context *context, const std::string &nam)
Standard constructor.
Definition: Geant4Output2Podio.cxx:30
bool m_disableParticles
Property: vector with disabled collections.
Definition: Geant4Output2Podio.h:46
Namespace for the Geant4 based simulation part of the AIDA detector description toolkit.
Definition: Geant4Output2Podio.cxx:27
std::vector< std::string > m_disabledCollections
Property: vector with disabled collections.
Definition: Geant4Output2Podio.h:40
detail::decrement< T > decrement(T &target)
makes function object that increments by a fixed amount using operator +=
Definition: clipp.h:1141
A Collection is identified by an ID.
Definition: PhotoMultiplierHitCollection.h:50
A Collection is identified by an ID.
Definition: Geant4ParticleCollection.h:50
std::vector< std::string > m_enabledCollections
Property: vector with disabled collections.
Definition: Geant4Output2Podio.h:43
virtual void commit(OutputContext< G4Event > &ctxt)
Commit data at end of filling procedure.
Definition: Geant4Output2Podio.cxx:118