ROOT logo
AliRoot » FMD » AliFMDIndex

class AliFMDIndex

Function Members (Methods)

public:
AliFMDIndex()
AliFMDIndex(const AliFMDIndex& o)
AliFMDIndex(UShort_t detector, Char_t ring = '\0', UShort_t sector = 0, UShort_t strip = 0)
virtual~AliFMDIndex()
static TClass*Class()
UShort_tDetector() const
virtual TClass*IsA() const
const char*Name() const
booloperator<(const AliFMDIndex& rhs) const
AliFMDIndex&operator=(const AliFMDIndex& o)
booloperator==(const AliFMDIndex& o) const
virtual voidPrint(Option_t* opt = "") const
Char_tRing() const
UShort_tSector() const
voidSetDetector(UShort_t x)
voidSetRing(Char_t x)
voidSetSector(UShort_t x)
voidSetStrip(UShort_t x)
virtual voidShowMembers(TMemberInspector&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
UShort_tStrip() const
protected:
Int_tHash() const

Data Members

protected:
UShort_tfDetector(Sub) Detector # (1,2, or 3)
Int_tfHash! Cached hash value
TStringfName! Cached name
Char_tfRingRing ID ('I' or 'O')
UShort_tfSectorSector # (phi division)
UShort_tfStripStrip # (radial division)

Class Charts

Inheritance Chart:
AliFMDIndex
AliFMDObjIndex

Function documentation

AliFMDIndex()
 CTOR
AliFMDIndex(const AliFMDIndex& o)
 Copy constructor
AliFMDIndex(UShort_t detector, Char_t ring = '\0', UShort_t sector = 0, UShort_t strip = 0)
 Creates a base data digit object

 Parameters

    detector  Detector # (1, 2, or 3)
    ring	  Ring ID ('I' or 'O')
    sector	  Sector # (For inner/outer rings: 0-19/0-39)
    strip	  Strip # (For inner/outer rings: 0-511/0-255)
operator=(const AliFMDIndex& o)
 Assignment operator
Hash() const
 calculate hash value
Print(Option_t* opt = "") const
 Print digit to standard out
Name() const
 GEt the name of the index
operator==(const AliFMDIndex& o) const
operator<(const AliFMDIndex& rhs) const
virtual ~AliFMDIndex()
 DTOR 
{}
UShort_t Detector()
 @return Detector # 
{ return fDetector; }
Char_t Ring()
 @return Ring ID 
{ return fRing; }
UShort_t Sector()
 @return sector # 
{ return fSector; }
UShort_t Strip()
 @return strip # 
{ return fStrip; }
void SetDetector(UShort_t x)
 @param x Detector # 
{ fHash = -1; fDetector = x; }
void SetRing(Char_t x)
 @param x Ring ID 
{ fHash = -1; fRing = x; }
void SetSector(UShort_t x)
 @param x sector # 
{ fHash = -1; fSector = x; }
void SetStrip(UShort_t x)
 @param x strip # 
{ fHash = -1; fStrip = x; }