ATLAS Offline Software
|
#include <G4ParticleDecayHelper.h>
Public Member Functions | |
G4ParticleDecayHelper (const std::string &, const std::string &, const IInterface *) | |
AlgTool constructor for ParticleDecayHelper. More... | |
~G4ParticleDecayHelper () | |
Destructor. More... | |
StatusCode | initialize () |
AlgTool initailize method. More... | |
StatusCode | finalize () |
AlgTool finalize method. More... | |
double | freePath (const ISF::ISFParticle &isp) const |
free path estimator (-1 for stable particle) More... | |
void | decay (const ISF::ISFParticle &isp, const Amg::Vector3D &vertex, const Amg::Vector3D &mom, double timeStamp=0) const |
decay handling secondaries More... | |
std::vector< ISF::ISFParticle * > | decayParticle (const ISF::ISFParticle &parent, const Amg::Vector3D &vertex, const Amg::Vector3D &mom, double timeStamp=0) const |
decay More... | |
Private Member Functions | |
bool | initG4RunManager () const |
initialize G4RunManager on first call if not done by then More... | |
void | handleDecayParticles (const ISF::ISFParticle &isp, const ISF::ISFParticleVector &children) const |
fill decay products: into broker svc, truth svc More... | |
Private Attributes | |
ServiceHandle< ISF::IParticleBroker > | m_particleBroker |
Broker Svc for ISF particles. More... | |
ServiceHandle< ISF::ITruthSvc > | m_truthRecordSvc |
Truth Svc for truth tree. More... | |
ServiceHandle< IAtRndmGenSvc > | m_rndmSvc |
Random Svc. More... | |
CLHEP::HepRandomEngine * | m_randomEngine |
Random engine (updated to streams) More... | |
std::string | m_randomEngineName |
Name of the random number stream. More... | |
std::string | m_G4RandomEngineName |
Name of the random number stream for G4 tools. More... | |
ToolHandle< ISF::IG4RunManagerHelper > | m_g4RunManagerHelper |
G4RunManager needs to be initialized before G4 tables are accessed. More... | |
ToolHandle< PDGToG4Particle > | m_pdgToG4Conv |
Handle for the PDGToG4Particle converter tool. More... | |
bool | m_validationMode |
Validation output with histogram service. More... | |
ToolHandle< IPhysicsValidationTool > | m_validationTool |
the ntuple More... | |
This Tool is a helper tool wrapping the IParticleDecayCreator, and organised the flight distance to
Definition at line 45 of file G4ParticleDecayHelper.h.
iFatras::G4ParticleDecayHelper::G4ParticleDecayHelper | ( | const std::string & | t, |
const std::string & | n, | ||
const IInterface * | p | ||
) |
AlgTool constructor for ParticleDecayHelper.
Definition at line 45 of file G4ParticleDecayHelper.cxx.
iFatras::G4ParticleDecayHelper::~G4ParticleDecayHelper | ( | ) |
void iFatras::G4ParticleDecayHelper::decay | ( | const ISF::ISFParticle & | isp, |
const Amg::Vector3D & | vertex, | ||
const Amg::Vector3D & | mom, | ||
double | timeStamp = 0 |
||
) | const |
decay handling secondaries
Definition at line 195 of file G4ParticleDecayHelper.cxx.
std::vector< ISF::ISFParticle * > iFatras::G4ParticleDecayHelper::decayParticle | ( | const ISF::ISFParticle & | parent, |
const Amg::Vector3D & | vertex, | ||
const Amg::Vector3D & | mom, | ||
double | timeStamp = 0 |
||
) | const |
decay
Definition at line 272 of file G4ParticleDecayHelper.cxx.
StatusCode iFatras::G4ParticleDecayHelper::finalize | ( | ) |
AlgTool finalize method.
Definition at line 146 of file G4ParticleDecayHelper.cxx.
double iFatras::G4ParticleDecayHelper::freePath | ( | const ISF::ISFParticle & | isp | ) | const |
free path estimator (-1 for stable particle)
Definition at line 152 of file G4ParticleDecayHelper.cxx.
|
private |
fill decay products: into broker svc, truth svc
Definition at line 214 of file G4ParticleDecayHelper.cxx.
|
private |
initialize G4RunManager on first call if not done by then
Definition at line 393 of file G4ParticleDecayHelper.cxx.
StatusCode iFatras::G4ParticleDecayHelper::initialize | ( | ) |
AlgTool initailize method.
Definition at line 87 of file G4ParticleDecayHelper.cxx.
|
private |
Name of the random number stream for G4 tools.
Definition at line 91 of file G4ParticleDecayHelper.h.
|
private |
G4RunManager needs to be initialized before G4 tables are accessed.
Definition at line 96 of file G4ParticleDecayHelper.h.
|
private |
Broker Svc for ISF particles.
Definition at line 84 of file G4ParticleDecayHelper.h.
|
private |
Handle for the PDGToG4Particle converter tool.
Definition at line 97 of file G4ParticleDecayHelper.h.
|
private |
Random engine (updated to streams)
Definition at line 89 of file G4ParticleDecayHelper.h.
|
private |
Name of the random number stream.
Definition at line 90 of file G4ParticleDecayHelper.h.
|
private |
Random Svc.
Definition at line 88 of file G4ParticleDecayHelper.h.
|
private |
Truth Svc for truth tree.
Definition at line 85 of file G4ParticleDecayHelper.h.
|
private |
Validation output with histogram service.
turn validation mode on/off
Definition at line 100 of file G4ParticleDecayHelper.h.
|
private |
the ntuple
Definition at line 101 of file G4ParticleDecayHelper.h.