3 |
|
// |
4 |
|
// FillerMCParticles |
5 |
|
// |
6 |
< |
// Imlementation of a filler to fill HepMC particles (gen) AND TrackingParticles (sim) |
6 |
> |
// Imlementation of a filler to fill HepMC particles OR the aod GenParticle candidates (gen) |
7 |
> |
// AND SimTracks (sim) with association map to TrackingParticles (for hit-based MC truth matching) |
8 |
|
// into mithep::MCParticles. Gen and Sim particle information is thus merged into a single |
9 |
|
// collection. |
10 |
|
// |
36 |
|
|
37 |
|
private: |
38 |
|
Bool_t genActive_; //=true if generated particles are filled |
39 |
+ |
Bool_t useAodGen_; //=true to use aod GenParticles instead of HepMC |
40 |
|
Bool_t simActive_; //=true if simulated particles are filled |
41 |
|
Bool_t trackingActive_; //=true if simulated TrackingParticles are mapped |
42 |
|
std::string genEdmName_; //edm name of generated particles |
46 |
|
std::string simMapName_; //name of exported map wrt simulated particles |
47 |
|
std::string trackingMapName_; //name of exported map wrt simulated TrackingParticles |
48 |
|
std::string mitName_; //name of MCParticles branch in OAK |
47 |
– |
std::map<unsigned int, SimTrackRef> simTidMap_; //map of SimTracks to G4 track ids |
49 |
|
mithep::MCParticleArr *mcParticles_; //array of MCParticles |
50 |
< |
mithep::GenParticleMap *genMap_; //map wrt generated particles |
51 |
< |
mithep::SimTrackMap *simMap_; //map wrt simulated particles |
50 |
> |
mithep::GenParticleBarcodeMap *genMap_; //map wrt generated particles |
51 |
> |
mithep::AODGenParticleMap *aodGenMap_; //map wrt generated particles |
52 |
> |
mithep::SimTrackTidMap *simMap_; //map of SimTracks to G4 track ids |
53 |
|
mithep::TrackingParticleMap *trackingMap_; //map wrt simulated TrackingParticles |
54 |
|
}; |
55 |
|
} |