]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/ESD/AliESDCaloCluster.h
Make getters which don't change the object state const
[u/mrichter/AliRoot.git] / STEER / ESD / AliESDCaloCluster.h
index ace4aa401b89ccceef49940ca25e64889a677e91..decee2692fe18ab58029690ea62503f8f1a25fb9 100644 (file)
@@ -122,7 +122,7 @@ class AliESDCaloCluster : public AliVCluster
   UInt_t GetNLabels() const       { if (fLabels) return  fLabels->GetSize(); 
     else return (0);}
   
-  void GetMomentum(TLorentzVector& p, Double_t * vertexPosition );
+  void GetMomentum(TLorentzVector& p, Double_t * vertexPosition ) const;
   
   void  SetNCells(Int_t n)  { fNCells = n;}
   Int_t GetNCells() const   { return fNCells;}