AliPhysics  608b256 (608b256)
EMCalTriggerPtAnalysis::AliEMCalTriggerEventSelection Class Reference

Class for event selection in the analysis of triggered events. More...

#include <AliEMCalTriggerEventSelection.h>

Inheritance diagram for EMCalTriggerPtAnalysis::AliEMCalTriggerEventSelection:

Public Member Functions

 AliEMCalTriggerEventSelection ()
 
virtual ~AliEMCalTriggerEventSelection ()
 
void SetVertexCut (double zmin, double zmax)
 
void SetOldPileupSelection (bool doOld=true)
 
void SetOldVertexSelection (bool doOld=true)
 
virtual bool IsEventSelected (const AliEMCalTriggerEventData *const ev) const
 

Protected Member Functions

Bool_t FalseVertexSelectionPA2013 (const AliVEvent *const ev) const
 

Protected Attributes

AliCutValueRange< double > fVertexCut
 cut range for the vertex selection More...
 
Bool_t fOldPileupSelection
 apply old pileup selection More...
 
Bool_t fOldVertexSelection
 apply old vertex selection More...
 

Detailed Description

Class for event selection in the analysis of triggered events.

Basic event selection component: Selects events according to the pA cut and a vertex-z cut For more sophisticated event selection the method IsEventSelected has to be overwritten

Definition at line 28 of file AliEMCalTriggerEventSelection.h.

Constructor & Destructor Documentation

EMCalTriggerPtAnalysis::AliEMCalTriggerEventSelection::AliEMCalTriggerEventSelection ( )

Main Constructor

Definition at line 30 of file AliEMCalTriggerEventSelection.cxx.

virtual EMCalTriggerPtAnalysis::AliEMCalTriggerEventSelection::~AliEMCalTriggerEventSelection ( )
inlinevirtual

Destructor

Definition at line 34 of file AliEMCalTriggerEventSelection.h.

Member Function Documentation

bool EMCalTriggerPtAnalysis::AliEMCalTriggerEventSelection::FalseVertexSelectionPA2013 ( const AliVEvent *const  ev) const
protected

Do vertex selection in the old buggy way

Parameters
evEvent to check
Returns
True if the vertex is selected, false otherwise

Definition at line 63 of file AliEMCalTriggerEventSelection.cxx.

Referenced by IsEventSelected(), and SetOldVertexSelection().

bool EMCalTriggerPtAnalysis::AliEMCalTriggerEventSelection::IsEventSelected ( const AliEMCalTriggerEventData *const  ev) const
virtual

Apply basic event selection

Can be overwritten by inheriting classes

Parameters
evCombined event container
Returns
event selection decision (true if event is selected)

Definition at line 47 of file AliEMCalTriggerEventSelection.cxx.

Referenced by EMCalTriggerPtAnalysis::AliEMCalTriggerTaskGroup::Process(), and SetOldVertexSelection().

void EMCalTriggerPtAnalysis::AliEMCalTriggerEventSelection::SetOldPileupSelection ( bool  doOld = true)
inline

Definition at line 37 of file AliEMCalTriggerEventSelection.h.

void EMCalTriggerPtAnalysis::AliEMCalTriggerEventSelection::SetOldVertexSelection ( bool  doOld = true)
inline

Definition at line 38 of file AliEMCalTriggerEventSelection.h.

void EMCalTriggerPtAnalysis::AliEMCalTriggerEventSelection::SetVertexCut ( double  zmin,
double  zmax 
)
inline

Definition at line 36 of file AliEMCalTriggerEventSelection.h.

Member Data Documentation

Bool_t EMCalTriggerPtAnalysis::AliEMCalTriggerEventSelection::fOldPileupSelection
protected

apply old pileup selection

Definition at line 45 of file AliEMCalTriggerEventSelection.h.

Referenced by IsEventSelected(), and SetOldPileupSelection().

Bool_t EMCalTriggerPtAnalysis::AliEMCalTriggerEventSelection::fOldVertexSelection
protected

apply old vertex selection

Definition at line 46 of file AliEMCalTriggerEventSelection.h.

Referenced by IsEventSelected(), and SetOldVertexSelection().

AliCutValueRange<double> EMCalTriggerPtAnalysis::AliEMCalTriggerEventSelection::fVertexCut
protected

cut range for the vertex selection

Definition at line 44 of file AliEMCalTriggerEventSelection.h.

Referenced by IsEventSelected(), and SetVertexCut().


The documentation for this class was generated from the following files: