Saves output to podio data model.
More...
#include <Geant4Output2Podio.h>
|
| Geant4Output2Podio (Geant4Context *context, const std::string &nam) |
| Standard constructor. More...
|
|
virtual | ~Geant4Output2Podio () |
| Default destructor. More...
|
|
virtual void | beginRun (const G4Run *run) |
| Callback to store the Geant4 run information. More...
|
|
virtual void | endRun (const G4Run *run) |
| Callback to store the Geant4 run information. More...
|
|
virtual void | saveRun (const G4Run *run) |
| Callback to store the Geant4 run information. More...
|
|
virtual void | saveCollection (OutputContext< G4Event > &ctxt, G4VHitsCollection *collection) |
| Callback to store each Geant4 hit collection. More...
|
|
virtual void | saveEvent (OutputContext< G4Event > &ctxt) |
| Callback to store the Geant4 event. More...
|
|
virtual void | commit (OutputContext< G4Event > &ctxt) |
| Commit data at end of filling procedure. More...
|
|
Saves output to podio data model.
Uses the podio data model "dd4pod" as the output.
Definition at line 30 of file Geant4Output2Podio.h.
◆ Geant4Output2Podio()
dd4hep::sim::Geant4Output2Podio::Geant4Output2Podio |
( |
Geant4Context * |
context, |
|
|
const std::string & |
nam |
|
) |
| |
◆ ~Geant4Output2Podio()
dd4hep::sim::Geant4Output2Podio::~Geant4Output2Podio |
( |
| ) |
|
|
virtual |
◆ beginRun()
void dd4hep::sim::Geant4Output2Podio::beginRun |
( |
const G4Run * |
run | ) |
|
|
virtual |
◆ commit()
void dd4hep::sim::Geant4Output2Podio::commit |
( |
OutputContext< G4Event > & |
ctxt | ) |
|
|
virtual |
◆ ConstructParticle()
◆ endRun()
void dd4hep::sim::Geant4Output2Podio::endRun |
( |
const G4Run * |
run | ) |
|
|
virtual |
◆ saveCollection()
void dd4hep::sim::Geant4Output2Podio::saveCollection |
( |
OutputContext< G4Event > & |
ctxt, |
|
|
G4VHitsCollection * |
collection |
|
) |
| |
|
virtual |
◆ saveEvent()
void dd4hep::sim::Geant4Output2Podio::saveEvent |
( |
OutputContext< G4Event > & |
ctxt | ) |
|
|
virtual |
◆ saveRun()
void dd4hep::sim::Geant4Output2Podio::saveRun |
( |
const G4Run * |
run | ) |
|
|
virtual |
◆ m_col_map
std::map<std::string, podio::CollectionBase*> dd4hep::sim::Geant4Output2Podio::m_col_map |
|
protected |
◆ m_collectionIDs
podio::CollectionIDTable* dd4hep::sim::Geant4Output2Podio::m_collectionIDs |
|
protected |
◆ m_collections
std::vector<std::pair<std::string, podio::CollectionBase*> > dd4hep::sim::Geant4Output2Podio::m_collections |
|
protected |
◆ m_disabledCollections
std::vector<std::string> dd4hep::sim::Geant4Output2Podio::m_disabledCollections |
|
protected |
◆ m_disableParticles
bool dd4hep::sim::Geant4Output2Podio::m_disableParticles = false |
|
protected |
◆ m_enabledCollections
std::vector<std::string> dd4hep::sim::Geant4Output2Podio::m_enabledCollections |
|
protected |
◆ m_handleMCTruth
bool dd4hep::sim::Geant4Output2Podio::m_handleMCTruth |
|
protected |
◆ m_readCollections
std::vector<std::pair<std::string, podio::CollectionBase*> > dd4hep::sim::Geant4Output2Podio::m_readCollections |
|
protected |
◆ store
podio::EventStore dd4hep::sim::Geant4Output2Podio::store |
|
protected |
◆ writer
podio::ROOTWriter* dd4hep::sim::Geant4Output2Podio::writer = nullptr |
|
protected |
The documentation for this class was generated from the following files: