AliPhysics  2e7186c (2e7186c)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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
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

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
 Histogram container of the analysis component. More...
 Global trigger class manager. More...
 Global binning handler. More...
const AliEMCalTriggerKineCuts * fKineCuts
 Kinematical cuts for tracks and particle selection. More...
 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 ( )

Member Function Documentation

void EMCalTriggerPtAnalysis::AliEMCalTriggerEventCounterAnalysisComponent::CreateHistos ( )

Create event counter histograms

Reimplemented from EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent.

Definition at line 58 of file AliEMCalTriggerEventCounterAnalysisComponent.cxx.

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

Define an axis with number of bins from min to max

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().

Int_t EMCalTriggerPtAnalysis::AliEMCalTriggerEventCounterAnalysisComponent::FindAxis ( THnSparse *  hist,
const char *  title 
) const

Definition at line 145 of file AliEMCalTriggerEventCounterAnalysisComponent.cxx.

Referenced by Process().

void EMCalTriggerPtAnalysis::AliEMCalTriggerEventCounterAnalysisComponent::Process ( const AliEMCalTriggerEventData *const  data)

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.

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