]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDsegmentID.h
Reconstruction of RAW data. Introduction of cluster finder (A. de Caro)
[u/mrichter/AliRoot.git] / TRD / AliTRDsegmentID.h
index 6a98df341295e5b96575a91b7483ab2b6b3dc519..67eee53ce8c275fb21f2f4cc9df5561efa8ef365 100644 (file)
@@ -6,24 +6,34 @@
 
 /* $Id: AliTRDsegmentID.h,v */
 
-////////////////////////////////////////////////
-//  Manager class generaol Alice segment 
-//  segment is for example one pad row in TPC //
-////////////////////////////////////////////////
+///////////////////////////////////////////////////////////////////////////////
+//                                                                           //
+//     Base class for a detector segment                                     // 
+//                                                                           //
+///////////////////////////////////////////////////////////////////////////////
 
-#include "TObject.h"
+#include <TObject.h>
+
+class AliTRDsegmentID : public TObject {
+
+ public:
 
-class AliTRDsegmentID: public TObject{
-public:
   AliTRDsegmentID();
-  AliTRDsegmentID(Int_t index){fSegmentID = index;}
-  Int_t GetID() {return fSegmentID;}
-  void  SetID(Int_t index){fSegmentID = index;} 
-  virtual Int_t  GetSize() {return sizeof(*this);} //function which return size of object 
-protected:
-  Int_t fSegmentID;   //identification number of Segment
-  ClassDef(AliTRDsegmentID,1) 
+  AliTRDsegmentID(Int_t index);
+  virtual ~AliTRDsegmentID();
+
+          Int_t  GetID() const      { return fSegmentID;    }
+  virtual Int_t  GetSize() const    { return sizeof(*this); }
+
+          void   SetID(Int_t index) { fSegmentID = index;} 
+
+ protected:
+
+  Int_t fSegmentID;           // Identification number of a segment
+
+  ClassDef(AliTRDsegmentID,1) // Detector segment base class
+
 };
    
-#endif //ALISEGMENTID_H
+#endif