41 StatusCode
execute(
const EventContext&)
const;
45 mutable DataHandle<edm4hep::MCParticleCollection>
m_inParticles{
"GenParticles", Gaudi::DataHandle::Reader,
this};
47 mutable DataHandle<edm4hep::MCParticleCollection>
m_particles{
"SimParticlesSmeared", Gaudi::DataHandle::Writer,
this};
49 mutable ToolHandle<ISimG4ParticleSmearTool>
m_smearTool{
"SimG4ParticleSmearRootFile",
this};
Smear 'generated' (smeared) particles.
Definition SimG4SmearGenParticles.h:25
DataHandle< edm4hep::MCParticleCollection > m_particles
Handle for the particles to be written.
Definition SimG4SmearGenParticles.h:47
StatusCode execute(const EventContext &) const
Save the data output.
Definition SimG4SmearGenParticles.cpp:35
StatusCode finalize()
Finalize.
Definition SimG4SmearGenParticles.cpp:83
ToolHandle< ISimG4ParticleSmearTool > m_smearTool
Handle for the calorimeter cells noise tool.
Definition SimG4SmearGenParticles.h:49
SimG4SmearGenParticles(const std::string &aName, ISvcLocator *svcLoc)
Definition SimG4SmearGenParticles.cpp:18
Gaudi::Property< bool > m_simTracker
Flag to decide on wether to only smear and write out charged particles.
Definition SimG4SmearGenParticles.h:51
DataHandle< edm4hep::MCParticleCollection > m_inParticles
Handle for the particles to be written
Definition SimG4SmearGenParticles.h:45
StatusCode initialize()
Initialize.
Definition SimG4SmearGenParticles.cpp:24