AliPhysics  32b88a8 (32b88a8)
 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
 
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

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 AliEMCalTriggerBinningDimension *binning)
 
TAxisDefineAxis (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
 

Additional Inherited Members

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

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 41 of file AliEMCalTriggerEventCounterAnalysisComponent.cxx.

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

Main constructor

Definition at line 49 of file AliEMCalTriggerEventCounterAnalysisComponent.cxx.

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

Member Function Documentation

void EMCalTriggerPtAnalysis::AliEMCalTriggerEventCounterAnalysisComponent::CreateHistos ( )
virtual

Create event counter histograms

Reimplemented from EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent.

Definition at line 57 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
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 132 of file AliEMCalTriggerEventCounterAnalysisComponent.cxx.

Referenced by CreateHistos().

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

Definition at line 144 of file AliEMCalTriggerEventCounterAnalysisComponent.cxx.

Referenced by Process().

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 100 of file AliEMCalTriggerEventCounterAnalysisComponent.cxx.


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