Only one initializer for a default argument
[u/mrichter/AliRoot.git] / TRD / AliTRDsegmentID.h
CommitLineData
f7336fa3 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
16class AliTRDsegmentID: public TObject{
17public:
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
23protected:
24 Int_t fSegmentID; //identification number of Segment
25 ClassDef(AliTRDsegmentID,1)
26};
27
28#endif //ALISEGMENTID_H
29