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

#include <hemcraw.h>

Inheritance diagram for HEmcRaw:
Collaboration diagram for HEmcRaw:

Public Member Functions

 HEmcRaw ()
 
virtual ~HEmcRaw ()
 
Char_t getSector () const
 
UChar_t getCell () const
 
Char_t getRow (void) const
 
Char_t getColumn (void) const
 
UInt_t getFastMultiplicity () const
 
UInt_t getSlowMultiplicity () const
 
Float_t getFastTimeLeading (UInt_t n) const
 
Float_t getFastTimeTrailing (UInt_t n) const
 
Float_t getSlowTimeLeading (UInt_t n) const
 
Float_t getSlowTimeTrailing (UInt_t n) const
 
Float_t getFastWidth (UInt_t n) const
 
Float_t getSlowWidth (UInt_t n) const
 
void getFastTimeAndWidth (UInt_t n, Float_t &s, Float_t &c) const
 
void getSlowTimeAndWidth (UInt_t n, Float_t &s, Float_t &c) const
 
void getAddress (Int_t &s, Int_t &c, Char_t &ro, Char_t &co) const
 
void setSector (Char_t s)
 
void setCell (UChar_t c)
 
void setRow (Char_t r)
 
void setColumn (Char_t c)
 
void setAddress (Int_t s, Int_t c, Char_t ro, Char_t co)
 
void clear ()
 
void clearHits ()
 
void addFastHit (HEmcHit_t theHit)
 
void addFastHit (Float_t leading, Float_t trailing)
 
void addSlowHit (HEmcHit_t theHit)
 
void addSlowHit (Float_t leading, Float_t trailing)
 

Private Attributes

Char_t fSector
 
UChar_t fCell
 
Char_t fRow
 
Char_t fColumn
 
HEmcHit_t fFastHits [NTIMESEMCRAW]
 
HEmcHit_t fSlowHits [NTIMESEMCRAW]
 
UInt_t fnFast
 
UInt_t fnSlow
 

Detailed Description

Definition at line 51 of file hemcraw.h.

Constructor & Destructor Documentation

HEmcRaw::HEmcRaw ( )
inline

Definition at line 64 of file hemcraw.h.

References clearHits().

virtual HEmcRaw::~HEmcRaw ( )
inlinevirtual

Definition at line 65 of file hemcraw.h.

Member Function Documentation

void HEmcRaw::addFastHit ( HEmcHit_t  theHit)
inline

Definition at line 89 of file hemcraw.h.

References fnFast, NTIMESEMCRAW, and HEmcHit_t::setTimes().

Referenced by HEmcTrb3Unpacker::addRawHit().

void HEmcRaw::addFastHit ( Float_t  leading,
Float_t  trailing 
)
inline

Definition at line 90 of file hemcraw.h.

References fnFast, NTIMESEMCRAW, and HEmcHit_t::setTimes().

void HEmcRaw::addSlowHit ( HEmcHit_t  theHit)
inline

Definition at line 91 of file hemcraw.h.

References fnSlow, NTIMESEMCRAW, and HEmcHit_t::setTimes().

Referenced by HEmcTrb3Unpacker::addRawHit().

void HEmcRaw::addSlowHit ( Float_t  leading,
Float_t  trailing 
)
inline

Definition at line 92 of file hemcraw.h.

References fnSlow, NTIMESEMCRAW, and HEmcHit_t::setTimes().

void HEmcRaw::clear ( void  )
inline

Definition at line 98 of file hemcraw.h.

References HEmcHit_t::clear(), fCell, fColumn, fFastHits, fnFast, fnSlow, fRow, fSector, fSlowHits, and NTIMESEMCRAW.

void HEmcRaw::clearHits ( void  )
inline

Definition at line 111 of file hemcraw.h.

References HEmcHit_t::clear(), fFastHits, fnFast, fnSlow, fSlowHits, and NTIMESEMCRAW.

Referenced by HEmcRaw().

void HEmcRaw::getAddress ( Int_t &  s,
Int_t &  c,
Char_t &  ro,
Char_t &  co 
) const
inline

Definition at line 120 of file hemcraw.h.

References fCell, fColumn, fRow, and fSector.

Referenced by HEmcCalibrater::execute(), and HQAMaker::fillHistEmc().

UChar_t HEmcRaw::getCell ( void  ) const
inline

Definition at line 68 of file hemcraw.h.

References fCell.

Char_t HEmcRaw::getColumn ( void  ) const
inline

Definition at line 70 of file hemcraw.h.

References fColumn.

UInt_t HEmcRaw::getFastMultiplicity ( ) const
inline

Definition at line 71 of file hemcraw.h.

References fnFast.

Referenced by HEmcCalibrater::execute(), and HQAMaker::fillHistEmc().

