![]() |
ATLAS Offline Software
|
This tool works around the issue of zero-lifetime particles in Geant4. More...
#include <ZeroLifetimePositioner.h>
Public Member Functions | |
| ZeroLifetimePositioner (const std::string &name, ISvcLocator *pSvcLocator) | |
| Constructor with parameters. | |
| StatusCode | initialize () override final |
| Athena algtool's Hooks. | |
| StatusCode | finalize () override final |
| Athena algtool's Hooks. | |
| virtual StatusCode | applyWorkaround (HepMC::GenEvent &ge) const override final |
| Applies the workaround for zero-lifetime particles to the GenEvent. | |
| virtual StatusCode | removeWorkaround (HepMC::GenEvent &ge) const override final |
| Removes the workaround for zero-lifetime particles from the GenEvent. | |
Private Member Functions | |
| StatusCode | manipulate (HepMC::GenEvent &ge, bool applyPatch, bool removePatch) const |
| modifies (displaces) the given GenEvent | |
Private Attributes | |
| Gaudi::Property< bool > | m_applyPatch {this, "ApplyPatch", false} |
| Gaudi::Property< bool > | m_removePatch {this, "RemovePatch", false} |
| Gaudi::Property< std::vector< int > > | m_pdgCodesToCheck { this, "PDGCodesToCheck", {421,511,531} } |
This tool works around the issue of zero-lifetime particles in Geant4.
Definition at line 21 of file ZeroLifetimePositioner.h.
| Simulation::ZeroLifetimePositioner::ZeroLifetimePositioner | ( | const std::string & | name, |
| ISvcLocator * | pSvcLocator ) |
Constructor with parameters.
Constructor.
Definition at line 19 of file ZeroLifetimePositioner.cxx.
|
finaloverridevirtual |
Applies the workaround for zero-lifetime particles to the GenEvent.
Definition at line 47 of file ZeroLifetimePositioner.cxx.
|
finaloverride |
Athena algtool's Hooks.
Definition at line 40 of file ZeroLifetimePositioner.cxx.
|
finaloverride |
Athena algtool's Hooks.
Definition at line 27 of file ZeroLifetimePositioner.cxx.
|
private |
modifies (displaces) the given GenEvent
Definition at line 62 of file ZeroLifetimePositioner.cxx.
|
finaloverridevirtual |
Removes the workaround for zero-lifetime particles from the GenEvent.
Definition at line 54 of file ZeroLifetimePositioner.cxx.
|
private |
Definition at line 39 of file ZeroLifetimePositioner.h.
|
private |
Definition at line 41 of file ZeroLifetimePositioner.h.
|
private |
Definition at line 40 of file ZeroLifetimePositioner.h.