AliPhysics  95775ff (95775ff)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
EMCalTriggerPtAnalysis::AliEmcalAnalysisFactory Class Reference

Collection of helper functions used to configure the analysis. More...

#include <AliEmcalAnalysisFactory.h>

Inheritance diagram for EMCalTriggerPtAnalysis::AliEmcalAnalysisFactory:

Public Member Functions

 AliEmcalAnalysisFactory ()
 
virtual ~AliEmcalAnalysisFactory ()
 

Static Public Member Functions

static TString ClusterContainerNameFactory (Bool_t isAOD)
 Get name of the default cluster container. More...
 
static AliEmcalTrackSelectionTrackCutsFactory (TString name, Bool_t isAOD)
 Fully-configure EMCAL track selection independent of the data type. More...
 
static
AliEmcalTriggerOfflineSelection
TriggerSelectionFactory (Double_t el0, Double_t eg1, Double_t eg2, Double_t ej1, Double_t ej2, AliEmcalTriggerOfflineSelection::EmcalEnergyDefinition_t endef=AliEmcalTriggerOfflineSelection::kFEEEnergy)
 Configures EMCAL trigger offline selection used to restrict EMCAL triggered sample. More...
 

Detailed Description

Collection of helper functions used to configure the analysis.

Author
Markus Fasel marku.nosp@m.s.fa.nosp@m.sel@c.nosp@m.ern..nosp@m.ch, Oak Ridge National Laboratory
Since
Feb 23, 2016

Helpers implemented in this class are:

  • Configurator for track selection
  • Configurator for trigger selection
  • Name of the default track container (differs between ESDs and AODs)

Definition at line 26 of file AliEmcalAnalysisFactory.h.

Constructor & Destructor Documentation

EMCalTriggerPtAnalysis::AliEmcalAnalysisFactory::AliEmcalAnalysisFactory ( )
inline

Definition at line 28 of file AliEmcalAnalysisFactory.h.

virtual EMCalTriggerPtAnalysis::AliEmcalAnalysisFactory::~AliEmcalAnalysisFactory ( )
inlinevirtual

Definition at line 29 of file AliEmcalAnalysisFactory.h.

Member Function Documentation

TString EMCalTriggerPtAnalysis::AliEmcalAnalysisFactory::ClusterContainerNameFactory ( Bool_t  isAOD)
static

Get name of the default cluster container.

In case of usedefault the default cluster container is used in the analysis. The name differs between ESDs and AODs. The function returns the proper name for the input data type.

Parameters
[in]isAODSwitch between ESDs and AODs
Returns
Name of the default cluster container

Definition at line 162 of file AliEmcalAnalysisFactory.cxx.

Referenced by EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalClustersRef::AddTaskEmcalClustersRef(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalClustersRef::AddTaskEmcalClustersRefDefault(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalTriggerMultiplicity::AddTaskEmcalTriggerMultiplicity(), and EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalTriggerBase::UserCreateOutputObjects().

AliEmcalTrackSelection * EMCalTriggerPtAnalysis::AliEmcalAnalysisFactory::TrackCutsFactory ( TString  name,
Bool_t  isAOD 
)
static

Fully-configure EMCAL track selection independent of the data type.

Default configurations can be used to configure the virtual track selection independent of the input data type (ESDs or AODs) - data type dependent handling is hidden from the user. Selections for AOD are of course only handled if AODs support this. Available configurations:

  • standard (RAA) track cuts
  • hybrid track cuts
Parameters
nameName of the track cuts, used as cutstring to configure the track selection
isAODSwitch whether to create cuts for ESDs or AODs
Returns
Fully configured EMCAL track selection

Definition at line 35 of file AliEmcalAnalysisFactory.cxx.

Referenced by EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRef::AddTaskChargedParticlesRefDefault(), EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRefMC::AddTaskChargedParticlesRefMCDefault(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalTriggerMultiplicity::InitializeTrackCuts(), EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRef::InitializeTrackCuts(), EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesMCTriggerMimic::InitializeTrackCuts(), and EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRefMC::InitializeTrackCuts().

AliEmcalTriggerOfflineSelection * EMCalTriggerPtAnalysis::AliEmcalAnalysisFactory::TriggerSelectionFactory ( Double_t  el0,
Double_t  eg1,
Double_t  eg2,
Double_t  ej1,
Double_t  ej2,
AliEmcalTriggerOfflineSelection::EmcalEnergyDefinition_t  endef = AliEmcalTriggerOfflineSelection::kFEEEnergy 
)
static

Configures EMCAL trigger offline selection used to restrict EMCAL triggered sample.

Defines the threshold at Level0 and Level1 for the various EMCAL triggers, and specifies the type of energy measurement used to select EMCAL trigger patches

Parameters
[in]el0Energy threshold for EMCAL Level0 trigger
[in]eg1Energy threshold for EMCAL Level1 G1 trigger
[in]eg2Energy threshold for EMCAL Level1 G2 trigger
[in]ej1Energy threshold for EMCAL Level1 J1 trigger
[in]ej2Energy threshold for EMCAL Level1 J2 trigger
[in]endefEnergy type (ADC, offline energy, transverse energy / ADC) used for the patch selection
Returns
Fully configured EMCAL trigger offline selection

Definition at line 151 of file AliEmcalAnalysisFactory.cxx.

Referenced by EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRef::AddTaskChargedParticlesRefDefault(), EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRefMC::AddTaskChargedParticlesRefMCDefault(), and EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalClustersRef::AddTaskEmcalClustersRefDefault().


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