AliPhysics  c0d7b22 (c0d7b22)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliAnalysisTaskEmcalJetHF.h
Go to the documentation of this file.
1 #ifndef ALIANALYSISTASKEMCALJETHF_H
2 #define ALIANALYSISTASKEMCALJETHF_H
3 
13 /* Copyright(c) 1998-2016, ALICE Experiment at CERN, All rights reserved. *
14  * See cxx source for full Copyright notice */
15 
17 #include "THistManager.h"
18 
19 //ROOT
20 class TClonesArray;
21 class TH1;
22 class TH2;
23 class TH3;
24 class TH1F;
25 class TH2F;
26 class TH3F;
27 class THnSparse;
28 class TLorentzVector;
29 class TGraph;
30 class TClonesArray;
31 class TArrayI;
32 class TProfile;
33 //ALIROOT
34 class AliEMCALTrack;
35 class AliMagF;
36 class AliESDEvent;
37 class AliAODEvent;
38 class AliEMCALGeometry;
39 class AliEMCALRecoUtils;
40 class AliESDtrack;
41 class AliESDtrackCuts;
42 class AliAnalysisEtCuts;
43 class AliDetectorPID;
44 class AliESDCaloCluster;
45 class AliJetContainer;
48 class AliEMCALTriggerPatchInfo;
49 class AliVCaloTrigger;
50 class AliPIDResponse;
51 //INCLUDES
52 #include <TRef.h>
53 #include <TBits.h>
54 #include <TMath.h>
55 #include <AliEmcalJet.h>
56 #include <AliVEvent.h>
57 #include <AliVTrack.h>
58 #include <AliVCluster.h>
59 #include <TClonesArray.h>
60 #include <TMath.h>
61 #include <TRandom3.h>
62 #include <AliLog.h>
64 #include "AliEMCALPIDResponse.h"
65 #include <AliESDCaloCluster.h>
66 #include <AliESDtrackCuts.h>
67 #include "AliAODTrack.h"
68 #include "AliESDtrack.h"
69 #include "AliPID.h"
70 #include "AliTPCdEdxInfo.h"
71 #include "AliEMCALTriggerPatchInfo.h"
72 #include "AliAnalysisTaskEmcal.h"
74 #include "AliPIDResponse.h"
75 #include "AliTPCPIDResponse.h"
76 #include "AliESDpid.h"
77 #include "AliAnalysisFilter.h"
78 #include "AliAnalysisTaskSE.h"
79 #include "AliStack.h"
80 
88 public:
89 
91  AliAnalysisTaskEmcalJetHF(const char *name) ;
92  virtual ~AliAnalysisTaskEmcalJetHF() ;
93 
94  void SetAODAnalysis() { SetBit(kAODanalysis, kTRUE); };
95  void SetESDAnalysis() { SetBit(kAODanalysis, kFALSE); };
96  Bool_t IsAODanalysis() const { return TestBit(kAODanalysis); };
97 
99  void Terminate(Option_t *option) ;
100  void EMCalClusterInfo();
101  void SelectPhotonicElectron(Int_t itrack, AliVTrack *track, Bool_t &fFlagPhotonicElec);
102 
103 protected:
104  void ExecOnce() ;
105  Bool_t FillHistograms() ;
106  Bool_t Run() ;
107 
108  void AllocateJetHistograms() ;
109  void AllocateTrackHistograms() ;
111  void AllocateCellHistograms() ;
112 
113  void DoJetLoop() ;
114  void DoTrackLoop() ;
115  void DoClusterLoop() ;
116  void DoCellLoop() ;
117 
119 
120 private:
121  enum{
122  kAODanalysis = BIT(20),
123  };
124 
125  AliVEvent *fVevent;
126  AliESDEvent *fESD;
127  AliAODEvent *fAOD;
128  AliPIDResponse *fpidResponse;
129 
130 
131  Double_t fEventCounter;
132  Double_t fInvmassCut;
133 
134  TH2F *fdEdx;
135  TH2F *fM20;
136  TH2F *fM02;
137  TH2F *fM20EovP;
138  TH2F *fM02EovP;
139  TH1F *fInvmassLS;
140  TH1F *fInvmassULS;
141  TH1F *fEMCTrketa;
142  TH1F *fEMCTrkphi;
148 
149  AliAnalysisTaskEmcalJetHF(const AliAnalysisTaskEmcalJetHF&) ; // not implemented
151 
153  ClassDef(AliAnalysisTaskEmcalJetHF, 7);
155 };
156 #endif
AliAODEvent * fAOD
ESD object.
void SelectPhotonicElectron(Int_t itrack, AliVTrack *track, Bool_t &fFlagPhotonicElec)
THistManager fHistManager
Histogram manager.
Container for particles within the EMCAL framework.
Implementation of a HFE jet analysis task.
Manager for constants used in the trigger maker.
TH1F * fEMCTrketa
Invmass of ULS pairs.
Base task in the EMCAL jet framework.
Container class for histograms for the high- charged particle analysis.
Definition: THistManager.h:43
AliESDEvent * fESD
event object
Container structure for EMCAL clusters.
TH1F * fInvmassULS
Invmass of LS pairs.
AliPIDResponse * fpidResponse
AOD object.
Container for jet within the EMCAL jet framework.
AliAnalysisTaskEmcalJetHF & operator=(const AliAnalysisTaskEmcalJetHF &)