k4SimGeant4
Loading...
Searching...
No Matches
k4::Geant4CaloHit Class Reference

Data structure to hold the geant4 output in the Calorimeter. More...

#include <SimG4Common/include/SimG4Common/Geant4CaloHit.h>

Inheritance diagram for k4::Geant4CaloHit:
Collaboration diagram for k4::Geant4CaloHit:

Public Member Functions

 Geant4CaloHit ()
 Default constructor.
 
 Geant4CaloHit (unsigned int aTrackId, int aPdgId, double aEnergyDeposit, double aTime)
 Constructor setting some members.
 
virtual ~Geant4CaloHit ()
 
G4int operator== (const Geant4CaloHit &) const
 comparison operator
 
void * operator new (size_t)
 new operator needed for g4 memory allocation
 
void operator delete (void *)
 delete operator needed for g4 memory allocation
 
virtual void Draw ()
 method from base class, unused
 
virtual void Print ()
 method from base class, unused
 

Public Attributes

CLHEP::Hep3Vector position
 the pre-step position of the step in which energy was deposited
 
unsigned long cellID
 the DD4hep cellID of the volume in which the energy was deposited
 
unsigned int trackId
 the g4 trackId of the particle that deposited the energy
 
int pdgId
 the particle data group identification code for the particle
 
double energyDeposit
 the energy deposited in the material during the step
 
double time
 the time coordinate of the energy deposit
 

Detailed Description

Data structure to hold the geant4 output in the Calorimeter.

Constructor & Destructor Documentation

◆ Geant4CaloHit() [1/2]

k4::Geant4CaloHit::Geant4CaloHit ( )

Default constructor.

◆ Geant4CaloHit() [2/2]

k4::Geant4CaloHit::Geant4CaloHit ( unsigned int aTrackId,
int aPdgId,
double aEnergyDeposit,
double aTime )

Constructor setting some members.

◆ ~Geant4CaloHit()

k4::Geant4CaloHit::~Geant4CaloHit ( )
virtual

Member Function Documentation

◆ Draw()

virtual void k4::Geant4CaloHit::Draw ( )
inlinevirtual

method from base class, unused

◆ operator delete()

void k4::Geant4CaloHit::operator delete ( void * hit)
inline

delete operator needed for g4 memory allocation

◆ operator new()

void * k4::Geant4CaloHit::operator new ( size_t )
inline

new operator needed for g4 memory allocation

◆ operator==()

G4int k4::Geant4CaloHit::operator== ( const Geant4CaloHit & right) const

comparison operator

◆ Print()

virtual void k4::Geant4CaloHit::Print ( )
inlinevirtual

method from base class, unused

Member Data Documentation

◆ cellID

unsigned long k4::Geant4CaloHit::cellID

the DD4hep cellID of the volume in which the energy was deposited

◆ energyDeposit

double k4::Geant4CaloHit::energyDeposit

the energy deposited in the material during the step

◆ pdgId

int k4::Geant4CaloHit::pdgId

the particle data group identification code for the particle

◆ position

CLHEP::Hep3Vector k4::Geant4CaloHit::position

the pre-step position of the step in which energy was deposited

◆ time

double k4::Geant4CaloHit::time

the time coordinate of the energy deposit

◆ trackId

unsigned int k4::Geant4CaloHit::trackId

the g4 trackId of the particle that deposited the energy


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