AliRoot Core  a565103 (a565103)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliSegmentID.h
Go to the documentation of this file.
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 
12 
13 #include "TObject.h"
14 
15 class AliSegmentID: public TObject{
16 public:
18  AliSegmentID(Int_t index) : fSegmentID(index) {}
19  Int_t GetID() {return fSegmentID;}
20  void SetID(Int_t index){fSegmentID = index;}
21 protected:
22  Int_t fSegmentID;
23  ClassDef(AliSegmentID,1);
26 };
27 
28 #endif //ALISEGMENTID_H
29 
AliSegmentID object.
Definition: AliSegmentID.h:15
void SetID(Int_t index)
Definition: AliSegmentID.h:20
AliSegmentID(Int_t index)
Definition: AliSegmentID.h:18
Int_t GetID()
Definition: AliSegmentID.h:19
Int_t fSegmentID
Definition: AliSegmentID.h:22