AliPhysics  0e0bd91 (0e0bd91)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
EMCalTriggerPtAnalysis::AliEMCalTriggerAnaTriggerDecisionConfig Class Reference

#include <AliEMCalTriggerAnaTriggerDecision.h>

Inheritance diagram for EMCalTriggerPtAnalysis::AliEMCalTriggerAnaTriggerDecisionConfig:

Public Member Functions

 AliEMCalTriggerAnaTriggerDecisionConfig ()
 
virtual ~AliEMCalTriggerAnaTriggerDecisionConfig ()
 
void SetSwapThresholds (Bool_t doSwap=kTRUE)
 
void SetUseOfflinePatches (Bool_t doUse=kTRUE)
 
void SetEnergyThreshold (ETATriggerType trigger, double threshold)
 
void SetPatchEnergyType (EPatchEnergyType_t energyType)
 
Bool_t IsSwapThresholds () const
 
Bool_t IsUsingOfflinePatches () const
 
Double_t GetEnergyThreshold (ETATriggerType trigger) const
 
Bool_t HasEnergyThreshold (ETATriggerType trigger) const
 
EPatchEnergyType_t GetPatchEnergyType () const
 

Private Attributes

Bool_t fSwapThresholds
 Flag for swapping high and low energy threshold. More...
 
Bool_t fUseOfflinePatches
 Switch for using offline patches for event selection. More...
 
Double_t fEnergyThresholds [4]
 Energy thresholds applied in the analysis. More...
 
EPatchEnergyType_t fEnergyType
 Energy type from patch used for the patch energy selection. More...
 

Detailed Description

Definition at line 74 of file AliEMCalTriggerAnaTriggerDecision.h.

Constructor & Destructor Documentation

EMCalTriggerPtAnalysis::AliEMCalTriggerAnaTriggerDecisionConfig::AliEMCalTriggerAnaTriggerDecisionConfig ( )

Default constructor

Definition at line 202 of file AliEMCalTriggerAnaTriggerDecision.cxx.

virtual EMCalTriggerPtAnalysis::AliEMCalTriggerAnaTriggerDecisionConfig::~AliEMCalTriggerAnaTriggerDecisionConfig ( )
inlinevirtual

Destructor, nothing to do.

Definition at line 81 of file AliEMCalTriggerAnaTriggerDecision.h.

Member Function Documentation

Double_t EMCalTriggerPtAnalysis::AliEMCalTriggerAnaTriggerDecisionConfig::GetEnergyThreshold ( ETATriggerType  trigger) const
inline

Get the energy threshold for a trigger class for further patch selection

Parameters
triggerTrigger class
Returns
The energy threshold

Definition at line 127 of file AliEMCalTriggerAnaTriggerDecision.h.

Referenced by EMCalTriggerPtAnalysis::AliEMCalTriggerAnaTriggerDecision::SelectTriggerPatch().

EPatchEnergyType_t EMCalTriggerPtAnalysis::AliEMCalTriggerAnaTriggerDecisionConfig::GetPatchEnergyType ( ) const
inline

Get the type of energy used in the trigger selection.

Returns
Type of the energy used

Definition at line 144 of file AliEMCalTriggerAnaTriggerDecision.h.

Referenced by EMCalTriggerPtAnalysis::AliEMCalTriggerAnaTriggerDecision::SelectTriggerPatch().

Bool_t EMCalTriggerPtAnalysis::AliEMCalTriggerAnaTriggerDecisionConfig::HasEnergyThreshold ( ETATriggerType  trigger) const
inline

Check if an energy threshold is defined for a given trigger class type (> 0)

Parameters
triggerTrigger class type
Returns
True if a threshold is set

Definition at line 136 of file AliEMCalTriggerAnaTriggerDecision.h.

Referenced by EMCalTriggerPtAnalysis::AliEMCalTriggerAnaTriggerDecision::SelectTriggerPatch().

Bool_t EMCalTriggerPtAnalysis::AliEMCalTriggerAnaTriggerDecisionConfig::IsSwapThresholds ( ) const
inline

Check whether energy threshols are swapped (only relevant for online patches in MC)

Returns
True if thresholds are required to be swapped

Definition at line 114 of file AliEMCalTriggerAnaTriggerDecision.h.

Referenced by EMCalTriggerPtAnalysis::AliEMCalTriggerAnaTriggerDecision::SelectTriggerPatch().

Bool_t EMCalTriggerPtAnalysis::AliEMCalTriggerAnaTriggerDecisionConfig::IsUsingOfflinePatches ( ) const
inline

Check whether offline patches are used in the analysis.

Returns
True if we use offline patches

Definition at line 120 of file AliEMCalTriggerAnaTriggerDecision.h.

Referenced by EMCalTriggerPtAnalysis::AliEMCalTriggerAnaTriggerDecision::MakeDecisionFromPatches(), and EMCalTriggerPtAnalysis::AliEMCalTriggerAnaTriggerDecision::SelectTriggerPatch().

void EMCalTriggerPtAnalysis::AliEMCalTriggerAnaTriggerDecisionConfig::SetEnergyThreshold ( ETATriggerType  trigger,
double  threshold 
)
inline

Set the energy threshold for the trigger selection using patches for a given trigger class

Parameters
triggerClassTrigger class for which to set the threshold
thresholdNew trigger threshold

Definition at line 100 of file AliEMCalTriggerAnaTriggerDecision.h.

void EMCalTriggerPtAnalysis::AliEMCalTriggerAnaTriggerDecisionConfig::SetPatchEnergyType ( EPatchEnergyType_t  energyType)
inline

Specify which type of energy is used for the patch energy cut

Parameters
energyTypeEnergy type used in the selection

Definition at line 108 of file AliEMCalTriggerAnaTriggerDecision.h.

void EMCalTriggerPtAnalysis::AliEMCalTriggerAnaTriggerDecisionConfig::SetSwapThresholds ( Bool_t  doSwap = kTRUE)
inline

Define whether we swap the low and high energy thresholds (necessary for Monte-Carlo patches)

Parameters
doSwapIf true we swap the thresholds

Definition at line 87 of file AliEMCalTriggerAnaTriggerDecision.h.

void EMCalTriggerPtAnalysis::AliEMCalTriggerAnaTriggerDecisionConfig::SetUseOfflinePatches ( Bool_t  doUse = kTRUE)
inline

Define whether we use online or offline patches for the trigger decision

Parameters
useOfflineIf true we use offline patches instead of online patches.

Definition at line 93 of file AliEMCalTriggerAnaTriggerDecision.h.

Member Data Documentation

Double_t EMCalTriggerPtAnalysis::AliEMCalTriggerAnaTriggerDecisionConfig::fEnergyThresholds[4]
private

Energy thresholds applied in the analysis.

Definition at line 149 of file AliEMCalTriggerAnaTriggerDecision.h.

Referenced by AliEMCalTriggerAnaTriggerDecisionConfig(), GetEnergyThreshold(), HasEnergyThreshold(), and SetEnergyThreshold().

EPatchEnergyType_t EMCalTriggerPtAnalysis::AliEMCalTriggerAnaTriggerDecisionConfig::fEnergyType
private

Energy type from patch used for the patch energy selection.

Definition at line 150 of file AliEMCalTriggerAnaTriggerDecision.h.

Referenced by GetPatchEnergyType(), and SetPatchEnergyType().

Bool_t EMCalTriggerPtAnalysis::AliEMCalTriggerAnaTriggerDecisionConfig::fSwapThresholds
private

Flag for swapping high and low energy threshold.

Definition at line 147 of file AliEMCalTriggerAnaTriggerDecision.h.

Referenced by IsSwapThresholds(), and SetSwapThresholds().

Bool_t EMCalTriggerPtAnalysis::AliEMCalTriggerAnaTriggerDecisionConfig::fUseOfflinePatches
private

Switch for using offline patches for event selection.

Definition at line 148 of file AliEMCalTriggerAnaTriggerDecision.h.

Referenced by IsUsingOfflinePatches(), and SetUseOfflinePatches().


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