AliPhysics  v5-07-18-02 (20ec537)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent Class Referenceabstract

Base class for analysis components in the analysis of EMCAL-triggered events. More...

#include <AliEMCalTriggerTracksAnalysisComponent.h>

Inheritance diagram for EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent:

Public Member Functions

 AliEMCalTriggerTracksAnalysisComponent ()
 
 AliEMCalTriggerTracksAnalysisComponent (const char *name)
 
virtual ~AliEMCalTriggerTracksAnalysisComponent ()
 
virtual void CreateHistos ()
 
virtual void Process (const AliEMCalTriggerEventData *const data)=0
 
THashList * GetHistList () const
 
const
AliEMCalTriggerWeightHandler
GetWeightHandler () const
 
void SetBinning (const AliEMCalTriggerBinningComponent *const binning)
 
void SetKineCuts (const AliEMCalTriggerKineCuts *const cuts)
 
void SetTriggerClassManager (const AliEMCalTriggerAnaClassManager *classmgr)
 
void SetWeightHandler (const AliEMCalTriggerWeightHandler *handler)
 
void SetComponentDebugLevel (int debuglevel)
 

Protected Member Functions

TAxis * DefineAxis (const char *name, const AliEMCalTriggerBinningDimension *binning)
 
TAxis * DefineAxis (const char *name, int nbins, double min, double max)
 
void GetMachingTriggerNames (std::vector< std::string > &triggernames) const
 
void GetAllTriggerNamesAndTitles (std::map< std::string, std::string > &triggers) const
 
void PrintTriggerNames (const std::vector< std::string > &, const std::string &componentName) const
 

Protected Attributes

AliEMCalHistoContainerfHistos
 Histogram container of the analysis component. More...
 
const
AliEMCalTriggerAnaClassManager
fTriggerClassManager
 Global trigger class manager. More...
 
const
AliEMCalTriggerBinningComponent
fBinning
 Global binning handler. More...
 
const AliEMCalTriggerKineCuts * fKineCuts
 Kinematical cuts for tracks and particle selection. More...
 
const
AliEMCalTriggerWeightHandler
fWeightHandler
 Event weight handler. More...
 
Int_t fComponentDebugLevel
 Debug level for the given analysis component. More...
 

Detailed Description

Base class for analysis components in the analysis of EMCAL-triggered events.

This class defines the base class of all analysis components used in the analysis of EMCAL-triggered events. A new analysis component has to implement at least the functions

  • CreateHistos
  • Process where the function process is abstract. The function CreateHistos contains the code for the initialization of the component and is run at the start of the analysis. Process implements the event loop and is called once per event.

Definition at line 88 of file AliEMCalTriggerTracksAnalysisComponent.h.

Constructor & Destructor Documentation

EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent::AliEMCalTriggerTracksAnalysisComponent ( )

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

Definition at line 35 of file AliEMCalTriggerTracksAnalysisComponent.cxx.

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

Main constructor, to be called by the user. Initializes all fields with NULL.

Parameters
namecomponent name

Definition at line 57 of file AliEMCalTriggerTracksAnalysisComponent.cxx.

EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent::~AliEMCalTriggerTracksAnalysisComponent ( )
virtual

Destructor, release histogram container

Definition at line 49 of file AliEMCalTriggerTracksAnalysisComponent.cxx.

Member Function Documentation

TAxis * EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent::DefineAxis ( const char *  name,
int  nbins,
double  min,
double  max 
)
protected

Create and define axis

Parameters
nameName of the axis
nbinsnumber of bins
minmin. range
maxmax. range
Returns
the new axis

Definition at line 98 of file AliEMCalTriggerTracksAnalysisComponent.cxx.

void EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent::GetAllTriggerNamesAndTitles ( std::map< std::string, std::string > &  triggers) const
protected
THashList* EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent::GetHistList ( ) const
inline

Get the list of histograms of this analysis component.

Returns
The list of histograms

Definition at line 101 of file AliEMCalTriggerTracksAnalysisComponent.h.

Referenced by EMCalTriggerPtAnalysis::AliEMCalTriggerTaskGroup::InitialiseAnalysisComponents().

void EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent::GetMachingTriggerNames ( std::vector< std::string > &  triggernames) const
protected
const AliEMCalTriggerWeightHandler* EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent::GetWeightHandler ( ) const
inline

Get the common weight handler.

Returns
The weight handler

Definition at line 107 of file AliEMCalTriggerTracksAnalysisComponent.h.

void EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent::PrintTriggerNames ( const std::vector< std::string > &  triggernames,
const std::string &  componentName 
) const
protected

Helper function to print the names of the selected trigger classes. For debugging purposes.

Parameters
triggernamesSelected trigger names
componentNameName of the component responsible for the printout

Definition at line 138 of file AliEMCalTriggerTracksAnalysisComponent.cxx.

Referenced by EMCalTriggerPtAnalysis::AliEMCalTriggerRecJetAnalysisComponent::Process().

void EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent::SetBinning ( const AliEMCalTriggerBinningComponent *const  binning)
inline

Set the global binning handler to this analysis component.

Parameters
binningThe global binning handler

Definition at line 113 of file AliEMCalTriggerTracksAnalysisComponent.h.

Referenced by EMCalTriggerPtAnalysis::AliEMCalTriggerTaskGroup::InitialiseAnalysisComponents().

void EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent::SetComponentDebugLevel ( int  debuglevel)
inline

Set the debug level for a given analysis component.

Parameters
debuglevelThe component debug level

Definition at line 137 of file AliEMCalTriggerTracksAnalysisComponent.h.

void EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent::SetKineCuts ( const AliEMCalTriggerKineCuts *const  cuts)
inline

Set the global kinematical cuts to this analysis components.

Parameters
cutsThe global kinematic cuts

Definition at line 119 of file AliEMCalTriggerTracksAnalysisComponent.h.

Referenced by EMCalTriggerPtAnalysis::AliEMCalTriggerTaskGroup::InitialiseAnalysisComponents().

void EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent::SetTriggerClassManager ( const AliEMCalTriggerAnaClassManager classmgr)
inline

Set the global trigger class manager

Parameters
classmgrThe global trigger class manager

Definition at line 125 of file AliEMCalTriggerTracksAnalysisComponent.h.

Referenced by EMCalTriggerPtAnalysis::AliEMCalTriggerTaskGroup::InitialiseAnalysisComponents().

void EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent::SetWeightHandler ( const AliEMCalTriggerWeightHandler handler)
inline

Member Data Documentation

Int_t EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent::fComponentDebugLevel
protected
AliEMCalHistoContainer* EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent::fHistos
protected

Histogram container of the analysis component.

Definition at line 146 of file AliEMCalTriggerTracksAnalysisComponent.h.

Referenced by EMCalTriggerPtAnalysis::AliEMCalTriggerEventCounterAnalysisComponent::CreateHistos(), EMCalTriggerPtAnalysis::AliEMCalTriggerPatchAnalysisComponent::CreateHistos(), EMCalTriggerPtAnalysis::AliEMCalTriggerMCJetAnalysisComponent::CreateHistos(), EMCalTriggerPtAnalysis::AliEMCalTriggerClusterAnalysisComponent::CreateHistos(), EMCalTriggerPtAnalysis::AliEMCalTriggerRecJetAnalysisComponent::CreateHistos(), EMCalTriggerPtAnalysis::AliEMCalTriggerRecTrackAnalysisComponent::CreateHistos(), CreateHistos(), EMCalTriggerPtAnalysis::AliEMCalTriggerPatchAnalysisComponent::FillAmplitudeHistogram(), EMCalTriggerPtAnalysis::AliEMCalTriggerMCJetAnalysisComponent::FillHistogram(), EMCalTriggerPtAnalysis::AliEMCalTriggerClusterAnalysisComponent::FillHistogram(), EMCalTriggerPtAnalysis::AliEMCalTriggerRecJetAnalysisComponent::FillHistogram(), EMCalTriggerPtAnalysis::AliEMCalTriggerRecTrackAnalysisComponent::FillHistogram(), EMCalTriggerPtAnalysis::AliEMCalTriggerMCJetAnalysisComponent::FillJetHistogram(), EMCalTriggerPtAnalysis::AliEMCalTriggerRecJetAnalysisComponent::FillJetHistogram(), EMCalTriggerPtAnalysis::AliEMCalTriggerRecJetAnalysisComponent::FillTrackHistogramCentrality(), EMCalTriggerPtAnalysis::AliEMCalTriggerPatchAnalysisComponent::FillTriggerInfoHistogram(), GetHistList(), EMCalTriggerPtAnalysis::AliEMCalTriggerEventCounterAnalysisComponent::Process(), and ~AliEMCalTriggerTracksAnalysisComponent().

const AliEMCalTriggerKineCuts* EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent::fKineCuts
protected

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