Fix due to change of method name in CORRFW
authordainese <dainese@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 4 Nov 2009 21:43:27 +0000 (21:43 +0000)
committerdainese <dainese@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 4 Nov 2009 21:43:27 +0000 (21:43 +0000)
PWG3/hfe/AliHFEcuts.cxx

index b863950..0144ce7 100644 (file)
@@ -167,13 +167,13 @@ void AliHFEcuts::SetEventInfo(TObject *ev){
     TObjArray *genCuts = dynamic_cast<TObjArray *>(fCutList->FindObject("fPartGenCuts"));
     if(genCuts){
       AliCFParticleGenCuts *myGenCut = dynamic_cast<AliCFParticleGenCuts *>(genCuts->FindObject("fCutsGenMC"));
-      if(myGenCut) myGenCut->SetEvtInfo(ev);
+      if(myGenCut) myGenCut->SetMCEventInfo(ev);
     }
   } else if(!TString(ev->IsA()->GetName()).CompareTo("AliESDEvent")){
     TObjArray *primCuts = dynamic_cast<TObjArray *>(fCutList->FindObject("fPartPrimCuts"));
     if(primCuts){
       AliCFTrackIsPrimaryCuts *myPrimCut = dynamic_cast<AliCFTrackIsPrimaryCuts *>(primCuts->FindObject("fCutsPrimaryCuts"));
-      if(myPrimCut) myPrimCut->SetEvtInfo(ev);
+      if(myPrimCut) myPrimCut->SetMCEventInfo(ev);
     }
   }
 }