]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AOD/AliAODCaloCluster.cxx
Fix Coverity 24835
[u/mrichter/AliRoot.git] / STEER / AOD / AliAODCaloCluster.cxx
index aafbff04783cb57740b06477272717a86e1d27b5..9471da8fa27fe4e283d6672cc31d95d3f3f6efac 100644 (file)
@@ -219,7 +219,7 @@ Bool_t AliAODCaloCluster::HasTrackMatched(TObject *trk) const
 }
 
 //_______________________________________________________________________
-void AliAODCaloCluster::GetMomentum(TLorentzVector& p, Double_t *vertex ) {
+void AliAODCaloCluster::GetMomentum(TLorentzVector& p, Double_t *vertex ) const {
   // Returns TLorentzVector with momentum of the cluster. Only valid for clusters 
   // identified as photons or pi0 (overlapped gamma) produced on the vertex
   //Vertex can be recovered with esd pointer doing: