Geant4  10.02
CCalG4Hit Class Reference

#include <CCalG4Hit.hh>

+ Inheritance diagram for CCalG4Hit:
+ Collaboration diagram for CCalG4Hit:

Public Member Functions

 CCalG4Hit ()
 
 ~CCalG4Hit ()
 
 CCalG4Hit (const CCalG4Hit &right)
 
const CCalG4Hitoperator= (const CCalG4Hit &right)
 
int operator== (const CCalG4Hit &)
 
void Draw ()
 
void Print ()
 
double getEM () const
 
void setEM (double e)
 
double getHadr () const
 
void setHadr (double e)
 
void addEnergyDeposit (const CCalG4Hit &aHit)
 
void addEnergyDeposit (double em, double hd)
 
- Public Member Functions inherited from G4VHit
 G4VHit ()
 
virtual ~G4VHit ()
 
G4int operator== (const G4VHit &right) const
 
virtual const std::map
< G4String, G4AttDef > * 
GetAttDefs () const
 
virtual std::vector< G4AttValue > * CreateAttValues () const
 
- Public Member Functions inherited from CCalHit
 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

double elem
 
double hadr
 

Friends

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

Detailed Description

Definition at line 38 of file CCalG4Hit.hh.

Constructor & Destructor Documentation

CCalG4Hit::CCalG4Hit ( )

Definition at line 35 of file CCalG4Hit.cc.

CCalG4Hit::~CCalG4Hit ( )

Definition at line 40 of file CCalG4Hit.cc.

CCalG4Hit::CCalG4Hit ( const CCalG4Hit right)

Definition at line 43 of file CCalG4Hit.cc.

Member Function Documentation

void CCalG4Hit::addEnergyDeposit ( const CCalG4Hit aHit)

Definition at line 63 of file CCalG4Hit.cc.

References getEM(), and getHadr().

Referenced by CCaloSD::updateHit().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CCalG4Hit::addEnergyDeposit ( double  em,
double  hd 
)

Definition at line 67 of file CCalG4Hit.cc.

References CCalHit::addEnergyDeposit(), elem, and hadr.

+ Here is the call graph for this function:

void CCalG4Hit::Draw ( )
inlinevirtual

Reimplemented from G4VHit.

Definition at line 52 of file CCalG4Hit.hh.

double CCalG4Hit::getEM ( ) const

Definition at line 57 of file CCalG4Hit.cc.

References elem.

Referenced by addEnergyDeposit(), and operator<<().

+ Here is the caller graph for this function:

double CCalG4Hit::getHadr ( ) const

Definition at line 60 of file CCalG4Hit.cc.

References hadr.

Referenced by addEnergyDeposit(), and operator<<().

+ Here is the caller graph for this function:

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

Definition at line 49 of file CCalG4Hit.cc.

References elem, hadr, and CCalHit::operator=().

+ Here is the call graph for this function:

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

Definition at line 48 of file CCalG4Hit.hh.

void CCalG4Hit::Print ( void  )
virtual

Reimplemented from G4VHit.

Definition at line 74 of file CCalG4Hit.cc.

References G4cout.

void CCalG4Hit::setEM ( double  e)

Definition at line 58 of file CCalG4Hit.cc.

References elem.

void CCalG4Hit::setHadr ( double  e)

Definition at line 61 of file CCalG4Hit.cc.

References hadr.

Friends And Related Function Documentation

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

Definition at line 79 of file CCalG4Hit.cc.

Member Data Documentation

double CCalG4Hit::elem
private

Definition at line 66 of file CCalG4Hit.hh.

Referenced by addEnergyDeposit(), getEM(), operator=(), and setEM().

double CCalG4Hit::hadr
private

Definition at line 67 of file CCalG4Hit.hh.

Referenced by addEnergyDeposit(), getHadr(), operator=(), and setHadr().


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