DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Types | Public Member Functions | Protected Attributes | List of all members
dd4hep::sim::Geant4DataDump Class Reference

Class to dump the records of the intrinsic Geant4 event model. More...

#include <Geant4DataDump.h>

Public Types

typedef Geant4Particle Particle
 
typedef std::vector< Particle * > Particles
 
typedef SimpleTracker::Hit TrackerHit
 
typedef std::vector< SimpleTracker::Hit * > TrackerHits
 
typedef SimpleCalorimeter::Hit CalorimeterHit
 
typedef std::vector< SimpleCalorimeter::Hit * > CalorimeterHits
 

Public Member Functions

 Geant4DataDump (const std::string &tag)
 Default constructor. More...
 
virtual ~Geant4DataDump ()
 Standard destructor. More...
 
void print (PrintLevel level, Geant4ParticleHandle p) const
 Print a single particle to the output logging using the specified print level. More...
 
void print (PrintLevel level, int key, Geant4ParticleHandle p) const
 Print a single particle to the output logging using the specified print level. More...
 
void print (PrintLevel level, const Geant4ParticleMap *parts) const
 Print the particle map to the output logging using the specified print level. More...
 
void print (PrintLevel level, const std::string &container, const Particles *parts) const
 Print the particle container to the output logging using the specified print level. More...
 
void print (PrintLevel level, const TrackerHit *h) const
 Print a single tracker hit to the output logging using the specified print level. More...
 
void print (PrintLevel level, const std::string &container, const TrackerHits *hits) const
 Print the tracker hits container to the output logging using the specified print level. More...
 
void print (PrintLevel level, const CalorimeterHit *h) const
 Print a calorimeter tracker hit to the output logging using the specified print level. More...
 
void print (PrintLevel level, const std::string &container, const CalorimeterHits *hits) const
 Print the calorimeter hits container to the output logging using the specified print level. More...
 

Protected Attributes

std::string m_tag
 Tag variable. More...
 

Detailed Description

Class to dump the records of the intrinsic Geant4 event model.

Author
M.Frank
Version
1.0

Definition at line 37 of file Geant4DataDump.h.

Member Typedef Documentation

◆ CalorimeterHit

Definition at line 45 of file Geant4DataDump.h.

◆ CalorimeterHits

Definition at line 46 of file Geant4DataDump.h.

◆ Particle

Definition at line 39 of file Geant4DataDump.h.

◆ Particles

Definition at line 40 of file Geant4DataDump.h.

◆ TrackerHit

Definition at line 42 of file Geant4DataDump.h.

◆ TrackerHits

Definition at line 43 of file Geant4DataDump.h.

Constructor & Destructor Documentation

◆ Geant4DataDump()

Geant4DataDump::Geant4DataDump ( const std::string &  tag)

Default constructor.

Definition at line 22 of file Geant4DataDump.cpp.

◆ ~Geant4DataDump()

Geant4DataDump::~Geant4DataDump ( )
virtual

Standard destructor.

Definition at line 26 of file Geant4DataDump.cpp.

Member Function Documentation

◆ print() [1/8]

void Geant4DataDump::print ( PrintLevel  level,
const CalorimeterHit h 
) const

Print a calorimeter tracker hit to the output logging using the specified print level.

Definition at line 115 of file Geant4DataDump.cpp.

◆ print() [2/8]

void Geant4DataDump::print ( PrintLevel  level,
const Geant4ParticleMap parts 
) const

Print the particle map to the output logging using the specified print level.

Definition at line 84 of file Geant4DataDump.cpp.

◆ print() [3/8]

void Geant4DataDump::print ( PrintLevel  level,
const std::string &  container,
const CalorimeterHits hits 
) const

Print the calorimeter hits container to the output logging using the specified print level.

Definition at line 128 of file Geant4DataDump.cpp.

◆ print() [4/8]

void Geant4DataDump::print ( PrintLevel  level,
const std::string &  container,
const Particles parts 
) const

Print the particle container to the output logging using the specified print level.

Definition at line 70 of file Geant4DataDump.cpp.

◆ print() [5/8]

void Geant4DataDump::print ( PrintLevel  level,
const std::string &  container,
const TrackerHits hits 
) const

Print the tracker hits container to the output logging using the specified print level.

Definition at line 105 of file Geant4DataDump.cpp.

◆ print() [6/8]

void Geant4DataDump::print ( PrintLevel  level,
const TrackerHit h 
) const

Print a single tracker hit to the output logging using the specified print level.

Definition at line 98 of file Geant4DataDump.cpp.

◆ print() [7/8]

void Geant4DataDump::print ( PrintLevel  level,
Geant4ParticleHandle  p 
) const

Print a single particle to the output logging using the specified print level.

Definition at line 30 of file Geant4DataDump.cpp.

◆ print() [8/8]

void Geant4DataDump::print ( PrintLevel  level,
int  key,
Geant4ParticleHandle  p 
) const

Print a single particle to the output logging using the specified print level.

Definition at line 50 of file Geant4DataDump.cpp.

Member Data Documentation

◆ m_tag

std::string dd4hep::sim::Geant4DataDump::m_tag
protected

Tag variable.

Definition at line 50 of file Geant4DataDump.h.


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