AliPhysics  c2a2810 (c2a2810)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTriggerV1 Class Reference

Re-structured analysis task of high- \( p_{t} \) tracks in triggered events. More...

#include <AliAnalysisTaskPtEMCalTriggerV1.h>

Inheritance diagram for EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTriggerV1:

Public Member Functions

 AliAnalysisTaskPtEMCalTriggerV1 ()
 
 AliAnalysisTaskPtEMCalTriggerV1 (const char *name)
 
virtual ~AliAnalysisTaskPtEMCalTriggerV1 ()
 
void AddAnalysisGroup (AliEMCalTriggerTaskGroup *taskGroup)
 
virtual void UserCreateOutputObjects ()
 
virtual Bool_t Run ()
 
void SetBinning (const char *dimname, int nbins, double *binning)
 
void SetBinning (const char *dimname, const TArrayD &binning)
 
void AddTriggerClass (AliEMCalTriggerAnaTriggerClass *triggerclass)
 
void SetMCJetContainerName (const char *name)
 
void SetDataJetContainerName (const char *name)
 
void SetTriggerDebug (Bool_t doDebug=kTRUE)
 
void SetTriggerDecisionConfig (AliEMCalTriggerAnaTriggerDecisionConfig *config)
 

Protected Member Functions

AliEMCalTriggerEventDataBuildEvent ()
 
void FixTrackInputEvent (AliVTrack *trk)
 

Protected Attributes

TObjArray * fTaskGroups
 grouped analysis components More...
 
AliEMCalTriggerBinningComponentfBinning
 Global binning component. More...
 
AliEMCalTriggerAnaTriggerDecisionConfigfTriggerDecisionConfig
 Configuration for the trigger decision handling. More...
 
AliEMCalTriggerAnaClassManagerfTriggerClassManager
 Manager for trigger classes. More...
 
TString fMCJetContainer
 Name of the Monte-Carlo jet container. More...
 
TString fDataJetContainer
 Data jet container name. More...
 
Bool_t fSwapTriggerThresholds
 Swap thresholds of the low and high threshold trigger. More...
 
Bool_t fDoTriggerDebug
 Debug trigger decision creator. More...
 

Private Member Functions

 AliAnalysisTaskPtEMCalTriggerV1 (const AliAnalysisTaskPtEMCalTriggerV1 &)
 
AliAnalysisTaskPtEMCalTriggerV1operator= (const AliAnalysisTaskPtEMCalTriggerV1 &)
 

Detailed Description

Re-structured analysis task of high- \( p_{t} \) tracks in triggered events.

Re-structured analysis task of the pt analysis on EMCal-triggered events: Analysis steps are moved to analysis components, which are grouped by a common event selection. The analysis task steers the event builder, runs each group, and collects the output of all groups.

Definition at line 45 of file AliAnalysisTaskPtEMCalTriggerV1.h.

Constructor & Destructor Documentation

EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTriggerV1::AliAnalysisTaskPtEMCalTriggerV1 ( )

Dummy (I/O) constructor, not to be used.

Definition at line 42 of file AliAnalysisTaskPtEMCalTriggerV1.cxx.

EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTriggerV1::AliAnalysisTaskPtEMCalTriggerV1 ( const char *  name)

Main Constructor: Initialises all values with default values. Generating also output container.

Parameters
nameName of the component

Definition at line 59 of file AliAnalysisTaskPtEMCalTriggerV1.cxx.

EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTriggerV1::~AliAnalysisTaskPtEMCalTriggerV1 ( )
virtual

Destructor

Definition at line 81 of file AliAnalysisTaskPtEMCalTriggerV1.cxx.

EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTriggerV1::AliAnalysisTaskPtEMCalTriggerV1 ( const AliAnalysisTaskPtEMCalTriggerV1 )
private

Member Function Documentation

void EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTriggerV1::AddAnalysisGroup ( AliEMCalTriggerTaskGroup taskGroup)

Add group of analysis components to the task

Parameters
taskGroupGroup of analysis components

Definition at line 197 of file AliAnalysisTaskPtEMCalTriggerV1.cxx.

void EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTriggerV1::AddTriggerClass ( AliEMCalTriggerAnaTriggerClass triggerclass)
inline

Add trigger class to the list of trigger classes

Parameters
triggerclassTrigger class to be added

Definition at line 62 of file AliAnalysisTaskPtEMCalTriggerV1.h.

AliEMCalTriggerEventData * EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTriggerV1::BuildEvent ( )
protected

Build event structure. Take the information about the different containers from the base analysis task. Also checks whether the track has the event pointer set, and in case not sets it back to this event.

