HMdcCal2
class description - source file - inheritance tree (.pdf)
public:
HMdcCal2()
HMdcCal2(const HMdcCal2&)
~HMdcCal2()
static TClass* Class()
void clear()
void getAddress(Int_t& s, Int_t& m, Int_t& l, Int_t& c)
Int_t getCell() const
Float_t getDist1()
Float_t getDist2()
Float_t getErrDist1()
Float_t getErrDist2()
Int_t getLayer() const
Int_t getModule() const
Int_t getNHits() const
Int_t getSector() const
virtual TClass* IsA() const
HMdcCal2& operator=(const HMdcCal2&)
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 setDist1(const Float_t d, const Float_t e)
void setDist2(const Float_t d, const Float_t e)
void setLayer(const Int_t l)
void setModule(const Int_t m)
void setNHits(const Int_t n)
void setSector(const Int_t s)
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 dist1 distance to the wire of first hit [mm]
Float_t dist2 distance to the wire of second hit [mm]
Float_t errDist1 error of distance for first hit [mm]
Float_t errDist2 error of distance for second hit [mm]
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
HMdcCal2
Data object for a Mdc cell containing calibrated distances to the wire
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 distances and its errors with the inline functions
void setDist1(const Float_t dist1,const Float_t errDist1)
void setDist2(const Float_t dist2,const Float_t errDist2)
Float_t getDist1(void)
Float_t getDist2(void)
Float_t getErrDist1(void)
Float_t getErrDist2(void)
The inline function clear() sets the data data members to the following
values:
nHits=0;
sector=module=layer=cell=-1;
dist1=dist2=errDist1=errDist2=-99.F;
Inline Functions
void ~HMdcCal2()
HMdcCal2 HMdcCal2()
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 setDist1(const Float_t d, const Float_t e)
void setDist2(const Float_t d, const Float_t e)
void setNHits(const Int_t n)
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 getDist1()
Float_t getDist2()
Float_t getErrDist1()
Float_t getErrDist2()
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
HMdcCal2 HMdcCal2(const HMdcCal2&)
HMdcCal2& operator=(const HMdcCal2&)
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.