AliPhysics  c7b8e89 (c7b8e89)
EMCalTriggerPtAnalysis::AliEmcalAnalysisFactory Class Reference

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

#include <AliEmcalAnalysisFactory.h>

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 TString TrackContainerNameFactory (Bool_t isAOD)
 Get name of the default track container. More...
 
static AliEmcalTrackSelectionTrackCutsFactory (TString name, Bool_t isAOD)
 Fully-configure EMCAL track selection independent of the data type. More...
 
static AliEmcalTriggerOfflineSelectionTriggerSelectionFactory (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...
 
static AliESDtrackCuts * GenerateDefaultCutsESD ()
 
static AliESDtrackCuts * GenerateLooseDCACutsESD ()
 
static double ValueDecoder (const char *string, const char *tag)
 

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 51 of file AliEmcalAnalysisFactory.h.

Constructor & Destructor Documentation

EMCalTriggerPtAnalysis::AliEmcalAnalysisFactory::AliEmcalAnalysisFactory ( )
inline

Definition at line 53 of file AliEmcalAnalysisFactory.h.

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

Definition at line 54 of file AliEmcalAnalysisFactory.h.

Member Function Documentation

AliESDtrackCuts * EMCalTriggerPtAnalysis::AliEmcalAnalysisFactory::GenerateDefaultCutsESD ( )
static

Generate default cut settings for the analysis

Returns
Default cut settings for the analysis

Definition at line 333 of file AliEmcalAnalysisFactory.cxx.

Referenced by TrackCutsFactory(), and ~AliEmcalAnalysisFactory().

AliESDtrackCuts * EMCalTriggerPtAnalysis::AliEmcalAnalysisFactory::GenerateLooseDCACutsESD ( )
static

Generate cut settings with loose DCA (used for the hybrid cuts)

Returns
Cut settings with loose DCA cuts

Definition at line 344 of file AliEmcalAnalysisFactory.cxx.

Referenced by TrackCutsFactory(), and ~AliEmcalAnalysisFactory().

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

Get name of the default track container.

In case of usedefault the default track 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 track container

Definition at line 329 of file AliEmcalAnalysisFactory.cxx.

Referenced by EmcalTriggerJets::AliAnalysisTaskEmcalJetSubstructureTree::AddEmcalJetSubstructureTreeMaker(), EmcalTriggerJets::AliAnalysisTaskEmcalClustersInJets::AddTaskEmcalClustersInJets(), EmcalTriggerJets::AliAnalysisTaskEmcalJetEnergyScale::AddTaskJetEnergyScale(), EmcalTriggerJets::AliAnalysisTaskEmcalJetEnergySpectrum::AddTaskJetEnergySpectrum(), EmcalTriggerJets::AliAnalysisTaskEmcalJetSubstructureTree::Run(), and ~AliEmcalAnalysisFactory().

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

Systematics cuts /// These cuts are based on the default cuts varying /// each time one cut separately ///

Test cuts - for tracking studies /// Cuts are based on loose cuts. Those which are entangled/// are loosened furthermore ///

Definition at line 53 of file AliEmcalAnalysisFactory.cxx.

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

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 314 of file AliEmcalAnalysisFactory.cxx.

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

double EMCalTriggerPtAnalysis::AliEmcalAnalysisFactory::ValueDecoder ( const char *  string,
const char *  tag 
)
static

Definition: ITSchi2XXXX

  • 3 Digits before . (to be filled with 0)
  • 1 Digit after .

Definition at line 354 of file AliEmcalAnalysisFactory.cxx.

Referenced by TrackCutsFactory(), and ~AliEmcalAnalysisFactory().


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