void HEmcRaw::getFastTimeAndWidth ( UInt_t  n,
Float_t &  s,
Float_t &  c 
) const

Definition at line 59 of file hemcraw.cc.

References getFastTimeLeading(), and getFastWidth().

Referenced by HQAMaker::fillHistEmc().

Float_t HEmcRaw::getFastTimeLeading ( UInt_t  n) const
Float_t HEmcRaw::getFastTimeTrailing ( UInt_t  n) const

Definition at line 30 of file hemcraw.cc.

References fFastHits, HEmcHit_t::getTrailingTime(), n, and NTIMESEMCRAW.

Referenced by HEmcCalibrater::execute().

Float_t HEmcRaw::getFastWidth ( UInt_t  n) const

Definition at line 44 of file hemcraw.cc.

References fFastHits, HEmcHit_t::getToT(), n, and NTIMESEMCRAW.

Referenced by getFastTimeAndWidth().

Char_t HEmcRaw::getRow ( void  ) const
inline

Definition at line 69 of file hemcraw.h.

References fRow.

Char_t HEmcRaw::getSector ( void  ) const
inline

Definition at line 67 of file hemcraw.h.

References fSector.

UInt_t HEmcRaw::getSlowMultiplicity ( ) const
inline

Definition at line 72 of file hemcraw.h.

References fnSlow.

Referenced by HEmcCalibrater::execute().

void HEmcRaw::getSlowTimeAndWidth ( UInt_t  n,
Float_t &  s,
Float_t &  c 
) const

Definition at line 65 of file hemcraw.cc.

References getSlowTimeLeading(), and getSlowWidth().

Float_t HEmcRaw::getSlowTimeLeading ( UInt_t  n) const

Definition at line 23 of file hemcraw.cc.

References fSlowHits, HEmcHit_t::getLeadingTime(), n, and NTIMESEMCRAW.

Referenced by HEmcCalibrater::execute(), and getSlowTimeAndWidth().

Float_t HEmcRaw::getSlowTimeTrailing ( UInt_t  n) const

Definition at line 37 of file hemcraw.cc.

References fSlowHits, HEmcHit_t::getTrailingTime(), n, and NTIMESEMCRAW.

Referenced by HEmcCalibrater::execute().

Float_t HEmcRaw::getSlowWidth ( UInt_t  n) const

Definition at line 52 of file hemcraw.cc.

References fSlowHits, HEmcHit_t::getToT(), n, and NTIMESEMCRAW.

Referenced by getSlowTimeAndWidth().

void HEmcRaw::setAddress ( Int_t  s,
Int_t  c,
Char_t  ro,
Char_t  co 
)
inline

Definition at line 127 of file hemcraw.h.

References fCell, fColumn, fRow, and fSector.

Referenced by HEmcTrb3Unpacker::addRawHit().

void HEmcRaw::setCell ( UChar_t  c)
inline

Definition at line 83 of file hemcraw.h.

void HEmcRaw::setColumn ( Char_t  c)
inline

Definition at line 85 of file hemcraw.h.

void HEmcRaw::setRow ( Char_t  r)
inline

Definition at line 84 of file hemcraw.h.

void HEmcRaw::setSector ( Char_t  s)
inline

Definition at line 82 of file hemcraw.h.

Member Data Documentation

UChar_t HEmcRaw::fCell
private

Definition at line 54 of file hemcraw.h.

Referenced by clear(), getAddress(), getCell(), and setAddress().

Char_t HEmcRaw::fColumn
private

Definition at line 56 of file hemcraw.h.

Referenced by clear(), getAddress(), getColumn(), and setAddress().

HEmcHit_t HEmcRaw::fFastHits[NTIMESEMCRAW]
private

Definition at line 58 of file hemcraw.h.

Referenced by clear(), clearHits(), getFastTimeTrailing(), and getFastWidth().

UInt_t HEmcRaw::fnFast
private

Definition at line 60 of file hemcraw.h.

Referenced by addFastHit(), clear(), clearHits(), and getFastMultiplicity().

UInt_t HEmcRaw::fnSlow
private

Definition at line 61 of file hemcraw.h.

Referenced by addSlowHit(), clear(), clearHits(), and getSlowMultiplicity().

Char_t HEmcRaw::fRow
private

Definition at line 55 of file hemcraw.h.

Referenced by clear(), getAddress(), getRow(), and setAddress().

Char_t HEmcRaw::fSector
private

Definition at line 53 of file hemcraw.h.

Referenced by clear(), getAddress(), getSector(), and setAddress().

HEmcHit_t HEmcRaw::fSlowHits[NTIMESEMCRAW]
private

Definition at line 59 of file hemcraw.h.

Referenced by clear(), clearHits(), getSlowTimeLeading(), getSlowTimeTrailing(), and getSlowWidth().


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