]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDsegmentID.h
New base class for all PHOS HLT processing component.
[u/mrichter/AliRoot.git] / TRD / AliTRDsegmentID.h
index 65e28a8621775176c39b5ff17dd0b0aba4249ff1..60a33f08f080a117493bcd473ae32cbe46d2972a 100644 (file)
@@ -4,13 +4,15 @@
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
-/* $Id: AliTRDsegmentID.h,v */
+/* $Id$*/
 
-////////////////////////////////////////////////
-//     Base class for a detector segment      // 
-////////////////////////////////////////////////
+////////////////////////////////////////////////////////////////////////////
+//                                                                        //
+//  Base class for a detector segment                                     // 
+//                                                                        //
+////////////////////////////////////////////////////////////////////////////
 
-#include "TObject.h"
+#include <TObject.h>
 
 class AliTRDsegmentID : public TObject {
 
@@ -20,16 +22,16 @@ class AliTRDsegmentID : public TObject {
   AliTRDsegmentID(Int_t index);
   virtual ~AliTRDsegmentID();
 
-          Int_t  GetID()            { return fSegmentID;    }
-  virtual Int_t  GetSize()          { return sizeof(*this); }
+          Int_t    GetID() const      { return fSegmentID;    }
+  virtual Int_t    GetSize() const    { return sizeof(*this); }
 
-          void   SetID(Int_t index) { fSegmentID = index;
+          void     SetID(Int_t index) { fSegmentID = index;   
 
  protected:
 
-  Int_t fSegmentID;           // Identification number of a segment
+          Int_t    fSegmentID;           //  Identification number of a segment
 
-  ClassDef(AliTRDsegmentID,1) // Detector segment base class
+  ClassDef(AliTRDsegmentID,1)            //  Detector segment base class
 
 };