18 #include "AliAnalysisUtils.h" 19 #include "AliVEvent.h" 30 AliEMCalTriggerEventSelection::AliEMCalTriggerEventSelection():
32 fOldPileupSelection(kFALSE),
33 fOldVertexSelection(kFALSE),
48 AliAnalysisUtils evutils;
64 const AliVVertex *trkVtx = ev->GetPrimaryVertex();
65 if(!trkVtx || trkVtx->GetNContributors() < 1)
return kFALSE;
66 if (!
TString(trkVtx->GetTitle()).Contains(
"VertexerTracks"))
return kFALSE;
69 const AliVVertex* spdVtx = ev->GetPrimaryVertexSPD();
71 if (spdVtx->GetNContributors()< 1)
return kFALSE;
73 spdVtx->GetCovarianceMatrix(cov);
75 if (spdVtx->IsFromVertexerZ() && (zRes>0.25))
return kFALSE;
76 if(TMath::Abs(spdVtx->GetZ() - trkVtx->GetZ())>0.5)
return kFALSE;
78 if (TMath::Abs(zvtx) > 10)
return kFALSE;
AliVEvent * GetRecEvent() const
Bool_t fOldVertexSelection
apply old vertex selection
virtual bool IsEventSelected(const AliEMCalTriggerEventData *const ev) const
Bool_t FalseVertexSelectionPA2013(const AliVEvent *const ev) const
AliCutValueRange< double > fVertexCut
cut range for the vertex selection
Class for event selection in the analysis of triggered events.
Bool_t fOldPileupSelection
apply old pileup selection
Analysis of high- tracks in triggered events.
Simple event container within the high- track analysis.
Event Data used in exchange to the different analysis components.
Class for event selection (apart from trigger selection)
bool IsInRange(t value) const