Line data Source code
1 : #ifndef ALISEGMENTID_H
2 : #define ALISEGMENTID_H
3 : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 : * See cxx source for full Copyright notice */
5 :
6 : /* $Id$ */
7 :
8 : /// \class AliSegmentID
9 : ///
10 : /// Manager class generaol Alice segment
11 : /// segment is for example one pad row in TPC
12 :
13 : #include "TObject.h"
14 :
15 45830 : class AliSegmentID: public TObject{
16 : public:
17 45850 : AliSegmentID() : fSegmentID(0) {}
18 0 : AliSegmentID(Int_t index) : fSegmentID(index) {}
19 228834 : Int_t GetID() {return fSegmentID;}
20 137250 : void SetID(Int_t index){fSegmentID = index;}
21 : protected:
22 : Int_t fSegmentID; ///< identification number of Segment
23 : /// \cond CLASSIMP
24 46 : ClassDef(AliSegmentID,1);
25 : /// \endcond
26 : };
27 :
28 : #endif //ALISEGMENTID_H
29 :
|