AliPhysics  c923f52 (c923f52)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliEmcalJet.h
Go to the documentation of this file.
1 #ifndef ALIEMCALJET_H
2 #define ALIEMCALJET_H
3 /* Copyright(c) 1998-2016, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice */
5 
6 #include <vector>
7 #include <algorithm>
8 #include <utility>
9 
10 #include <Riosfwd.h>
11 #include <TArrayS.h>
12 #include <TMath.h>
13 #include <TClonesArray.h>
14 #include <TVector2.h>
15 #include <TLorentzVector.h>
16 #include <TString.h>
17 
18 #include <AliVParticle.h>
19 #include <AliVCluster.h>
20 #include <AliVEvent.h>
21 
23 
44 class AliEmcalJet : public AliVParticle
45 {
46  public:
47 
58  kTPC = 1<<0,
59  kTPCfid = 1<<1,
60  kEMCAL = 1<<2,
61  kEMCALfid = 1<<3,
62  kDCAL = 1<<4,
63  kDCALfid = 1<<5,
64  kUser = 1<<6
65  };
66 
71  enum EFlavourTag {
72  kDStar = 1<<0,
73  kD0 = 1<<1,
74  kSig1 = 1<<2,
75  kSig2 = 1<<3,
76  kBckgrd1 = 1<<4,
77  kBckgrd2 = 1<<5,
78  kBckgrd3 = 1<<6
79  };
80 
81  AliEmcalJet();
84  AliEmcalJet(const AliEmcalJet &jet);
85  AliEmcalJet& operator=(const AliEmcalJet &jet);
86  virtual ~AliEmcalJet();
87  friend std::ostream &operator<<(std::ostream &in, const AliEmcalJet &jet);
88  Int_t Compare(const TObject* obj) const;
89  std::ostream &Print(std::ostream &in) const;
90  TString toString() const;
91 
92  // Implementation of AliVParticle interface
93  Double_t Px() const { return fPt*TMath::Cos(fPhi) ; }
94  Double_t Py() const { return fPt*TMath::Sin(fPhi) ; }
95  Double_t Pz() const { return fPt*TMath::SinH(fEta); }
96  Double_t Pt() const { return fPt ; }
97  Double_t P() const { return fPt*TMath::CosH(fEta); }
98  Bool_t PxPyPz(Double_t p[3]) const { p[0]=Px();p[1]=Py();p[2]=Pz(); return kTRUE; }
99  Double_t Xv() const { return 0.; }
100  Double_t Yv() const { return 0.; }
101  Double_t Zv() const { return 0.; }
102  Bool_t XvYvZv(Double_t x[3]) const { x[0]=0;x[1]=0;x[2]=0 ; return kTRUE; }
103  Double_t OneOverPt() const { return 1./fPt ; }
104  Double_t Phi() const { return fPhi ; }
105  Double_t Theta() const { return 2*TMath::ATan(TMath::Exp(-fEta)) ; }
106  Double_t E() const { Double_t p=P(); return TMath::Sqrt(fM*fM+p*p); }
107  Double_t M() const { return fM ; }
108  Double_t Eta() const { return fEta ; }
109  Double_t Y() const { Double_t e = E(); Double_t pz = Pz(); return 0.5*TMath::Log((e+pz)/(e-pz)); }
110  Short_t Charge() const { return 0 ; }
111  Int_t GetLabel() const { return fLabel ; }
112  Int_t PdgCode() const { return 0; }
113  const Double_t *PID() const { return 0; }
114 
115  // Other kinematic and jet properties
116  Double_t Phi_0_2pi() const { return TVector2::Phi_0_2pi(fPhi); }
117  Double_t Area() const { return fArea ; }
118  Double_t AreaPt() const { return fArea ; }
119  Double_t AreaEta() const { return fAreaEta ; }
120  Double_t AreaPhi() const { return fAreaPhi ; }
121  Double_t AreaE() const { return fAreaE ; }
122  Double_t AreaEmc() const { return fAreaEmc ; }
123  Bool_t AxisInEmcal() const { return fAxisInEmcal ; }
124  Short_t ClusterAt(Int_t idx) const { return fClusterIDs.At(idx) ; }
125  UShort_t GetNumberOfClusters() const { return fClusterIDs.GetSize() ; }
126  UShort_t GetNumberOfTracks() const { return fTrackIDs.GetSize() ; }
128  Double_t FracEmcalArea() const { return fAreaEmc/fArea ; }
129  Bool_t IsInsideEmcal() const { return (fAreaEmc/fArea>0.999) ; }
130  Bool_t IsInEmcal() const { return (Bool_t)(fAreaEmc > 0) ; }
131  Bool_t IsMC() const { return (Bool_t)(MCPt() > 0) ; }
132  Bool_t IsSortable() const { return kTRUE ; }
133  Double_t MaxNeutralPt() const { return fMaxNPt ; }
134  Double_t MaxChargedPt() const { return fMaxCPt ; }
135  Double_t NEF() const { return fNEF ; }
136  UShort_t Nn() const { return fNn ; }
137  UShort_t Nch() const { return fNch ; }
138  UShort_t N() const { return Nch()+Nn() ; }
139  Int_t NEmc() const { return fNEmc ; }
140  Double_t MCPt() const { return fMCPt ; }
141  Double_t MaxClusterPt() const { return MaxNeutralPt() ; }
142  Double_t MaxTrackPt() const { return MaxChargedPt() ; }
143  Double_t MaxPartPt() const { return fMaxCPt < fMaxNPt ? fMaxNPt : fMaxCPt; }
144  Double_t PtEmc() const { return fPtEmc ; }
145  Double_t PtSub() const { return fPtSub ; }
146  Double_t PtSubVect() const { return fPtSubVect ; }
147  Short_t TrackAt(Int_t idx) const { return fTrackIDs.At(idx) ; }
148 
149  // Background subtraction
150  Double_t PtSub(Double_t rho, Bool_t save = kFALSE) ;
151  Double_t PtSubVect(Double_t rho, Bool_t save = kFALSE) ;
152  TLorentzVector SubtractRhoVect(Double_t rho, Bool_t save = kFALSE);
153 
154  // Jet constituents
155  AliVCluster *ClusterAt(Int_t idx, TClonesArray *ca) const;
156  Int_t ContainsCluster(AliVCluster* cluster, TClonesArray* clusters) const;
157  Int_t ContainsCluster(Int_t ic) const;
158  AliVCluster *GetLeadingCluster(TClonesArray *clusters) const;
159  AliVParticle *TrackAt(Int_t idx, TClonesArray *ta) const;
160  Int_t ContainsTrack(AliVParticle* track, TClonesArray* tracks) const;
161  Int_t ContainsTrack(Int_t it) const;
162  AliVParticle *GetLeadingTrack(TClonesArray *tracks) const;
163 
164  // Fragmentation function
165  Double_t GetZ(const Double_t trkPx, const Double_t trkPy, const Double_t trkPz) const;
166  Double_t GetZ(const AliVParticle* trk ) const;
167  Double_t GetXi(const AliVParticle* trk ) const;
168  Double_t GetXi(const Double_t trkPx, const Double_t trkPy, const Double_t trkPz) const;
169 
170  // Other service methods
171  void GetMomentum(TLorentzVector &vec) const;
172  Double_t DeltaR(const AliVParticle* part) const;
173 
174  // Setters
175  void SetLabel(Int_t l) { fLabel = l; }
176  void SetArea(Double_t a) { fArea = a; }
177  void SetAreaEta(Double_t a) { fAreaEta = a; }
178  void SetAreaPhi(Double_t a) { fAreaPhi = TVector2::Phi_0_2pi(a); }
179  void SetAreaE(Double_t a) { fAreaE = a; }
180  void SetAreaEmc(Double_t a) { fAreaEmc = a; }
182  void SetMaxNeutralPt(Double32_t t) { fMaxNPt = t; }
183  void SetMaxChargedPt(Double32_t t) { fMaxCPt = t; }
184  void SetNEF(Double_t nef) { fNEF = nef; }
186  void SetNumberOfTracks(Int_t n) { fTrackIDs.Set(n); }
187  void SetNumberOfCharged(Int_t n) { fNch = n; }
188  void SetNumberOfNeutrals(Int_t n) { fNn = n; }
189  void SetMCPt(Double_t p) { fMCPt = p; }
190  void SetNEmc(Int_t n) { fNEmc = n; }
191  void SetPtEmc(Double_t pt) { fPtEmc = pt; }
192  void SetPtSub(Double_t ps) { fPtSub = ps; }
193  void SetPtSubVect(Double_t ps) { fPtSubVect = ps; }
194  void AddClusterAt(Int_t clus, Int_t idx){ fClusterIDs.AddAt(clus, idx); }
195  void AddTrackAt(Int_t track, Int_t idx) { fTrackIDs.AddAt(track, idx); }
196  void Clear(Option_t */*option*/="");
197 
198  // Sorting methods
199  void SortConstituents();
200  std::vector<int> GetPtSortedTrackConstituentIndexes(TClonesArray *tracks) const;
201 
202  // Trigger
203  Bool_t IsTriggerJet(UInt_t trigger=AliVEvent::kEMCEJE) const { return (Bool_t)((fTriggers & trigger) != 0); }
204  void SetTrigger(UInt_t trigger) { fTriggers = trigger; }
205  void AddTrigger(UInt_t trigger) { fTriggers |= trigger; }
206 
207  // Matching
208  void ResetMatching();
213  AliEmcalJet* ClosestJet() const { return fClosestJets[0] ; }
215  AliEmcalJet* SecondClosestJet() const { return fClosestJets[1] ; }
217  AliEmcalJet* MatchedJet() const { return fMatched < 2 ? fClosestJets[fMatched] : 0; }
219 
220  // Jet tagging
222  void SetTagStatus(Int_t i) { fTagStatus = i ; }
223  AliEmcalJet* GetTaggedJet() const { return fTaggedJet ; }
224  Int_t GetTagStatus() const { return fTagStatus ; }
225 
226  // Ghosts
227  void AddGhost(const Double_t dPx, const Double_t dPy, const Double_t dPz, const Double_t dE);
228  Bool_t HasGhost() const { return fHasGhost; }
229  const std::vector<TLorentzVector> GetGhosts() const { return fGhosts ; }
230 
231  // Debug printouts
232  void Print(Option_t* /*opt*/ = "") const;
233  void PrintConstituents(TClonesArray* tracks, TClonesArray* clusters) const;
234 
235  //heavy-flavor jets
236  Int_t GetFlavour() const { return fFlavourTagging; }
237  void AddFlavourTag(Int_t tag) { fFlavourTagging |= tag; }
238  void SetFlavour(Int_t flavour) { fFlavourTagging = flavour; }
239  Bool_t TestFlavourTag(Int_t tag) const { return (Bool_t)((tag & fFlavourTagging) !=0); }
241  void AddFlavourTrack(AliVParticle* hftrack);
242  AliVParticle *GetFlavourTrack(Int_t i=0) const;
243  Double_t GetFlavourTrackZ(Int_t i=0) const;
244  AliVParticle *RemoveFlavourTrack(Int_t i=0) ;
245 
246  // Jet shape
250 
251  // Jet geometrical acceptance
254 
255  protected:
257  Double32_t fPt; //[0,0,12]
259  Double32_t fEta; //[-1,1,12]
261  Double32_t fPhi; //[0,6.3,12]
263  Double32_t fM; //[0,0,8]
265  Double32_t fNEF; //[0,1,8]
267  Double32_t fArea; //[0,0,12]
269  Double32_t fAreaEta; //[0,0,12]
271  Double32_t fAreaPhi; //[0,0,12]
273  Double32_t fAreaE; //[0,0,12]
275  Double32_t fAreaEmc; //[0,0,12]
279  Double32_t fMaxCPt; //[0,0,12]
282  Double32_t fMaxNPt; //[0,0,12]
283  Double32_t fMCPt;
286  Double32_t fPtEmc; //[0,0,12]
292  Double32_t fClosestJetsDist[2];
301 
303  std::vector<TLorentzVector> fGhosts;
304 
307 
308  private:
313  struct sort_descend {
314  // first value of the pair is Pt and the second is entry index
315  bool operator () (const std::pair<Double_t, Int_t>& p1, const std::pair<Double_t, Int_t>& p2) { return p1.first > p2.first ; }
316  };
317 
319  ClassDef(AliEmcalJet,18);
321 };
322 
323 std::ostream &operator<<(std::ostream &in, const AliEmcalJet &jet);
324 #endif
TArrayI fTrackIDs
Array containing ids of track constituents.
Definition: AliEmcalJet.h:290
Double_t AreaEmc() const
Definition: AliEmcalJet.h:122
void SetMaxNeutralPt(Double32_t t)
Definition: AliEmcalJet.h:182
Int_t PdgCode() const
Definition: AliEmcalJet.h:112
void SetSecondClosestJet(AliEmcalJet *j, Double_t d)
Definition: AliEmcalJet.h:210
void SetTagStatus(Int_t i)
Definition: AliEmcalJet.h:222
Double_t fPtSubVect
! Background vector subtracted pt (not stored set from outside)
Definition: AliEmcalJet.h:298
Int_t NEmc() const
Definition: AliEmcalJet.h:139
Short_t Charge() const
Definition: AliEmcalJet.h:110
void AddFlavourTag(Int_t tag)
Definition: AliEmcalJet.h:237
Double_t Area() const
Definition: AliEmcalJet.h:117
void AddTrackAt(Int_t track, Int_t idx)
Definition: AliEmcalJet.h:195
Generic signal 2.
Definition: AliEmcalJet.h:75
Bool_t XvYvZv(Double_t x[3]) const
Definition: AliEmcalJet.h:102
double Double_t
Definition: External.C:58
AliEmcalJet * GetTaggedJet() const
Definition: AliEmcalJet.h:223
Double_t Xv() const
Definition: AliEmcalJet.h:99
Int_t fTagStatus
! Status of tagging -1: NA 0: not tagged 1: tagged
Definition: AliEmcalJet.h:296
Bool_t IsMC() const
Definition: AliEmcalJet.h:131
void SetTaggedJet(AliEmcalJet *j)
Definition: AliEmcalJet.h:221
Double_t GetXi(const AliVParticle *trk) const
Double_t MCPt() const
Definition: AliEmcalJet.h:140
Simple C structure to allow sorting in descending order.
Definition: AliEmcalJet.h:313
Double32_t fAreaE
Jet temporal area component.
Definition: AliEmcalJet.h:273
AliEmcalJet * ClosestJet() const
Definition: AliEmcalJet.h:213
Jet is tagged to contain a D* meson.
Definition: AliEmcalJet.h:72
Int_t GetTagStatus() const
Definition: AliEmcalJet.h:224
Double_t ClosestJetDistance() const
Definition: AliEmcalJet.h:214
TArrayI fClusterIDs
Array containing ids of cluster constituents.
Definition: AliEmcalJet.h:289
DCal acceptance.
Definition: AliEmcalJet.h:62
Bool_t AxisInEmcal() const
Definition: AliEmcalJet.h:123
void ClearFlavourTracks()
Definition: AliEmcalJet.h:240
Double_t Eta() const
Definition: AliEmcalJet.h:108
Int_t fLabel
! Label to inclusive jet for constituent subtracted jet
Definition: AliEmcalJet.h:300
Double_t fPtSub
! Background subtracted pt (not stored set from outside)
Definition: AliEmcalJet.h:297
Int_t GetFlavour() const
Definition: AliEmcalJet.h:236
Double_t Py() const
Definition: AliEmcalJet.h:94
void Clear(Option_t *="")
Double_t Phi() const
Definition: AliEmcalJet.h:104
JetAcceptanceType
Bit definition for jet geometry acceptance. Cut implemented in AliJetContainer by comparing jet's bit...
Definition: AliEmcalJet.h:57
Bool_t fHasGhost
! Whether ghost particle are included within the constituents
Definition: AliEmcalJet.h:302
void AddClusterAt(Int_t clus, Int_t idx)
Definition: AliEmcalJet.h:194
AliEmcalJet * MatchedJet() const
Definition: AliEmcalJet.h:217
Double_t AreaE() const
Definition: AliEmcalJet.h:121
Bool_t IsSortable() const
Definition: AliEmcalJet.h:132
Int_t GetLabel() const
Definition: AliEmcalJet.h:111
void SetArea(Double_t a)
Definition: AliEmcalJet.h:176
AliEmcalJetShapeProperties * fJetShapeProperties
! Pointer to the jet shape properties
Definition: AliEmcalJet.h:305
Full acceptance, i.e. no acceptance cut applied – left to user.
Definition: AliEmcalJet.h:64
Double_t FracEmcalArea() const
Definition: AliEmcalJet.h:128
Double_t MaxChargedPt() const
Definition: AliEmcalJet.h:134
AliEmcalJet & operator=(const AliEmcalJet &jet)
Double_t GetFlavourTrackZ(Int_t i=0) const
void SetAreaE(Double_t a)
Definition: AliEmcalJet.h:179
friend std::ostream & operator<<(std::ostream &in, const AliEmcalJet &jet)
void SetMCPt(Double_t p)
Definition: AliEmcalJet.h:189
Double_t E() const
Definition: AliEmcalJet.h:106
void SetPtSubVect(Double_t ps)
Definition: AliEmcalJet.h:193
UShort_t Nch() const
Definition: AliEmcalJet.h:137
AliVParticle * GetFlavourTrack(Int_t i=0) const
void SetLabel(Int_t l)
Definition: AliEmcalJet.h:175
Double_t AreaPt() const
Definition: AliEmcalJet.h:118
UShort_t GetNumberOfConstituents() const
Definition: AliEmcalJet.h:127
AliVParticle * RemoveFlavourTrack(Int_t i=0)
Int_t ContainsCluster(AliVCluster *cluster, TClonesArray *clusters) const
void SetMatchedToSecondClosest(UShort_t m)
Definition: AliEmcalJet.h:212
UShort_t GetNumberOfTracks() const
Definition: AliEmcalJet.h:126
AliEmcalJetShapeProperties * GetShapeProperties()
Definition: AliEmcalJet.h:248
Double_t Px() const
Definition: AliEmcalJet.h:93
std::ostream & Print(std::ostream &in) const
void ResetMatching()
void GetMomentum(TLorentzVector &vec) const
Double32_t fMCPt
Pt from MC particles contributing to the jet.
Definition: AliEmcalJet.h:283
Double32_t fMaxNPt
Pt of maximum neutral constituent.
Definition: AliEmcalJet.h:282
TPC fiducial acceptance (each eta edge narrowed by jet R)
Definition: AliEmcalJet.h:59
void SetJetAcceptanceType(UInt_t type)
Definition: AliEmcalJet.h:252
Double32_t fM
Jet mass.
Definition: AliEmcalJet.h:263
Double_t AreaEta() const
Definition: AliEmcalJet.h:119
Short_t ClusterAt(Int_t idx) const
Definition: AliEmcalJet.h:124
Bool_t IsInEmcal() const
Definition: AliEmcalJet.h:130
int Int_t
Definition: External.C:63
UShort_t GetNumberOfClusters() const
Definition: AliEmcalJet.h:125
AliVParticle * GetLeadingTrack(TClonesArray *tracks) const
TPC acceptance.
Definition: AliEmcalJet.h:58
unsigned int UInt_t
Definition: External.C:33
UShort_t GetMatchingType() const
Definition: AliEmcalJet.h:218
Double32_t fAreaPhi
Jet phi area.
Definition: AliEmcalJet.h:271
Double_t Yv() const
Definition: AliEmcalJet.h:100
UInt_t GetJetAcceptanceType() const
Definition: AliEmcalJet.h:253
void AddFlavourTrack(AliVParticle *hftrack)
EFlavourTag
Bit definition for the flavor tagging.
Definition: AliEmcalJet.h:71
EMCal acceptance.
Definition: AliEmcalJet.h:60
UShort_t fMatched
! 0 or 1 if it is matched with one of the closest jets; 2 if it is not matched
Definition: AliEmcalJet.h:293
std::vector< TLorentzVector > fGhosts
! Vector containing the ghost particles
Definition: AliEmcalJet.h:303
Double_t OneOverPt() const
Definition: AliEmcalJet.h:103
TString toString() const
Double_t PtSubVect() const
Definition: AliEmcalJet.h:146
Double32_t fArea
Jet transverse area.
Definition: AliEmcalJet.h:267
Double_t Theta() const
Definition: AliEmcalJet.h:105
Double_t MaxTrackPt() const
Definition: AliEmcalJet.h:142
AliVCluster * GetLeadingCluster(TClonesArray *clusters) const
AliEmcalJet * fTaggedJet
! Jet tagged to this jet
Definition: AliEmcalJet.h:295
Int_t ContainsTrack(AliVParticle *track, TClonesArray *tracks) const
Double_t Phi_0_2pi() const
Definition: AliEmcalJet.h:116
TLorentzVector SubtractRhoVect(Double_t rho, Bool_t save=kFALSE)
Generic background 1.
Definition: AliEmcalJet.h:76
virtual ~AliEmcalJet()
Double_t PtSub() const
Definition: AliEmcalJet.h:145
Double_t Y() const
Definition: AliEmcalJet.h:109
Double32_t fAreaEta
Jet eta area.
Definition: AliEmcalJet.h:269
void SetPtSub(Double_t ps)
Definition: AliEmcalJet.h:192
void SetMaxChargedPt(Double32_t t)
Definition: AliEmcalJet.h:183
void SetNEF(Double_t nef)
Definition: AliEmcalJet.h:184
const Double_t * PID() const
Definition: AliEmcalJet.h:113
Double_t MaxNeutralPt() const
Definition: AliEmcalJet.h:133
void AddGhost(const Double_t dPx, const Double_t dPy, const Double_t dPz, const Double_t dE)
Double_t GetZ(const Double_t trkPx, const Double_t trkPy, const Double_t trkPz) const
void SetNEmc(Int_t n)
Definition: AliEmcalJet.h:190
Double_t PtEmc() const
Definition: AliEmcalJet.h:144
Int_t fFlavourTagging
Tag jet with a flavor (use bits defined in enum EFlavourTag)
Definition: AliEmcalJet.h:277
AliEmcalJet * SecondClosestJet() const
Definition: AliEmcalJet.h:215
Double_t DeltaR(const AliVParticle *part) const
UShort_t N() const
Definition: AliEmcalJet.h:138
short Short_t
Definition: External.C:23
bool operator()(const std::pair< Double_t, Int_t > &p1, const std::pair< Double_t, Int_t > &p2)
Definition: AliEmcalJet.h:315
Double_t AreaPhi() const
Definition: AliEmcalJet.h:120
UInt_t fJetAcceptanceType
! Jet acceptance type (stored bitwise)
Definition: AliEmcalJet.h:306
Double_t Pt() const
Definition: AliEmcalJet.h:96
Double32_t fPtEmc
Pt in EMCAL acceptance.
Definition: AliEmcalJet.h:287
Bool_t HasGhost() const
Definition: AliEmcalJet.h:228
void SetNumberOfCharged(Int_t n)
Definition: AliEmcalJet.h:187
This class contains the derivative subtraction operators for jet shapes.
void SetAreaEta(Double_t a)
Definition: AliEmcalJet.h:177
Jet is tagged to contain a D0 meson.
Definition: AliEmcalJet.h:73
Double32_t fPt
Jet transverse momentum.
Definition: AliEmcalJet.h:257
Double_t P() const
Definition: AliEmcalJet.h:97
std::ostream & operator<<(std::ostream &in, const AliEmcalJet &jet)
Bool_t IsInsideEmcal() const
Definition: AliEmcalJet.h:129
void SetClosestJet(AliEmcalJet *j, Double_t d)
Definition: AliEmcalJet.h:209
Double32_t fEta
Jet pseudo-rapidity.
Definition: AliEmcalJet.h:259
Double32_t fMaxCPt
Pt of maximum charged constituent.
Definition: AliEmcalJet.h:280
Short_t TrackAt(Int_t idx) const
Definition: AliEmcalJet.h:147
Double_t SecondClosestJetDistance() const
Definition: AliEmcalJet.h:216
Bool_t TestFlavourTag(Int_t tag) const
Definition: AliEmcalJet.h:239
Double32_t fAreaEmc
Area on EMCAL surface (determined by ghosts in EMCal acceptance)
Definition: AliEmcalJet.h:275
UShort_t Nn() const
Definition: AliEmcalJet.h:136
Double_t MaxClusterPt() const
Definition: AliEmcalJet.h:141
Represent a jet reconstructed using the EMCal jet framework.
Definition: AliEmcalJet.h:44
Int_t fNn
Number of neutral constituents.
Definition: AliEmcalJet.h:284
void SetNumberOfTracks(Int_t n)
Definition: AliEmcalJet.h:186
Bool_t PxPyPz(Double_t p[3]) const
Definition: AliEmcalJet.h:98
unsigned short UShort_t
Definition: External.C:28
Double_t Pz() const
Definition: AliEmcalJet.h:95
const std::vector< TLorentzVector > GetGhosts() const
Definition: AliEmcalJet.h:229
void SetTrigger(UInt_t trigger)
Definition: AliEmcalJet.h:204
void SetFlavour(Int_t flavour)
Definition: AliEmcalJet.h:238
const char Option_t
Definition: External.C:48
UInt_t fTriggers
! Triggers that the jet might have fired (AliVEvent::EOfflineTriggerTypes)
Definition: AliEmcalJet.h:299
Bool_t fAxisInEmcal
Whether the jet axis is inside the EMCAL acceptance.
Definition: AliEmcalJet.h:276
void SortConstituents()
Int_t fNEmc
Number of constituents in EMCAL acceptance.
Definition: AliEmcalJet.h:288
void CreateShapeProperties()
Definition: AliEmcalJet.h:249
Generic signal 1.
Definition: AliEmcalJet.h:74
Generic background 2.
Definition: AliEmcalJet.h:77
Double32_t fPhi
Jet axis azimuthal angle.
Definition: AliEmcalJet.h:261
DCal fiducial acceptance (each eta, phi edge narrowed by jet R)
Definition: AliEmcalJet.h:63
AliEmcalJet * fClosestJets[2]
! If this is MC it contains the two closest detector level jets in order of distance and viceversa ...
Definition: AliEmcalJet.h:291
bool Bool_t
Definition: External.C:53
AliEmcalJetShapeProperties * GetShapeProperties() const
Definition: AliEmcalJet.h:247
void AddTrigger(UInt_t trigger)
Definition: AliEmcalJet.h:205
Double_t NEF() const
Definition: AliEmcalJet.h:135
void SetAreaPhi(Double_t a)
Definition: AliEmcalJet.h:178
void SetPtEmc(Double_t pt)
Definition: AliEmcalJet.h:191
Bool_t IsTriggerJet(UInt_t trigger=AliVEvent::kEMCEJE) const
Definition: AliEmcalJet.h:203
Double32_t fNEF
Jet Neutral Energy Fraction.
Definition: AliEmcalJet.h:265
Double32_t fClosestJetsDist[2]
! Distance from the two closest jets
Definition: AliEmcalJet.h:292
UShort_t fMatchingType
! Matching type
Definition: AliEmcalJet.h:294
Double_t M() const
Definition: AliEmcalJet.h:107
EMCal fiducial acceptance (each eta, phi edge narrowed by jet R)
Definition: AliEmcalJet.h:61
Int_t Compare(const TObject *obj) const
Double_t MaxPartPt() const
Definition: AliEmcalJet.h:143
Generic background 3.
Definition: AliEmcalJet.h:78
void SetMatchedToClosest(UShort_t m)
Definition: AliEmcalJet.h:211
void SetNumberOfClusters(Int_t n)
Definition: AliEmcalJet.h:185
std::vector< int > GetPtSortedTrackConstituentIndexes(TClonesArray *tracks) const
Double_t Zv() const
Definition: AliEmcalJet.h:101
void SetAxisInEmcal(Bool_t b)
Definition: AliEmcalJet.h:181
TObjArray * fFlavourTracks
Definition: AliEmcalJet.h:278
void SetAreaEmc(Double_t a)
Definition: AliEmcalJet.h:180
void PrintConstituents(TClonesArray *tracks, TClonesArray *clusters) const
void SetNumberOfNeutrals(Int_t n)
Definition: AliEmcalJet.h:188