AliPhysics  f05a842 (f05a842)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliAnalysisTaskEmcalTriggerEmulation.h
Go to the documentation of this file.
1 #ifndef ALIANALYSISTASKEMCALTRIGGEREMULATION_H
2 #define ALIANALYSISTASKEMCALTRIGGEREMULATION_H
3 /* Copyright(c) 1998-2016, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice */
5 
6 #include "AliAnalysisTaskEmcal.h"
7 #include "AliCutValueRange.h"
8 #include <TString.h>
9 
10 class THistManager;
11 
12 namespace EMCalTriggerPtAnalysis {
13 
14 class AliEmcalTriggerEmulation;
15 class AliEMCalTriggerWeightHandler;
16 
25 public:
34  AliAnalysisTaskEmcalTriggerEmulation(const char *name);
39 
44  void SetWeightHandler(const AliEMCalTriggerWeightHandler * handler) { fkWeightHandler = handler; }
50 
55  void SetNameMCParticles(const TString &name) { fNameMCParticles = name; }
60  void SetNameClusters(const TString &name) { fNameClusters = name; }
65  void SetNameTracks(const TString &name) { fNameTracks = name; }
66 
71  void SetIsMC(bool isMC) {fIsMC = isMC; }
77  void SetEtaRange(double min, double max) { fEtaRange.SetLimits(min, max); }
83  void SetPhiRange(double min, double max) { fPhiRange.SetLimits(min, max); }
84 
85 protected:
86  virtual void UserCreateOutputObjects();
87  virtual bool Run();
88 
89 private:
93 
97 
101 
105 };
106 
107 } /* namespace EMCalTriggerPtAnalysis */
108 
109 #endif /* ALIANALYSISTASKEMCALTRIGGEREMULATION_H */
Base task in the EMCAL framework.
Emulate EMCAL trigger offline in simulation, and monitor reference distribution.
const AliEMCalTriggerWeightHandler * fkWeightHandler
Handler containing bin weights for -hard productions.
AliCutValueRange< double > fEtaRange
Acceptance range for particles and tracks in -direction.
Bool_t isMC
const AliEmcalTriggerEmulation * fkTriggerEmulation
Offline emulation of the EMCAL trigger.
Container class for histograms for the high- charged particle analysis.
Definition: THistManager.h:43
bool Bool_t
Definition: External.C:53
AliCutValueRange< double > fPhiRange
Acceptance range for particles and tracks in -direction.