1 #ifndef ALITRDSEGMENTID_H
2 #define ALITRDSEGMENTID_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 /* $Id: AliTRDsegmentID.h,v */
9 ////////////////////////////////////////////////
10 // Base class for a detector segment //
11 ////////////////////////////////////////////////
15 class AliTRDsegmentID : public TObject {
20 AliTRDsegmentID(Int_t index);
21 virtual ~AliTRDsegmentID();
23 Int_t GetID() const { return fSegmentID; }
24 virtual Int_t GetSize() { return sizeof(*this); }
26 void SetID(Int_t index) { fSegmentID = index;}
30 Int_t fSegmentID; // Identification number of a segment
32 ClassDef(AliTRDsegmentID,1) // Detector segment base class