Returns
the resulting event structure

Definition at line 167 of file AliAnalysisTaskPtEMCalTriggerV1.cxx.

Referenced by Run().

void EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTriggerV1::FixTrackInputEvent ( AliVTrack *  trk)
protected

Set the corresponding pointer to the original event to the track in a transparent way for ESD, AOD and pico tracks

Parameters
trkThe track to handle

Definition at line 206 of file AliAnalysisTaskPtEMCalTriggerV1.cxx.

Referenced by BuildEvent().

AliAnalysisTaskPtEMCalTriggerV1& EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTriggerV1::operator= ( const AliAnalysisTaskPtEMCalTriggerV1 )
private
Bool_t EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTriggerV1::Run ( )
virtual

Run the analysis:

  1. Build the event data shared among the tasks
  2. Create the trigger decision and forward it to all components
  3. Loop over task groups and execute all components connected to the task group

Definition at line 120 of file AliAnalysisTaskPtEMCalTriggerV1.cxx.

void EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTriggerV1::SetBinning ( const char *  dimname,
int  nbins,
double *  binning 
)

Set binning for a give dimension. Binning is handed over to the binning handler.

Parameters
dimnamename of the axis
nbinsnumber of bins
binningthe bin limits

Definition at line 147 of file AliAnalysisTaskPtEMCalTriggerV1.cxx.

void EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTriggerV1::SetBinning ( const char *  dimname,
const TArrayD &  binning 
)

Set binning for a give dimension. Binning is handed over to the binning handler.

Parameters
binningthe bin limits

Definition at line 156 of file AliAnalysisTaskPtEMCalTriggerV1.cxx.

void EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTriggerV1::SetDataJetContainerName ( const char *  name)
inline

Set the name of the jet container for jets in data

Parameters
name

Definition at line 74 of file AliAnalysisTaskPtEMCalTriggerV1.h.

void EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTriggerV1::SetMCJetContainerName ( const char *  name)
inline

Set the name of the jet container for generator level jets

Parameters
name

Definition at line 68 of file AliAnalysisTaskPtEMCalTriggerV1.h.

void EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTriggerV1::SetTriggerDebug ( Bool_t  doDebug = kTRUE)
inline

Set trigger selection into debug mode

Parameters
doDebugIf true we run the trigger selection in debug mode.

Definition at line 80 of file AliAnalysisTaskPtEMCalTriggerV1.h.

void EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTriggerV1::SetTriggerDecisionConfig ( AliEMCalTriggerAnaTriggerDecisionConfig config)
inline

Set configuration for the trigger decision generation

Parameters
configconfiguration of the trigger selection

Definition at line 86 of file AliAnalysisTaskPtEMCalTriggerV1.h.

void EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTriggerV1::UserCreateOutputObjects ( )
virtual

Initialise all analysis components. Collect histograms from all components and store them in a combined list.

Definition at line 91 of file AliAnalysisTaskPtEMCalTriggerV1.cxx.

Member Data Documentation

AliEMCalTriggerBinningComponent* EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTriggerV1::fBinning
protected
TString EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTriggerV1::fDataJetContainer
protected

Data jet container name.

Definition at line 97 of file AliAnalysisTaskPtEMCalTriggerV1.h.

Referenced by BuildEvent(), and SetDataJetContainerName().

Bool_t EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTriggerV1::fDoTriggerDebug
protected

Debug trigger decision creator.

Definition at line 99 of file AliAnalysisTaskPtEMCalTriggerV1.h.

Referenced by Run(), and SetTriggerDebug().

TString EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTriggerV1::fMCJetContainer
protected

Name of the Monte-Carlo jet container.

Definition at line 96 of file AliAnalysisTaskPtEMCalTriggerV1.h.

Referenced by BuildEvent(), and SetMCJetContainerName().

Bool_t EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTriggerV1::fSwapTriggerThresholds
protected

Swap thresholds of the low and high threshold trigger.

Definition at line 98 of file AliAnalysisTaskPtEMCalTriggerV1.h.

TObjArray* EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTriggerV1::fTaskGroups
protected
AliEMCalTriggerAnaClassManager* EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTriggerV1::fTriggerClassManager
protected
AliEMCalTriggerAnaTriggerDecisionConfig* EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTriggerV1::fTriggerDecisionConfig
protected

Configuration for the trigger decision handling.

Definition at line 94 of file AliAnalysisTaskPtEMCalTriggerV1.h.

Referenced by Run(), and SetTriggerDecisionConfig().


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