}
// Load the event
- fEvents++;
- AliDebug(2,Form("Event %d",fEvents));
- if (fEvents%10000 ==0) AliDebug(2,Form("Event %d",fEvents));
AliAODEvent* aodEvent = dynamic_cast<AliAODEvent*>(fInputEvent);
TClonesArray *arrayVerticesHF=0;
return;
}else AliDebug(2, Form("Found %d vertices",arrayVerticesHF->GetEntriesFast()));
+ // fix for temporary bug in ESDfilter
+ // the AODs with null vertex pointer didn't pass the PhysSel
+ if(!aodEvent->GetPrimaryVertex()) return;
+
+ fEvents++;
+ AliDebug(2,Form("Event %d",fEvents));
+ if (fEvents%10000 ==0) AliDebug(2,Form("Event %d",fEvents));
+
+
// Simulate a jet triggered sample
TClonesArray *arrayofJets = (TClonesArray*)aodEvent->GetJets();
if(aodEvent->GetNJets()<=0) return;
// a query. It always runs on the client, it can be used to present
// the results graphically or save the results to file.
- Info("Terminate","");
AliAnalysisTaskSE::Terminate();
AliInfo(Form("Found %i of that MC D*->D0pi(D0->kpi) are in acceptance, in %d events",fCountDStar,fEvents));