]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliESDEvent.cxx
Added the method AddDateToComment, adding the current date to the comment datamember.
[u/mrichter/AliRoot.git] / STEER / AliESDEvent.cxx
index c13ae71121277c4c7b985722969bb8c97ad5323a..b4b8602839394cd7d61c52d59bdb3b306cda8e97 100644 (file)
@@ -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<nSigmaXY*errxDist && distanceY<nSigmaXY*erryDist)
+      if(nc2>=ncont && distanceZ>nSigmaDeltaZ*errzDist && distanceX<nSigmaXY*errxDist && distanceY<nSigmaXY*erryDist && distanceZ>distz)
        
        return kTRUE;
   }