AliPhysics  63e47e1 (63e47e1)
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 AliEMCalTriggerWeightHandlerGetWeightHandler () 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

TAxisDefineAxis (const char *name, const TBinning &binning)
 
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

THistManagerfHistos
 Histogram container of the analysis component. More...
 
const AliEMCalTriggerAnaClassManagerfTriggerClassManager
 Global trigger class manager. More...
 
const AliEMCalTriggerBinningComponentfBinning
 Global binning handler. More...
 
const AliEMCalTriggerKineCuts * fKineCuts
 Kinematical cuts for tracks and particle selection. More...
 
const AliEMCalTriggerWeightHandlerfWeightHandler
 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 80 of file AliEMCalTriggerTracksAnalysisComponent.h.

Constructor & Destructor Documentation

EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent::AliEMCalTriggerTracksAnalysisComponent ( )

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

Definition at line 37 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 59 of file AliEMCalTriggerTracksAnalysisComponent.cxx.

EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent::~AliEMCalTriggerTracksAnalysisComponent ( )
virtual

Destructor, release histogram container

Definition at line 51 of file AliEMCalTriggerTracksAnalysisComponent.cxx.

Member Function Documentation

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 93 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 99 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 128 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 105 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 129 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 111 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 117 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
THistManager* EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent::fHistos
protected

Histogram container of the analysis component.

Definition at line 137 of file AliEMCalTriggerTracksAnalysisComponent.h.

Referenced by EMCalTriggerPtAnalysis::AliEMCalTriggerMCParticleAnalysisComponent::CreateHistos(), EMCalTriggerPtAnalysis::AliEMCalTriggerEventCounterAnalysisComponent::CreateHistos(), EMCalTriggerPtAnalysis::AliEMCalTriggerPatchAnalysisComponent::CreateHistos(), EMCalTriggerPtAnalysis::AliEMCalTriggerMCJetAnalysisComponent::CreateHistos(), EMCalTriggerPtAnalysis::AliEMCalTriggerClusterAnalysisComponent::CreateHistos(), EMCalTriggerPtAnalysis::AliEMCalTriggerRecTrackAnalysisComponent::CreateHistos(), EMCalTriggerPtAnalysis::AliEMCalTriggerRecJetAnalysisComponent::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(), EMCalTriggerPtAnalysis::AliEMCalTriggerMCParticleAnalysisComponent::Process(), EMCalTriggerPtAnalysis::AliEMCalTriggerEventCounterAnalysisComponent::Process(), and ~AliEMCalTriggerTracksAnalysisComponent().


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