AliPhysics  32e057f (32e057f)
EMCalTriggerPtAnalysis::AliEMCalTriggerEventCounterAnalysisComponent Class Reference

Event counter analysis component for the trigger analysis. More...

#include <AliEMCalTriggerEventCounterAnalysisComponent.h>

Inheritance diagram for EMCalTriggerPtAnalysis::AliEMCalTriggerEventCounterAnalysisComponent:

Public Member Functions

 AliEMCalTriggerEventCounterAnalysisComponent ()
 
 AliEMCalTriggerEventCounterAnalysisComponent (const char *name)
 
virtual ~AliEMCalTriggerEventCounterAnalysisComponent ()
 
virtual void CreateHistos ()
 
virtual void Process (const AliEMCalTriggerEventData *const data)
 
- Public Member Functions inherited from EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent
 AliEMCalTriggerTracksAnalysisComponent ()
 
 AliEMCalTriggerTracksAnalysisComponent (const char *name)
 
virtual ~AliEMCalTriggerTracksAnalysisComponent ()
 
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

void DefineAxis (TAxis &axis, const char *name, const char *title, int nbins, double min, double max, const char **labels) const
 
Int_t FindAxis (THnSparse *hist, const char *title) const
 
- Protected Member Functions inherited from EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent
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
 

Additional Inherited Members

- Protected Attributes inherited from EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent
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

Event counter analysis component for the trigger analysis.

Analysis component counting events for different trigger classes. Task needs to be grouped with a global event selection.

Definition at line 27 of file AliEMCalTriggerEventCounterAnalysisComponent.h.

Constructor & Destructor Documentation

EMCalTriggerPtAnalysis::AliEMCalTriggerEventCounterAnalysisComponent::AliEMCalTriggerEventCounterAnalysisComponent ( )

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

Definition at line 42 of file AliEMCalTriggerEventCounterAnalysisComponent.cxx.

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

Main constructor

Definition at line 50 of file AliEMCalTriggerEventCounterAnalysisComponent.cxx.

virtual EMCalTriggerPtAnalysis::AliEMCalTriggerEventCounterAnalysisComponent::~AliEMCalTriggerEventCounterAnalysisComponent ( )
inlinevirtual

Member Function Documentation

void EMCalTriggerPtAnalysis::AliEMCalTriggerEventCounterAnalysisComponent::CreateHistos ( )
virtual
void EMCalTriggerPtAnalysis::AliEMCalTriggerEventCounterAnalysisComponent::DefineAxis ( TAxis axis,
const char *  name,
const char *  title,
int  nbins,
double  min,
double  max,
const char **  labels 
) const
protected

Define an axis with number of bins from min to max

Parameters
axisAxis to be defined
nameName of the axis
titleTitle of the axis
nbinsNumber of bins
minlower limit of the axis
maxupper limit of the axis
labelsarray of bin labels (optional)

Definition at line 133 of file AliEMCalTriggerEventCounterAnalysisComponent.cxx.

Referenced by CreateHistos(), and ~AliEMCalTriggerEventCounterAnalysisComponent().

Int_t EMCalTriggerPtAnalysis::AliEMCalTriggerEventCounterAnalysisComponent::FindAxis ( THnSparse *  hist,
const char *  title 
) const
protected
void EMCalTriggerPtAnalysis::AliEMCalTriggerEventCounterAnalysisComponent::Process ( const AliEMCalTriggerEventData *const  data)
virtual

Do event counting

  1. Select trigger class and fill vertex distribution
  2. Fill also correlation histogram

Implements EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent.

Definition at line 101 of file AliEMCalTriggerEventCounterAnalysisComponent.cxx.

Referenced by ~AliEMCalTriggerEventCounterAnalysisComponent().


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