]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/AliTRDsegmentID.h
A cluster finder and hit reconstruction class for RICH (adapted from MUON).
[u/mrichter/AliRoot.git] / TRD / AliTRDsegmentID.h
1 #ifndef ALITRDSEGMENTID_H
2 #define ALITRDSEGMENTID_H
3
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice                               */
6
7 /* $Id: AliTRDsegmentID.h,v */
8
9 ////////////////////////////////////////////////
10 //  Manager class generaol Alice segment 
11 //  segment is for example one pad row in TPC //
12 ////////////////////////////////////////////////
13
14 #include "TObject.h"
15
16 class AliTRDsegmentID: public TObject{
17 public:
18   AliTRDsegmentID();
19   AliTRDsegmentID(Int_t index){fSegmentID = index;}
20   Int_t GetID() {return fSegmentID;}
21   void  SetID(Int_t index){fSegmentID = index;} 
22   virtual Int_t  GetSize() {return sizeof(*this);} //function which return size of object 
23 protected:
24   Int_t fSegmentID;   //identification number of Segment
25   ClassDef(AliTRDsegmentID,1) 
26 };
27    
28 #endif //ALISEGMENTID_H
29