AliPhysics  vAN-20150425 (2dcf1b0)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliEMCalTriggerTracksAnalysisComponent.h
Go to the documentation of this file.
1 
11 #ifndef ALIEMCALTRIGGERTRACKSANALYSISCOMPONENT_H
12 #define ALIEMCALTRIGGERTRACKSANALYSISCOMPONENT_H
13 /* Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
14  * See cxx source for full Copyright notice */
15 
16 #include <vector>
17 #include <string>
18 #include <TNamed.h>
19 #include "AliEMCalHistoContainer.h"
21 
29 namespace EMCalTriggerPtAnalysis {
30 
31 class AliEMCalTriggerAnaTriggerDecision;
32 class AliEMCalTriggerBinningComponent;
33 class AliEMCalTriggerBinningDimension;
34 class AliEMCalTriggerEventData;
35 class AliEMCalTriggerKineCuts;
36 class AliEMCalTriggerWeightHandler;
37 
51 public:
55 
56  virtual void CreateHistos();
57  virtual void Process(const AliEMCalTriggerEventData * const data) = 0;
58 
63  THashList *GetHistList() const { return fHistos->GetListOfHistograms(); }
64 
70 
75  void SetBinning(const AliEMCalTriggerBinningComponent * const binning) { fBinning = binning; }
76 
81  void SetKineCuts(const AliEMCalTriggerKineCuts * const cuts) { fKineCuts = cuts; }
82 
88 
93  void SetWeightHandler(const AliEMCalTriggerWeightHandler *handler) { fWeightHandler = handler; }
94 
99  void SetComponentDebugLevel(int debuglevel) { fComponentDebugLevel = debuglevel; }
100 
101 protected:
102  TAxis *DefineAxis(const char *name, const AliEMCalTriggerBinningDimension *binning);
103  TAxis *DefineAxis(const char *name, int nbins, double min, double max);
104  void GetMachingTriggerNames(std::vector<std::string> &triggernames, ETriggerMethod_t usePatches);
105  void PrintTriggerNames(const std::vector<std::string> &, const std::string &componentName) const;
106 
112 
114 
118 };
119 
120 } /* namespace EMCalTriggerPtAnalysis */
121 
122 #endif /* ALIEMCALTRIGGERTRACKSANALYSISCOMPONENT_H */
ETriggerMethod_t
Methods available to select event as triggered events.
Class performing the selection of triggered events.
Declaration of class AliEMCalTriggerAnaTriggerDecision, a container for trigger decision in EMCAL-tri...
void PrintTriggerNames(const std::vector< std::string > &, const std::string &componentName) const
const AliEMCalTriggerWeightHandler * fWeightHandler
Event weight handler.
void GetMachingTriggerNames(std::vector< std::string > &triggernames, ETriggerMethod_t usePatches)
TAxis * DefineAxis(const char *name, const AliEMCalTriggerBinningDimension *binning)
Container class for histograms for the high- charged particle analysis.
Declarartion of class AliEMCalHistoContainer.
AliEMCalHistoContainer * fHistos
Histogram container of the analysis component.
const AliEMCalTriggerAnaTriggerDecision * fTriggerDecision
Trigger decision handler.
Global binning definition for the high- charged particle analysis.
const AliEMCalTriggerKineCuts * fKineCuts
Kinematical cuts for tracks and particle selection.
Base class for analysis components in the analysis of EMCAL-triggered events.
void SetBinning(const AliEMCalTriggerBinningComponent *const binning)
virtual void Process(const AliEMCalTriggerEventData *const data)=0
const AliEMCalTriggerBinningComponent * fBinning
Global binning handler.
void SetTriggerDecision(const AliEMCalTriggerAnaTriggerDecision *trigger)