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 */
9 ////////////////////////////////////////////////////////////////////////////
11 // Base class for a detector segment //
13 ////////////////////////////////////////////////////////////////////////////
17 class AliTRDsegmentID : public TObject {
22 AliTRDsegmentID(Int_t index);
23 virtual ~AliTRDsegmentID();
25 Int_t GetID() const { return fSegmentID; }
26 virtual Int_t GetSize() const { return sizeof(*this); }
28 void SetID(Int_t index) { fSegmentID = index; }
32 Int_t fSegmentID; // Identification number of a segment
34 ClassDef(AliTRDsegmentID,1) // Detector segment base class