k4SimGeant4
Loading...
Searching...
No Matches
SimG4GeantinosFromEdmTool Class Reference

#include <SimG4Components/src/SimG4GeantinosFromEdmTool.h>

Inheritance diagram for SimG4GeantinosFromEdmTool:
Collaboration diagram for SimG4GeantinosFromEdmTool:

Public Member Functions

 SimG4GeantinosFromEdmTool (const std::string &type, const std::string &name, const IInterface *parent)
 Standard constructor.
 
virtual ~SimG4GeantinosFromEdmTool ()
 
StatusCode initialize () final
 
virtual G4Event * g4Event () final
 Translates the input (edm4hep::MCParticleCollection) into a G4Event.
 
- Public Member Functions inherited from ISimG4EventProviderTool
 DeclareInterfaceID (ISimG4EventProviderTool, 1, 0)
 

Private Attributes

DataHandle< edm4hep::MCParticleCollection > m_genParticles {"GenParticles", Gaudi::DataHandle::Reader, this}
 Handle for the EDM MC particles to be read.
 

Constructor & Destructor Documentation

◆ SimG4GeantinosFromEdmTool()

SimG4GeantinosFromEdmTool::SimG4GeantinosFromEdmTool ( const std::string & type,
const std::string & name,
const IInterface * parent )

Standard constructor.

◆ ~SimG4GeantinosFromEdmTool()

SimG4GeantinosFromEdmTool::~SimG4GeantinosFromEdmTool ( )
virtual

Member Function Documentation

◆ g4Event()

G4Event * SimG4GeantinosFromEdmTool::g4Event ( )
finalvirtual

Translates the input (edm4hep::MCParticleCollection) into a G4Event.

Returns
G4Event with primaries generated from MCParticleCollection (ownership is transferred to the caller)

Implements ISimG4EventProviderTool.

◆ initialize()

StatusCode SimG4GeantinosFromEdmTool::initialize ( )
final

Member Data Documentation

◆ m_genParticles

DataHandle<edm4hep::MCParticleCollection> SimG4GeantinosFromEdmTool::m_genParticles {"GenParticles", Gaudi::DataHandle::Reader, this}
mutableprivate

Handle for the EDM MC particles to be read.


The documentation for this class was generated from the following files: