X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=ANALYSIS%2FAliD0toKpiAnalysis.cxx;h=e9294d2dd6c455b52076f888f1ae50f32a04c159;hp=5f66cee93020eb4f7ed60ce2dd3c09b46a11b182;hb=aef31c8d1dd03c07019169d65ccedcf7c0e3a7be;hpb=ef0182f731423fe313a9752da25c80d2f4d2667b diff --git a/ANALYSIS/AliD0toKpiAnalysis.cxx b/ANALYSIS/AliD0toKpiAnalysis.cxx index 5f66cee9302..e9294d2dd6c 100644 --- a/ANALYSIS/AliD0toKpiAnalysis.cxx +++ b/ANALYSIS/AliD0toKpiAnalysis.cxx @@ -193,7 +193,7 @@ void AliD0toKpiAnalysis::FindCandidates(Int_t evFirst,Int_t evLast, for(Int_t iEvent = evFirst; iEvent < tree->GetEntries(); iEvent++) { if(iEvent > evLast) break; tree->GetEvent(iEvent); - Int_t ev = (Int_t)event->GetEventNumber(); + Int_t ev = (Int_t)event->GetEventNumberInFile(); // This is most likely NOT the event number you'd like to use. It has nothing to do with the 'real' event number. printf("--- Finding D0 -> Kpi in event %d\n",ev); // count the total number of events nTotEv++; @@ -521,7 +521,7 @@ void AliD0toKpiAnalysis::MakeTracksRefFile(AliRun *gAlice, for(Int_t iEvent=evFirst; iEventGetEntries(); iEvent++) { if(iEvent>evLast) break; tree->GetEvent(iEvent); - Int_t ev = (Int_t)event->GetEventNumber(); + Int_t ev = (Int_t)event->GetEventNumberInFile(); // This is most likely NOT the event number you'd like to use. It has nothing to do with the 'real' event number. gAlice->GetEvent(ev);