DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Member Functions | Protected Member Functions | List of all members
dd4hep::sim::Geant4MonteCarloTruth Class Referenceabstract

Default Interface class to handle monte carlo truth records. More...

#include <Geant4MonteCarloTruth.h>

Inheritance diagram for dd4hep::sim::Geant4MonteCarloTruth:
dd4hep::sim::Geant4DummyTruthHandler dd4hep::sim::Geant4ParticleHandler

Public Member Functions

virtual ~Geant4MonteCarloTruth ()
 Default destructor. More...
 
virtual void mark (const G4Track *track)=0
 Mark a Geant4 track to be kept for later MC truth analysis. More...
 
virtual void mark (const G4Track *track, int reason)=0
 Store a track, with a flag. More...
 
virtual void mark (const G4Step *step)=0
 Mark a Geant4 track of the step to be kept for later MC truth analysis. More...
 
virtual void mark (const G4Step *step, int reason)=0
 Store a track produced in a step to be kept for later MC truth analysis. More...
 

Protected Member Functions

 Geant4MonteCarloTruth ()
 Standard constructor. More...
 

Detailed Description

Default Interface class to handle monte carlo truth records.

Author
M.Frank
Version
1.0

Definition at line 43 of file Geant4MonteCarloTruth.h.

Constructor & Destructor Documentation

◆ Geant4MonteCarloTruth()

Geant4MonteCarloTruth::Geant4MonteCarloTruth ( )
protected

Standard constructor.

Standard action constructor.

Definition at line 21 of file Geant4MonteCarloTruth.cpp.

◆ ~Geant4MonteCarloTruth()

Geant4MonteCarloTruth::~Geant4MonteCarloTruth ( )
virtual

Default destructor.

Definition at line 26 of file Geant4MonteCarloTruth.cpp.

Member Function Documentation

◆ mark() [1/4]

virtual void dd4hep::sim::Geant4MonteCarloTruth::mark ( const G4Step *  step)
pure virtual

Mark a Geant4 track of the step to be kept for later MC truth analysis.

Implemented in dd4hep::sim::Geant4ParticleHandler, and dd4hep::sim::Geant4DummyTruthHandler.

◆ mark() [2/4]

virtual void dd4hep::sim::Geant4MonteCarloTruth::mark ( const G4Step *  step,
int  reason 
)
pure virtual

Store a track produced in a step to be kept for later MC truth analysis.

Implemented in dd4hep::sim::Geant4ParticleHandler, and dd4hep::sim::Geant4DummyTruthHandler.

◆ mark() [3/4]

virtual void dd4hep::sim::Geant4MonteCarloTruth::mark ( const G4Track *  track)
pure virtual

Mark a Geant4 track to be kept for later MC truth analysis.

Implemented in dd4hep::sim::Geant4ParticleHandler, and dd4hep::sim::Geant4DummyTruthHandler.

◆ mark() [4/4]

virtual void dd4hep::sim::Geant4MonteCarloTruth::mark ( const G4Track *  track,
int  reason 
)
pure virtual

Store a track, with a flag.

Implemented in dd4hep::sim::Geant4ParticleHandler, and dd4hep::sim::Geant4DummyTruthHandler.


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