]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - BCM/AliBCMHit.h
o rename Toy -> AliToy
[u/mrichter/AliRoot.git] / BCM / AliBCMHit.h
index 81013acf786b5c70205402df2f23afa509e87156..39141baf69d150ea8f4d8d3f46b8066c99f16df2 100644 (file)
@@ -14,9 +14,9 @@ class AliBCMHit : public AliHit
  public:
     AliBCMHit();
     AliBCMHit(Int_t shunt, Int_t track, Double_t x[4], Int_t isens, Float_t edep);
-    Int_t    Id()   { return fId;   }
-    Float_t  Edep() { return fEdep; }
-    Float_t  Time() { return fTime; }
+    Int_t    Id()   const { return fId;   }
+    Float_t  Edep() const { return fEdep; }
+    Float_t  Time() const { return fTime; }
  private:
     Int_t fId;      // ID of the sensor (11, 12, 13, 14) for z > 0 and (21, 22, 23, 24) for z < 0
     Float_t fEdep;  // Deposited energy [GeV]