HMdcCal1
class description - source file - inheritance tree (.pdf)
public:
HMdcCal1()
HMdcCal1(const HMdcCal1&)
~HMdcCal1()
static TClass* Class()
void clear()
void getAddress(Int_t& s, Int_t& m, Int_t& l, Int_t& c)
Int_t getCell() const
Int_t getLayer() const
Int_t getModule() const
Int_t getNHits() const
Int_t getSector() const
Float_t getTime1() const
Float_t getTime2() const
virtual TClass* IsA() const
HMdcCal1& operator=(const HMdcCal1&)
void setAddress(const Int_t s, const Int_t m, const Int_t l, const Int_t c)
void setCell(const Int_t c)
void setLayer(const Int_t l)
void setModule(const Int_t m)
void setNHits(const Int_t n)
void setSector(const Int_t s)
void setTime1(const Float_t t)
void setTime2(const Float_t t)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
protected:
Int_t nHits number of hits in this cell
Float_t time1 drift time of first hit [ns]
Float_t time2 drift time of second hit (2 leading edge mode) or trailing edge of signal [ns]
Int_t sector sector number [0-5]
Int_t module module number [0-3]
Int_t layer layer number [0-5]
Int_t cell cell number in wire plane
HMdcCal1
Data object for a Mdc cell containing calibrated drift times
In measurement mode the TDC accepts two hits per channel. The TDC can hereby
trigger either on two leading edges (hit multiplicity nHits: -1 or -2) or
on a leading and the trailing edge of a single pulse (nHits: +1 or +2).
The addresses of the cell can be accessed via the inline functions
void setSector(const Int_t s)
void setModule(const Int_t m)
void setLayer(const Int_t l)
void setCell(const Int_t c)
void setAddress(const Int_t sector,const Int_t module,
const Int_t layer,const Int_t cell)
Int_t getSector(void) const
Int_t getModule(void) const
Int_t getLayer(void) const
Int_t getCell(void) const
void getAddress(Int_t& sector,Int_t& module,Int_t& layer,Int_t& cell)
the number of hits with the inline functions
void setNHits(const Int_t n)
Int_t getNHits(void) const
and the times are set with the inline functions
void setTime1(const Float_t time1)
void setTime2(const Float_t time2)
Float_t getTime1(void) const
Float_t getTime2(void) const
The inline function clear() sets the data data members to the following
values:
nHits=0;
sector=module=layer=cell=-1;
time1=time2=-999.F;
Inline Functions
void ~HMdcCal1()
HMdcCal1 HMdcCal1()
void clear()
void setSector(const Int_t s)
void setModule(const Int_t m)
void setLayer(const Int_t l)
void setCell(const Int_t c)
void setAddress(const Int_t s, const Int_t m, const Int_t l, const Int_t c)
void setNHits(const Int_t n)
void setTime1(const Float_t t)
void setTime2(const Float_t t)
Int_t getSector() const
Int_t getModule() const
Int_t getLayer() const
Int_t getCell() const
void getAddress(Int_t& s, Int_t& m, Int_t& l, Int_t& c)
Int_t getNHits() const
Float_t getTime1() const
Float_t getTime2() const
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
HMdcCal1 HMdcCal1(const HMdcCal1&)
HMdcCal1& operator=(const HMdcCal1&)
Last update: 18/06/99 by Ilse Koenig
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.