AliPhysics  vAN-20150425 (2dcf1b0)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliAnalysisTaskPtEMCalTriggerV1.h
Go to the documentation of this file.
1 
9 #ifndef ALIANALYSISTASKPTEMCALTRIGGERV1_H
10 #define ALIANALYSISTASKPTEMCALTRIGGERV1_H
11 /* Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
12  * See cxx source for full Copyright notice */
13 
14 #include "AliAnalysisTaskEmcalJet.h"
15 #include <TObjArray.h>
16 #include <TString.h>
17 
18 class TArrayD;
19 
27 namespace EMCalTriggerPtAnalysis {
28 
29 class AliEMCalTriggerAnaTriggerDecisionConfig;
30 class AliEMCalTriggerBinningComponent;
31 class AliEMCalTriggerEventData;
32 class AliEMCalTriggerTaskGroup;
33 
43 class AliAnalysisTaskPtEMCalTriggerV1: public AliAnalysisTaskEmcalJet {
44 public:
46  AliAnalysisTaskPtEMCalTriggerV1(const char *name);
48 
50  virtual void UserCreateOutputObjects();
51  virtual Bool_t Run();
52 
53  void SetBinning(const char *dimname, int nbins, double *binning);
54  void SetBinning(const char *dimname, const TArrayD &binning);
55 
60  void SetMCJetContainerName(const char *name) { fMCJetContainer = name; }
61 
66  void SetDataJetContainerName(const char *name) { fDataJetContainer = name; }
67 
72  void SetTriggerDebug(Bool_t doDebug = kTRUE) { fDoTriggerDebug = doDebug; }
73 
79 
84  void SetMinBiasEventSelection(Long_t evsel){ fMinBiasSelection = evsel; }
85 
86 protected:
88  void FixTrackInputEvent(AliVTrack *trk);
89 
90  TObjArray *fTaskGroups;
93  TString fMCJetContainer;
97  Bool_t fDoTriggerDebug;
98 
99 private:
102 
104  ClassDef(AliAnalysisTaskPtEMCalTriggerV1, 1);
106 };
107 
108 } /* namespace EMCalTriggerPtAnalysis */
109 
110 #endif /* ALIANALYSISTASKPTEMCALTRIGGERV1_H */
AliEMCalTriggerAnaTriggerDecisionConfig * fTriggerDecisionConfig
Configuration for the trigger decision handling.
void SetBinning(const char *dimname, int nbins, double *binning)
void SetTriggerDecisionConfig(AliEMCalTriggerAnaTriggerDecisionConfig *config)
Re-structured analysis task of high- tracks in triggered events.
Container class for analysis components with common event selection.
AliAnalysisTaskPtEMCalTriggerV1 & operator=(const AliAnalysisTaskPtEMCalTriggerV1 &)
AliEMCalTriggerBinningComponent * fBinning
Global binning component.
Global binning definition for the high- charged particle analysis.
Bool_t fSwapTriggerThresholds
Swap thresholds of the low and high threshold trigger.
TString fMCJetContainer
Name of the Monte-Carlo jet container.
Long_t fMinBiasSelection
Trigger bit selection for Min. Bias events.