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

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

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

Inheritance diagram for k4::Geant4PreDigiTrackHit:
Collaboration diagram for k4::Geant4PreDigiTrackHit:

Public Member Functions

 Geant4PreDigiTrackHit ()
 Default constructor.
 
 Geant4PreDigiTrackHit (unsigned int aTrackId, int aPdgId, double aEnergyDeposit, double aTime)
 Constructor setting some members.
 
virtual ~Geant4PreDigiTrackHit ()
 
G4int operator== (const Geant4PreDigiTrackHit &) 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 prePos
 the pre-step position of the step in which energy was deposited
 
CLHEP::Hep3Vector postPos
 the post-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 Tracker.

It provides members to hold both the post- and pre-step position of the step in the sensitive volume. Note that this often, but not necessarily corresponds to the entry - and exit point in the sensitive volume. It is possible that Geant will take several steps even in a thin volume such as the tracker module silicon.

Constructor & Destructor Documentation

◆ Geant4PreDigiTrackHit() [1/2]

k4::Geant4PreDigiTrackHit::Geant4PreDigiTrackHit ( )

Default constructor.

◆ Geant4PreDigiTrackHit() [2/2]

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

Constructor setting some members.

◆ ~Geant4PreDigiTrackHit()

k4::Geant4PreDigiTrackHit::~Geant4PreDigiTrackHit ( )
virtual

Member Function Documentation

◆ Draw()

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

method from base class, unused

◆ operator delete()

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

delete operator needed for g4 memory allocation

◆ operator new()

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

new operator needed for g4 memory allocation

◆ operator==()

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

comparison operator

◆ Print()

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

method from base class, unused

Member Data Documentation

◆ cellID

unsigned long k4::Geant4PreDigiTrackHit::cellID

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

◆ energyDeposit

double k4::Geant4PreDigiTrackHit::energyDeposit

the energy deposited in the material during the step

◆ pdgId

int k4::Geant4PreDigiTrackHit::pdgId

the particle data group identification code for the particle

◆ postPos

CLHEP::Hep3Vector k4::Geant4PreDigiTrackHit::postPos

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

◆ prePos

CLHEP::Hep3Vector k4::Geant4PreDigiTrackHit::prePos

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

◆ time

double k4::Geant4PreDigiTrackHit::time

the time coordinate of the energy deposit

◆ trackId

unsigned int k4::Geant4PreDigiTrackHit::trackId

the g4 trackId of the particle that deposited the energy


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