HYDRA_development_version
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
HRichCalSim Class Reference

#include <hrichcalsim.h>

Inheritance diagram for HRichCalSim:
Collaboration diagram for HRichCalSim:

Public Member Functions

 HRichCalSim ()
 
 HRichCalSim (Float_t ch)
 
 HRichCalSim (Int_t s, Int_t r, Int_t c)
 
virtual ~HRichCalSim ()
 
void setEnergy (Float_t ene)
 
void addEnergy (Float_t e)
 
void addHit ()
 
Bool_t checkTrackId (Int_t trackId)
 
void addTrackId (Int_t trackId)
 
Int_t getNHits ()
 
Int_t getNofTrackIds ()
 
Int_t getTrackId (Int_t index)
 
Float_t getEnergy (void) const
 
Bool_t isNewRich ()
 
- Public Member Functions inherited from HRichCal
 HRichCal ()
 
 HRichCal (Float_t q)
 
 HRichCal (Int_t s, Int_t r, Int_t c)
 
virtual ~HRichCal ()
 
Float_t getCharge (void) const
 
Float_t getTime (void) const
 
Float_t getToT (void) const
 
Int_t getSector (void) const
 
Int_t getRow (void) const
 
Int_t getCol (void) const
 
Int_t getEventNr (void) const
 
Int_t getMult (void) const
 
Int_t getAddress (void) const
 
Bool_t getIsCleanedSingle (void) const
 
Bool_t getIsCleanedHigh (void) const
 
Bool_t getIsCleanedSector (void) const
 
Bool_t IsSortable (void) const
 
void setCharge (Float_t q)
 
void setTime (Float_t t)
 
void setToT (Float_t t)
 
void setSector (Int_t s)
 
void setRow (Int_t r)
 
void setCol (Int_t c)
 
void setIsCleanedSingle (Bool_t b)
 
void setIsCleanedHigh (Bool_t b)
 
void setIsCleanedSector (Bool_t b)
 
void setEventNr (Int_t e)
 
void setMult (Int_t n)
 
void increaseMult ()
 
Float_t addCharge (Float_t q)
 
Float_t addToT (Float_t tot)
 

Private Member Functions

void initTrackIds ()
 tmp counter for HRichDigitizer More...
 

Private Attributes

Int_t fTrackIds [NMAXTRACKS]
 
Int_t fNofTracks
 
Float_t fEnergy
 
Int_t fCt
 

Detailed Description

Definition at line 25 of file hrichcalsim.h.

Constructor & Destructor Documentation

HRichCalSim::HRichCalSim ( )
HRichCalSim::HRichCalSim ( Float_t  ch)

Definition at line 44 of file hrichcalsim.cc.

References initTrackIds().

HRichCalSim::HRichCalSim ( Int_t  s,
Int_t  r,
Int_t  c 
)

Definition at line 53 of file hrichcalsim.cc.

References initTrackIds().

virtual HRichCalSim::~HRichCalSim ( )
inlinevirtual

Definition at line 39 of file hrichcalsim.h.

Member Function Documentation

void HRichCalSim::addEnergy ( Float_t  e)
inline

Definition at line 42 of file hrichcalsim.h.

Referenced by HRichDigitizer::updateCharge().

void HRichCalSim::addHit ( )
inline

Definition at line 43 of file hrichcalsim.h.

Referenced by HRichDigitizer::updateCharge().

void HRichCalSim::addTrackId ( Int_t  trackId)
Bool_t HRichCalSim::checkTrackId ( Int_t  trackId)
Float_t HRichCalSim::getEnergy ( void  ) const
inline

Definition at line 50 of file hrichcalsim.h.

References fEnergy.

Int_t HRichCalSim::getNHits ( )
inline

Definition at line 47 of file hrichcalsim.h.

References fCt.

Int_t HRichCalSim::getNofTrackIds ( )
inline
void HRichCalSim::initTrackIds ( )
private

tmp counter for HRichDigitizer

Definition at line 62 of file hrichcalsim.cc.

References fTrackIds, and NMAXTRACKS.

Referenced by HRichCalSim().

Bool_t HRichCalSim::isNewRich ( )
inline

Definition at line 52 of file hrichcalsim.h.

void HRichCalSim::setEnergy ( Float_t  ene)
inline

Definition at line 41 of file hrichcalsim.h.

Referenced by HRichDigitizer::execute().

Member Data Documentation

Int_t HRichCalSim::fCt
private

Definition at line 31 of file hrichcalsim.h.

Referenced by getNHits().

Float_t HRichCalSim::fEnergy
private

Definition at line 30 of file hrichcalsim.h.

Referenced by getEnergy().

Int_t HRichCalSim::fNofTracks
private

Definition at line 29 of file hrichcalsim.h.

Referenced by addTrackId(), checkTrackId(), getNofTrackIds(), and getTrackId().

Int_t HRichCalSim::fTrackIds[NMAXTRACKS]
private

Definition at line 28 of file hrichcalsim.h.

Referenced by addTrackId(), checkTrackId(), getTrackId(), and initTrackIds().


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