Geant4  10.00.p02
CCalHit Class Reference

#include <CCalHit.hh>

+ Inheritance diagram for CCalHit:

Public Member Functions

 CCalHit ()
 
 ~CCalHit ()
 
 CCalHit (const CCalHit &right)
 
const CCalHitoperator= (const CCalHit &right)
 
int operator== (const CCalHit &)
 
void print ()
 
CLHEP::Hep3Vector getEntry () const
 
void setEntry (CLHEP::Hep3Vector xyz)
 
double getIncidentEnergy () const
 
void setIncidentEnergy (double e)
 
int getTrackID () const
 
void setTrackID (int i)
 
unsigned int getUnitID () const
 
void setUnitID (unsigned int i)
 
double getTimeSlice () const
 
void setTimeSlice (double d)
 
int getTimeSliceID () const
 
double getEnergyDeposit () const
 
void setEnergyDeposit (const double e)
 
void addEnergyDeposit (const CCalHit &aHit)
 
void addEnergyDeposit (const double e)
 

Private Attributes

CLHEP::Hep3Vector entry
 
double theIncidentEnergy
 
int theTrackID
 
unsigned int theUnitID
 
double theTimeSlice
 
double theEnergyDeposit
 

Friends

std::ostream & operator<< (std::ostream &, const CCalHit &)
 

Detailed Description

Definition at line 52 of file CCalHit.hh.

Constructor & Destructor Documentation

CCalHit::CCalHit ( )

Definition at line 35 of file CCalHit.cc.

CCalHit::~CCalHit ( )

Definition at line 41 of file CCalHit.cc.

CCalHit::CCalHit ( const CCalHit right)

Definition at line 44 of file CCalHit.cc.

Member Function Documentation

void CCalHit::addEnergyDeposit ( const CCalHit aHit)

Definition at line 90 of file CCalHit.cc.

References getEnergyDeposit().

Referenced by CCalG4Hit::addEnergyDeposit().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CCalHit::addEnergyDeposit ( const double  e)

Definition at line 94 of file CCalHit.cc.

References theEnergyDeposit.

double CCalHit::getEnergyDeposit ( ) const

Definition at line 86 of file CCalHit.cc.

References theEnergyDeposit.

Referenced by addEnergyDeposit(), CCalEndOfEventAction::EndOfEventAction(), and operator<<().

+ Here is the caller graph for this function:

CLHEP::Hep3Vector CCalHit::getEntry ( ) const

Definition at line 65 of file CCalHit.cc.

References entry.

Referenced by operator<<().

+ Here is the caller graph for this function:

double CCalHit::getIncidentEnergy ( ) const

Definition at line 68 of file CCalHit.cc.

References theIncidentEnergy.

Referenced by operator<<().

+ Here is the caller graph for this function:

double CCalHit::getTimeSlice ( ) const

Definition at line 77 of file CCalHit.cc.

References theTimeSlice.

Referenced by CCalEndOfEventAction::EndOfEventAction().

+ Here is the caller graph for this function:

int CCalHit::getTimeSliceID ( ) const

Definition at line 79 of file CCalHit.cc.

References theTimeSlice.

Referenced by CCaloSD::hitExists(), and operator<<().

+ Here is the caller graph for this function:

int CCalHit::getTrackID ( ) const

Definition at line 71 of file CCalHit.cc.

References theTrackID.

Referenced by CCaloSD::hitExists(), and operator<<().

+ Here is the caller graph for this function:

unsigned int CCalHit::getUnitID ( ) const

Definition at line 74 of file CCalHit.cc.

References theUnitID.

Referenced by CCalEndOfEventAction::EndOfEventAction(), CCaloSD::hitExists(), and operator<<().

+ Here is the caller graph for this function:

const CCalHit & CCalHit::operator= ( const CCalHit right)

Definition at line 54 of file CCalHit.cc.

References entry, theEnergyDeposit, theIncidentEnergy, theTimeSlice, theTrackID, and theUnitID.

Referenced by CCalG4Hit::operator=().

+ Here is the caller graph for this function:

int CCalHit::operator== ( const CCalHit )
inline

Definition at line 62 of file CCalHit.hh.

void CCalHit::print ( )

Definition at line 99 of file CCalHit.cc.

References G4cout.

void CCalHit::setEnergyDeposit ( const double  e)

Definition at line 82 of file CCalHit.cc.

References theEnergyDeposit.

void CCalHit::setEntry ( CLHEP::Hep3Vector  xyz)

Definition at line 66 of file CCalHit.cc.

References entry.

Referenced by CCaloSD::createNewHit().

+ Here is the caller graph for this function:

void CCalHit::setIncidentEnergy ( double  e)

Definition at line 69 of file CCalHit.cc.

References theIncidentEnergy.

Referenced by CCaloSD::createNewHit().

+ Here is the caller graph for this function:

void CCalHit::setTimeSlice ( double  d)

Definition at line 78 of file CCalHit.cc.

References theTimeSlice.

Referenced by CCaloSD::createNewHit().

+ Here is the caller graph for this function:

void CCalHit::setTrackID ( int  i)

Definition at line 72 of file CCalHit.cc.

References theTrackID.

Referenced by CCaloSD::createNewHit().

+ Here is the caller graph for this function:

void CCalHit::setUnitID ( unsigned int  i)

Definition at line 75 of file CCalHit.cc.

References theUnitID.

Referenced by CCaloSD::createNewHit().

+ Here is the caller graph for this function:

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const CCalHit hit 
)
friend

Definition at line 104 of file CCalHit.cc.

Member Data Documentation

CLHEP::Hep3Vector CCalHit::entry
private

Definition at line 91 of file CCalHit.hh.

Referenced by getEntry(), operator=(), and setEntry().

double CCalHit::theEnergyDeposit
private

Definition at line 96 of file CCalHit.hh.

Referenced by addEnergyDeposit(), getEnergyDeposit(), operator=(), and setEnergyDeposit().

double CCalHit::theIncidentEnergy
private

Definition at line 92 of file CCalHit.hh.

Referenced by getIncidentEnergy(), operator=(), and setIncidentEnergy().

double CCalHit::theTimeSlice
private

Definition at line 95 of file CCalHit.hh.

Referenced by getTimeSlice(), getTimeSliceID(), operator=(), and setTimeSlice().

int CCalHit::theTrackID
private

Definition at line 93 of file CCalHit.hh.

Referenced by getTrackID(), operator=(), and setTrackID().

unsigned int CCalHit::theUnitID
private

Definition at line 94 of file CCalHit.hh.

Referenced by getUnitID(), operator=(), and setUnitID().


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