]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/STEERBase/AliVCluster.h
Make getters which don't change the object state const
[u/mrichter/AliRoot.git] / STEER / STEERBase / AliVCluster.h
index b61dd88cca9b7ef3a47bad2427e04e972b10571b..9c877ea80b8fd3f422e866d7b92683c832e6965b 100644 (file)
@@ -125,7 +125,7 @@ class AliVCluster : public TObject
   virtual Double_t    GetCoreEnergy() const           {return 0 ; }
   virtual void        SetCoreEnergy(Double_t)         { ; }
 
-  virtual void GetMomentum(TLorentzVector &/*tl*/, Double_t * /*v*/) { ; }
+  virtual void GetMomentum(TLorentzVector &/*tl*/, Double_t * /*v*/) const { ; }
   
   ClassDef(AliVCluster,0)  //VCluster 
     };