X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=STEER%2FAliESDEvent.cxx;h=b4b8602839394cd7d61c52d59bdb3b306cda8e97;hb=5b039c66f989d9d8ec91dd5e9f535f46ed85c0df;hp=c13ae71121277c4c7b985722969bb8c97ad5323a;hpb=c017f53f830790c5459d55889d47feff0e4987c4;p=u%2Fmrichter%2FAliRoot.git diff --git a/STEER/AliESDEvent.cxx b/STEER/AliESDEvent.cxx index c13ae711212..b4b86028393 100644 --- a/STEER/AliESDEvent.cxx +++ b/STEER/AliESDEvent.cxx @@ -1190,7 +1190,7 @@ void AliESDEvent::CreateStdContent() GetStdContent(); } -TObject* AliESDEvent::FindListObject(const char *name){ +TObject* AliESDEvent::FindListObject(const char *name) const { // // Find object with name "name" in the list of branches // @@ -1620,7 +1620,7 @@ Bool_t AliESDEvent::IsHLTTriggerFired(const char* name) const return kTRUE; } -Bool_t AliESDEvent::IsPileupFromSPD(Int_t ncont, Double_t nSigmaDeltaZ, Double_t nSigmaXY, Int_t option) const { +Bool_t AliESDEvent::IsPileupFromSPD(Int_t ncont, Double_t distz, Double_t nSigmaDeltaZ, Double_t nSigmaXY, Int_t option) const { // // This function checks if there was a pile up // reconstructed with SPD @@ -1668,7 +1668,7 @@ Bool_t AliESDEvent::IsPileupFromSPD(Int_t ncont, Double_t nSigmaDeltaZ, Double_ errxDist=TMath::Sqrt(ex2*ex2+sigmax*sigmax); erryDist=TMath::Sqrt(ey2*ey2+sigmay*sigmay); - if(nc2>=ncont && distanceZ>nSigmaDeltaZ*errzDist && distanceX=ncont && distanceZ>nSigmaDeltaZ*errzDist && distanceXdistz) return kTRUE; }