24 #include "AliAnalysisUtils.h"
25 #include "AliVEvent.h"
29 namespace EMCalTriggerPtAnalysis {
32 AliEMCalTriggerEventSelection::AliEMCalTriggerEventSelection():
43 bool AliEMCalTriggerEventSelection::IsEventSelected(
const AliEMCalTriggerEventData*
const ev)
const {
52 AliAnalysisUtils evutils;
53 AliVEvent *recEvent = ev->GetRecEvent();
54 if(!evutils.IsVertexSelected2013pA(recEvent))
return kFALSE;
55 if(evutils.IsPileUpEvent(recEvent))
return kFALSE;
56 if(!fVertexCut.IsInRange(recEvent->GetPrimaryVertex()->GetZ()))
return kFALSE;
ClassImp(EMCalTriggerPtAnalysis::AliEMCalTriggerEventSelection) namespace EMCalTriggerPtAnalysis