AliPhysics  6cf2591 (6cf2591)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliAnalysisTaskJetShapeGR.h
Go to the documentation of this file.
1 #ifndef ALIANALYSISTASKJETSHAPEGR_H
2 #define ALIANALYSISTASKJETSHAPEGR_H
3 
4 class TH1;
5 class TH2;
6 class TH3;
7 class TH3F;
8 class THnSparse;
9 class TF1;
10 class TLorentzVector;
11 class TClonesArray;
12 class TArrayI;
13 class TTree;
14 class TLorentzVector;
15 class AliAnalysisManager;
16 class AliVParticle;
17 class AliJetContainer;
18 
19 namespace fastjet {
20  class PseudoJet;
21  class GenericSubtractor;
22 }
23 
25 
27  public:
28 
30  AliAnalysisTaskJetShapeGR(const char *name);
32 
34  void Terminate(Option_t *option);
35 
36  //Setters
37  void SetCreateTree(Bool_t b) { fCreateTree = b ; }
38 
44 
45  protected:
47  Bool_t Run();
50 
51  AliVParticle* GetEmbeddedConstituent(AliEmcalJet *jet);
52 
53  Double_t CalcGR(AliEmcalJet *jet, Int_t ic);
54  Double_t CalcDeltaGR(AliEmcalJet *jet, Int_t ic, TArrayF *fNum, TArrayF *fDen);//Double_t *num, Double_t *den);
56 
57  Int_t fContainerBase; // jets to be analyzed
58  Int_t fContainerSub; // subtracted jets to be analyzed
59  Int_t fContainerTrue; // true jets to be analyzed
60  Double_t fMinFractionShared; // only fill histos for jets if shared fraction larger than X
61  Bool_t fSingleTrackEmb; // single track embedding
62  Bool_t fCreateTree; // create output tree
63 
65  TLorentzVector *fJet1Vec; // jet1(AA) vector
66  TLorentzVector *fJet2Vec; // jet2(probe) vector
67  TLorentzVector *fJetSubVec; // subtracted AA jet vector
68  Float_t fArea; // area
69  Float_t fAreaPhi; // area phi
70  Float_t fAreaEta; // area eta
71  Float_t fRho; // rho
72  Float_t fRhoM; // rho_m
73  Int_t fNConst; // N constituents in jet1
74  Int_t fMatch; // 1: matched to MC jet; 0: no match
75  Double_t fDRStep; // step width
76  Double_t fMaxR; // max R
77 
80  THnSparse **fhnGRResponse;
81 
82  //Histos for true jets
83  TH1F **fh1PtTrue;
88 
89  //Histos for raw AA jets
90  TH1F **fh1PtRaw;
95 
96  //Histos for raw AA jets matched to MC
97  TH1F **fh1PtRawMatch;
102 
103  //Histos for matched jets and subtracted
104  TH1F **fh1PtMatch;
111 
112  private:
113  AliAnalysisTaskJetShapeGR(const AliAnalysisTaskJetShapeGR&); // not implemented
115 
116  ClassDef(AliAnalysisTaskJetShapeGR, 1)
117 };
118 #endif
119 
120 
121 
TH2F ** fh2DeltaGRDenRPtRaw
Numerator of DeltaGR vs R vs Pt : filled with weights of sum.
double Double_t
Definition: External.C:58
TH2F ** fh2DeltaGRDenRPtMatch
Numerator of DeltaGR vs R vs Pt : filled with weights of sum.
TH3F ** fh3DeltaGRNumRPtRaw
bookkeep number of jets vs Pt
Definition: External.C:260
Definition: External.C:236
TH3F ** fh3DeltaGRDenRPtTrue
Numerator of DeltaGR vs R vs Pt.
Definition: External.C:244
TH2F ** fh2DeltaGRNumRPtTrueMatch
Denomerator of DeltaGR vs R vs Pt : filled with weights of sum.
Double_t GetDeltaPhi(Double_t phi1, Double_t phi2)
TH2F ** fh2DeltaGRNumRPtRawMatch
Denomerator of DeltaGR vs R vs Pt.
TCanvas * c
Definition: TestFitELoss.C:172
TH3F ** fh3DeltaGRNumRPtTrue
bookkeep number of jets vs Pt
THnSparse ** fhnGRResponse
true jet pT vs (Msub - Mtrue)/Mtrue
AliVParticle * GetEmbeddedConstituent(AliEmcalJet *jet)
TH2F ** fh2DeltaGRNumRPtMatch
Denomerator of DeltaGR vs R vs Pt.
Double_t CalcDeltaGR(AliEmcalJet *jet, Int_t ic, TArrayF *fNum, TArrayF *fDen)
TH2F ** fh2DeltaGRNumRPtRaw
Denomerator of DeltaGR vs R vs Pt.
int Int_t
Definition: External.C:63
TH2F ** fh2PtTrueDeltaGRRel
true jet pT vs (Msub - Mtrue)
float Float_t
Definition: External.C:68
TH3F ** fh3DeltaGRDenRPtRaw
Numerator of DeltaGR vs R vs Pt.
TH2F ** fh2DeltaGRDenRPtTrueMatch
Numerator of DeltaGR vs R vs Pt : filled with weights of sum.
TH3F ** fh3DeltaGRDenRPtMatch
Numerator of DeltaGR vs R vs Pt.
TH3F ** fh3DeltaGRNumRPtMatch
bookkeep number of jets vs Pt
TH1F ** fh1PtMatch
Denomerator of DeltaGR vs R vs Pt : filled with weights of sum.
TLorentzVector * fJet1Vec
tree with jet and bkg variables
TH1F ** fh1PtRawMatch
Denomerator of DeltaGR vs R vs Pt : filled with weights of sum.
TH2F ** fh2DeltaGRDenRPtRawMatch
Numerator of DeltaGR vs R vs Pt : filled with weights of sum.
TH1F ** fh1PtTrue
Msub vs Mtrue vs PtCorr vs PtTrue.
TH2F ** fh2DeltaGRNumRPtTrue
Denomerator of DeltaGR vs R vs Pt.
AliAnalysisTaskJetShapeGR & operator=(const AliAnalysisTaskJetShapeGR &)
Definition: External.C:220
Base task in the EMCAL jet framework.
Represent a jet reconstructed using the EMCal jet framework.
Definition: AliEmcalJet.h:44
const char Option_t
Definition: External.C:48
TH1F ** fh1PtRaw
Denomerator of DeltaGR vs R vs Pt : filled with weights of sum.
TH3F ** fh3DeltaGRDenRPtRawMatch
Numerator of DeltaGR vs R vs Pt.
bool Bool_t
Definition: External.C:53
TH3F ** fh3DeltaGRNumRPtRawMatch
bookkeep number of jets vs Pt
Double_t CalcGR(AliEmcalJet *jet, Int_t ic)
TH2F ** fh2DeltaGRDenRPtTrue
Numerator of DeltaGR vs R vs Pt : filled with weights of sum.
Container for jet within the EMCAL jet framework.
Definition: External.C:196