]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDsegmentID.h
Remove the last print statements
[u/mrichter/AliRoot.git] / TRD / AliTRDsegmentID.h
index 6a98df341295e5b96575a91b7483ab2b6b3dc519..60a33f08f080a117493bcd473ae32cbe46d2972a 100644 (file)
@@ -4,26 +4,36 @@
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
-/* $Id: AliTRDsegmentID.h,v */
+/* $Id$*/
 
-////////////////////////////////////////////////
-//  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