fSector(0),
fStrip(0),
fHash(-1)
-{}
+{
+ // CTOR
+}
//____________________________________________________________________
AliFMDIndex::AliFMDIndex(const AliFMDIndex& o)
Int_t
AliFMDIndex::Hash() const
{
+ // calculate hash value
if (fHash < 0) {
size_t ringi = (fRing == 'I' || fRing == 'i' ? 0 : 1);
fHash = (fStrip +
const char*
AliFMDIndex::Name() const
{
+ // GEt the name of the index
if (fName.IsNull())
fName = Form("FMD%d%c[%2d,%3d]", fDetector, fRing, fSector, fStrip);
return fName.Data();
Int_t
AliFMDObjIndex::Compare(const TObject* o) const
{
+ // Compare to another index
const AliFMDObjIndex* a = dynamic_cast<const AliFMDObjIndex*>(o);
if (!a) {
Fatal("Compare",