5#ifndef ISF_FATRASTOOLSG4_G4PARTICLEDECAYHELPER_H
6#define ISF_FATRASTOOLSG4_G4PARTICLEDECAYHELPER_H
10#include "GaudiKernel/ServiceHandle.h"
11#include "GaudiKernel/ToolHandle.h"
64 double timeStamp = 0)
const;
70 double timeStamp = 0)
const;
Define macros for attributes used to control the static checker.
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
The generic ISF particle definition,.
The Athena Transient Store API.
bool initG4RunManager() const
initialize G4RunManager on first call if not done by then
std::vector< ISF::ISFParticle * > decayParticle(const ISF::ISFParticle &parent, const Amg::Vector3D &vertex, const Amg::Vector3D &mom, double timeStamp=0) const
decay
std::string m_randomEngineName
Name of the random number stream.
StatusCode finalize()
AlgTool finalize method.
ToolHandle< PDGToG4Particle > m_pdgToG4Conv
Handle for the PDGToG4Particle converter tool.
CLHEP::HepRandomEngine * m_randomEngine
Random engine (updated to streams)
ServiceHandle< IAtRndmGenSvc > m_rndmSvc
Random Svc.
void handleDecayParticles(const ISF::ISFParticle &isp, const ISF::ISFParticleVector &children) const
fill decay products: into broker svc, truth svc
void decay(const ISF::ISFParticle &isp, const Amg::Vector3D &vertex, const Amg::Vector3D &mom, double timeStamp=0) const
decay handling secondaries
ToolHandle< IPhysicsValidationTool > m_validationTool
the ntuple
bool m_validationMode
Validation output with histogram service.
ServiceHandle< ISF::ITruthSvc > m_truthRecordSvc
Truth Svc for truth tree.
G4ParticleDecayHelper(const std::string &, const std::string &, const IInterface *)
AlgTool constructor for ParticleDecayHelper.
double freePath(const ISF::ISFParticle &isp) const
free path estimator (-1 for stable particle)
ToolHandle< ISF::IG4RunManagerHelper > m_g4RunManagerHelper
G4RunManager needs to be initialized before G4 tables are accessed.
ServiceHandle< ISF::IParticleBroker > m_particleBroker
Broker Svc for ISF particles.
std::string m_G4RandomEngineName
Name of the random number stream for G4 tools.
AlgTool to convert a pdgCode into a particle definition used by the G4 decayer.
Eigen::Matrix< double, 3, 1 > Vector3D
std::vector< ISF::ISFParticle * > ISFParticleVector
ISFParticle vector.