AliPhysics  b43479f (b43479f)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliAnalysisTaskEmcalJetCDFUE.h
Go to the documentation of this file.
1 
9 
10 #ifndef ALIANALYSISTASKEMCALJETCDFUE_H
11 #define ALIANALYSISTASKEMCALJETCDFUE_H
12 
13 #include <cstdio>
14 #include <Rtypes.h>
15 #include <TROOT.h>
16 #include <TSystem.h>
17 #include <TProfile.h>
18 #include <TH1.h>
19 #include <TH1F.h>
20 #include <TH1D.h>
21 #include <TProfile.h>
22 #include <TMath.h>
23 
24 #include "AliLog.h"
25 #include "AliEmcalJet.h"
26 #include "AliJetContainer.h"
27 #include "AliParticleContainer.h"
28 #include "AliClusterContainer.h"
29 
31 
32 class TH1;
33 class TH2;
34 class TProfile;
35 class AliAnalysisUtils;
36 class AliJetContainer;
39 
41  {
42  public:
43 
45  AliAnalysisTaskEmcalJetCDFUE ( const char *name );
47 
49  void Terminate ( Option_t *option );
50 
51  protected:
52 
55  Bool_t FillHistograms() ;
56 
57  void ExecOnce();
58  Bool_t Run() ;
59 
63  std::vector<Int_t> SortTracksPt ( AliVEvent *event ) const;
64 
68  std::vector<Int_t> SortTracksPt ( AliParticleContainer *track_container ) const;
69 
74  Double_t DeltaR ( const AliVParticle *part1, const AliVParticle *part2 );
75 
80  Bool_t IdxInArray ( Int_t index, TArrayI &array );
81 
82  TProfile *fH21;
83  TProfile *fH21Toward;
84  TProfile *fH21Transverse_min;
85  TProfile *fH21Transverse_max;
86  TProfile *fH21Away;
87 
88  TH1D *fH21_bin;
92  TH1D *fH21Away_bin;
93 
99 
100  TProfile *fH22;
101  TProfile *fH22Toward;
102  TProfile *fH22Transverse_min;
103  TProfile *fH22Transverse_max;
104  TProfile *fH22Away;
105 
106  TH1D *fH22_bin;
110  TH1D *fH22Away_bin;
111 
117 
118  TH1D *fH23;
119  TH1D *fH23Toward;
122  TH1D *fH23Away;
123 
124  TProfile *fH40;
125  TProfile *fH40toward;
126  TProfile *fH40away;
127  TProfile *fH40transmin;
128  TProfile *fH40transmax;
129 
130  TH1D *fH40_bin;
132  TH1D *fH40away_bin;
135 
136  TProfile *fH41;
137  TProfile *fH41toward;
138  TProfile *fH41away;
139  TProfile *fH41transmin;
140  TProfile *fH41transmax;
141 
142  TH1D *fH41_bin;
144  TH1D *fH41away_bin;
147 
151  TClonesArray *fTracksContArray;
152  TClonesArray *fCaloClustContArray;
153 
156  UInt_t fNaccPart;
157  Int_t fNaccClus;
158  Double_t fEvPt;
159 
160  std::vector<Int_t> fJet1_sorted_idxvec;
161  std::vector<Int_t> fEvent_sorted_idxvec;
162 
163  private:
165  typedef std::pair<Double_t, Int_t> ptidx_pair;
166 
169  {
170  bool operator () ( const ptidx_pair &p1, const ptidx_pair &p2 ) { return p1.first > p2.first ; }
171  };
172 
173  AliAnalysisTaskEmcalJetCDFUE ( const AliAnalysisTaskEmcalJetCDFUE & ); // not implemented
175 
177  ClassDef ( AliAnalysisTaskEmcalJetCDFUE, 0 );
179 
180  };
181 #endif
182 
183 // kate: indent-mode none; indent-width 2; replace-tabs on;
TH1D * fH22_bin_wojet1
! PT_{sum}(in the event - without jet1) vs P_{T}(jet1) - per bin sum - full phi
TProfile * fH40
! total particles fNPart w.r.t PTmax (pt of leading particle from leading jet) - full phi ...
TH1D * fH22Toward_bin_wojet1
! PT_{sum}(in the event - without jet1) vs P_{T}(jet1) - per bin sum - toward
TH1D * fH22Toward_bin
! PT_{sum}(in the event - including jet1) vs P_{T}(jet1) - per bin sum - toward
TProfile * fH40toward
! total particles fNPart w.r.t PTmax (pt of leading particle from leading jet) - toward ...
TH1D * fH21Transverse_min_bin
! N(in the event - including jet1) vs P_{T}(jet1) - per bin sum - trans min
std::vector< Int_t > fJet1_sorted_idxvec
vector of sorted indexes of particles in leading jet
TH1D * fH23Away
! 'Away' Pt Distribution of particles
TH1D * fH40transmin_bin
! total particles fNPart w.r.t PTmax (pt of leading particle from leading jet) - per bin sum - trans ...
TProfile * fH41away
! PTsum w.r.t PTmax - away
TProfile * fH21Transverse_max
! N(in the event - including jet1) vs P_{T}(jet1) - trans max
TH1D * fH23Transverse_min
! 'Transverse' MIN Pt Distribution of particles
Double_t DeltaR(const AliVParticle *part1, const AliVParticle *part2)
TH1D * fH41_bin
! PTsum w.r.t PTmax - per bin sum - full phi
TProfile * fH21Transverse_min
! N(in the event - including jet1) vs P_{T}(jet1) - trans min
TH1D * fH40transmax_bin
! total particles fNPart w.r.t PTmax (pt of leading particle from leading jet) - per bin sum - trans ...
TProfile * fH40away
! total particles fNPart w.r.t PTmax (pt of leading particle from leading jet) - away ...
TH1D * fH21Transverse_max_bin
! N(in the event - including jet1) vs P_{T}(jet1) - per bin sum - trans max
std::pair< Double_t, Int_t > ptidx_pair
(pt,index) pair
TProfile * fH41toward
! PTsum w.r.t PTmax - toward
TH1D * fH23Transverse_max
! 'Transverse' MAX Pt Distribution of particles
TH1D * fH22Transverse_min_bin_wojet1
! PT_{sum}(in the event - without jet1) vs P_{T}(jet1) - per bin sum - trans min
Container for particles within the EMCAL framework.
Analysis of leading jets distribution of pt and multiplicity.
TH1D * fH23
! Event Pt Distribution of particles
UInt_t fNJets_accepted
Number of Jets found in event - accepted cuts applied by JetContainer.
TProfile * fH41
! PTsum w.r.t PTmax - full phi
TH1D * fH22Transverse_min_bin
! PT_{sum}(in the event - including jet1) vs P_{T}(jet1) - per bin sum - trans min ...
std::vector< Int_t > fEvent_sorted_idxvec
vector of sorted indexes of accepted tracks in the event
TProfile * fH21
! N(in the event - including jet1) vs P_{T}(jet1) - full phi
TH1D * fH22_bin
! PT_{sum}(in the event - including jet1) vs P_{T}(jet1) - per bin sum - full phi ...
TH1D * fH40toward_bin
! total particles fNPart w.r.t PTmax (pt of leading particle from leading jet) - per bin sum - toward...
TH1D * fH41away_bin
! PTsum w.r.t PTmax - per bin sum - away
AliParticleContainer * fTracksCont
! Tracks Container
TH1D * fH21Toward_bin
! N(in the event - including jet1) vs P_{T}(jet1) - per bin sum - toward
TProfile * fH22Away
! PT_{sum}(in the event - including jet1) vs P_{T}(jet1) - away
TH1D * fH22Away_bin
! PT_{sum}(in the event - including jet1) vs P_{T}(jet1) - away
TProfile * fH22Toward
! PT_{sum}(in the event - including jet1) vs P_{T}(jet1) - toward
TProfile * fH41transmax
! PTsum w.r.t PTmax - trans max
TProfile * fH40transmin
! total particles fNPart w.r.t PTmax (pt of leading particle from leading jet) - trans min ...
TProfile * fH21Away
! N(in the event - including jet1) vs P_{T}(jet1) - away
TProfile * fH22
! PT_{sum}(in the event - including jet1) vs P_{T}(jet1) - full phi
TH1D * fH21Transverse_min_bin_wojet1
! N(in the event - without jet1) vs P_{T}(jet1) - per bin sum - trans min
bool operator()(const ptidx_pair &p1, const ptidx_pair &p2)
TH1D * fH21Toward_bin_wojet1
! N(in the event - without jet1) vs P_{T}(jet1) - per bin sum - toward
Bool_t IdxInArray(Int_t index, TArrayI &array)
functional for sorting pair by first element - descending
Int_t fNaccClus
! Multiplicity in event - accepted clusters in cluster container
TH1D * fH40away_bin
! total particles fNPart w.r.t PTmax (pt of leading particle from leading jet) - per bin sum - away ...
Double_t fEvPt
Scalar sum of pt off all accepted tracks in events.
TH1D * fH22Transverse_max_bin_wojet1
! PT_{sum}(in the event - without jet1) vs P_{T}(jet1) - per bin sum - trans max
TProfile * fH22Transverse_min
! PT_{sum}(in the event - including jet1) vs P_{T}(jet1) - trans min
TProfile * fH41transmin
! PTsum w.r.t PTmax - trans min
TProfile * fH40transmax
! total particles fNPart w.r.t PTmax (pt of leading particle from leading jet) - trans max ...
TH1D * fH22Away_bin_wojet1
! PT_{sum}(in the event - without jet1) vs P_{T}(jet1) - per bin sum - away
TH1D * fH21Transverse_max_bin_wojet1
! N(in the event - without jet1) vs P_{T}(jet1) - per bin sum - trans max
TH1D * fH41transmin_bin
! PTsum w.r.t PTmax - per bin sum - trans min
AliJetContainer * fJetsCont
! Jets Container
TH1D * fH41transmax_bin
! PTsum w.r.t PTmax - per bin sum - trans max
TH1D * fH21Away_bin
! N(in the event - including jet1) vs P_{T}(jet1) - per bin sum - away
TH1D * fH40_bin
! total particles fNPart w.r.t PTmax (pt of leading particle from leading jet) - per bin sum - full p...
TH1D * fH21_bin_wojet1
! N(in the event - without jet1) vs P_{T}(jet1) - per bin sum - full phi
TH1D * fH21_bin
! N(in the event - including jet1) vs P_{T}(jet1) - per bin sum - full phi
TH1D * fH23Toward
! 'Toward' Pt Distribution of particles
TH1D * fH22Transverse_max_bin
! PT_{sum}(in the event - including jet1) vs P_{T}(jet1) - per bin sum - trans max ...
TClonesArray * fTracksContArray
! the array of tracks from the tracks container
TH1D * fH21Away_bin_wojet1
! N(in the event - without jet1) vs P_{T}(jet1) - per bin sum - away
TH1D * fH41toward_bin
! PTsum w.r.t PTmax - per bin sum - toward
TProfile * fH22Transverse_max
! PT_{sum}(in the event - including jet1) vs P_{T}(jet1) - trans max
Container structure for EMCAL clusters.
AliClusterContainer * fCaloClustersCont
! Clusters Container
UInt_t fNaccPart
Multiplicity in event - accepted tracks in tracks container.
TClonesArray * fCaloClustContArray
! the array of clusters from the tracks container
AliAnalysisTaskEmcalJetCDFUE & operator=(const AliAnalysisTaskEmcalJetCDFUE &)
TProfile * fH21Toward
! N(in the event - including jet1) vs P_{T}(jet1) - toward
std::vector< Int_t > SortTracksPt(AliVEvent *event) const