AliPhysics  vAN-20150507 (0645659)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
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)
 
void SetTriggerMethod (ETriggerMethod_t method)
 
- 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 SetTriggerDecision (const AliEMCalTriggerAnaTriggerDecision *trigger)
 
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
 
- Protected Member Functions inherited from EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent
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, ETriggerMethod_t usePatches)
 
void PrintTriggerNames (const std::vector< std::string > &, const std::string &componentName) const
 

Protected Attributes

ETriggerMethod_t fTriggerMethod
 Use patches for trigger decision. More...
 
- Protected Attributes inherited from EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent
AliEMCalHistoContainerfHistos
 Histogram container of the analysis component. More...
 
const
AliEMCalTriggerBinningComponent
fBinning
 Global binning handler. More...
 
const AliEMCalTriggerKineCutsfKineCuts
 Kinematical cuts for tracks and particle selection. More...
 
const
AliEMCalTriggerAnaTriggerDecision
fTriggerDecision
 Trigger decision handler. 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 35 of file AliEMCalTriggerEventCounterAnalysisComponent.h.

Constructor & Destructor Documentation

EMCalTriggerPtAnalysis::AliEMCalTriggerEventCounterAnalysisComponent::AliEMCalTriggerEventCounterAnalysisComponent ( )

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

Definition at line 36 of file AliEMCalTriggerEventCounterAnalysisComponent.cxx.

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

Main constructor

Definition at line 45 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 54 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 159 of file AliEMCalTriggerEventCounterAnalysisComponent.cxx.

Referenced by CreateHistos().

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

void EMCalTriggerPtAnalysis::AliEMCalTriggerEventCounterAnalysisComponent::SetTriggerMethod ( ETriggerMethod_t  method)
inline

Specify method to select triggered events

Parameters
methodMethod applied

Definition at line 48 of file AliEMCalTriggerEventCounterAnalysisComponent.h.

Member Data Documentation

ETriggerMethod_t EMCalTriggerPtAnalysis::AliEMCalTriggerEventCounterAnalysisComponent::fTriggerMethod
protected

Use patches for trigger decision.

Definition at line 55 of file AliEMCalTriggerEventCounterAnalysisComponent.h.

Referenced by Process(), and SetTriggerMethod().


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