![]() |
DD4hep
1.33.0
Detector Description Toolkit for High Energy Physics
|
Fill eve particles from a MC particle collection. More...
#include <ParticleActors.h>
Public Types | |
| typedef std::map< std::string, TEveCompound * > | Compounds |
Public Member Functions | |
| MCParticleCreator (TEveTrackPropagator *p, TEveCompound *ps, const DisplayConfiguration::Config *cfg) | |
| Standard initializing constructor. More... | |
| void | addCompound (const std::string &name, TEveLine *e) |
| Access sub-compound by name. More... | |
| void | addCompoundLight (const std::string &name, TEveLine *e) |
| Access sub-compound by name. More... | |
| virtual void | operator() (const DDEveParticle &particle) |
| Action callback of this functor: More... | |
| void | close () |
| Close compounds. More... | |
Public Member Functions inherited from dd4hep::DDEveParticleActor | |
| virtual | ~DDEveParticleActor () |
| virtual void | setSize (size_t) |
Public Attributes | |
| TEveTrackPropagator * | propagator {0} |
| TEveCompound * | particles {0} |
| Compounds | types |
| double | threshold {10e0} |
| int | count {0} |
| int | lineWidth {4} |
Fill eve particles from a MC particle collection.
Definition at line 39 of file ParticleActors.h.
| typedef std::map<std::string,TEveCompound*> dd4hep::MCParticleCreator::Compounds |
Definition at line 40 of file ParticleActors.h.
| MCParticleCreator::MCParticleCreator | ( | TEveTrackPropagator * | p, |
| TEveCompound * | ps, | ||
| const DisplayConfiguration::Config * | cfg | ||
| ) |
Standard initializing constructor.
Definition at line 49 of file ParticleActors.cpp.
| void MCParticleCreator::addCompound | ( | const std::string & | name, |
| TEveLine * | e | ||
| ) |
Access sub-compound by name.
Definition at line 70 of file ParticleActors.cpp.
| void MCParticleCreator::addCompoundLight | ( | const std::string & | name, |
| TEveLine * | e | ||
| ) |
Access sub-compound by name.
Definition at line 89 of file ParticleActors.cpp.
| void MCParticleCreator::close | ( | ) |
Close compounds.
Definition at line 106 of file ParticleActors.cpp.
|
virtual |
Action callback of this functor:
Implements dd4hep::DDEveParticleActor.
Definition at line 119 of file ParticleActors.cpp.
| int dd4hep::MCParticleCreator::count {0} |
Definition at line 45 of file ParticleActors.h.
| int dd4hep::MCParticleCreator::lineWidth {4} |
Definition at line 46 of file ParticleActors.h.
| TEveCompound* dd4hep::MCParticleCreator::particles {0} |
Definition at line 42 of file ParticleActors.h.
| TEveTrackPropagator* dd4hep::MCParticleCreator::propagator {0} |
Definition at line 41 of file ParticleActors.h.
| double dd4hep::MCParticleCreator::threshold {10e0} |
Definition at line 44 of file ParticleActors.h.
| Compounds dd4hep::MCParticleCreator::types |
Definition at line 43 of file ParticleActors.h.
1.8.18