AliPhysics  d9e9949 (d9e9949)
AliAnalysisTaskEmcalJetShapeExtra.h
Go to the documentation of this file.
1 #ifndef AliAnalysisTaskEmcalJetShapeExtra_H
2 #define AliAnalysisTaskEmcalJetShapeExtra_H
3 
4 class TH1;
5 class TH2;
6 class TH3;
7 class TH3F;
8 class TTree;
9 class THnSparse;
10 class TClonesArray;
11 class TArrayI;
12 class AliAnalysisManager;
13 class AliJetContainer;
14 
16 
17 
18 
20  public:
21 
22 
23  enum JetShapeType {
24 
25  kData = 2, // raw data
26 
28 
29  };
30  enum JetShapeSub {
31  kNoSub = 0,
32  kConstSub = 1,
34  };
35 
36 
38  AliAnalysisTaskEmcalJetShapeExtra(const char *name);
40 
42  void Terminate(Option_t *option);
43 
44  //Setters
46 
49 
50 
51 
52  protected:
54  Bool_t Run();
56 
57  Float_t GetJetMass(AliEmcalJet *jet,Int_t jetContNb);
58  Float_t Angularity(AliEmcalJet *jet, Int_t jetContNb);
59  Float_t GetJetAngularity(AliEmcalJet *jet, Int_t jetContNb);
60  Float_t PTD(AliEmcalJet *jet, Int_t jetContNb);
61  Float_t GetJetpTD(AliEmcalJet *jet, Int_t jetContNb);
62  Float_t Circularity(AliEmcalJet *jet, Int_t jetContNb);
63  Float_t GetJetCircularity(AliEmcalJet *jet, Int_t jetContNb);
64  Float_t LeSub(AliEmcalJet *jet, Int_t jetContNb);
65  Float_t GetJetLeSub(AliEmcalJet *jet, Int_t jetContNb);
67  Float_t GetSigma2(AliEmcalJet *jet, Int_t jetContNb);
68  Float_t Sigma2(AliEmcalJet *jet, Int_t jetContNb);
69 
70 
72 
73  Int_t fContainer; // jets to be analyzed 0 for Base, 1 for subtracted.
74 
75  JetShapeType fJetShapeType; // jet type to be used
76  JetShapeSub fJetShapeSub; // jet subtraction to be used
77  //JetSelectionType fJetSelection; // Jet selection: inclusive/recoil jet
78  Float_t fShapesVar[18]; // jet shapes used for the tagging
79 
80 
81 
83 
84  TH1F *fPtJet;
85  TH1F *fNumberOfJet;
87 
88  TTree *fTreeObservableTagging; // Tree with tagging variables subtracted MC or true MC or raw
89 
90  private:
93 
95 };
96 #endif
97 
double Double_t
Definition: External.C:58
Definition: External.C:260
Float_t GetJetNumberOfConstituents(AliEmcalJet *jet, Int_t jetContNb)
Definition: External.C:236
Double_t RelativePhi(Double_t mphi, Double_t vphi)
Definition: External.C:244
Float_t GetJetLeSub(AliEmcalJet *jet, Int_t jetContNb)
Float_t GetJetAngularity(AliEmcalJet *jet, Int_t jetContNb)
Bool_t RetrieveEventObjects()
Retrieve common objects from event.
TCanvas * c
Definition: TestFitELoss.C:172
Float_t Circularity(AliEmcalJet *jet, Int_t jetContNb)
Float_t GetJetMass(AliEmcalJet *jet, Int_t jetContNb)
int Int_t
Definition: External.C:63
Float_t PTD(AliEmcalJet *jet, Int_t jetContNb)
float Float_t
Definition: External.C:68
AliAnalysisTaskEmcalJetShapeExtra & operator=(const AliAnalysisTaskEmcalJetShapeExtra &)
Bool_t FillHistograms()
Function filling histograms.
Float_t GetJetpTD(AliEmcalJet *jet, Int_t jetContNb)
Float_t GetJetCircularity(AliEmcalJet *jet, Int_t jetContNb)
Float_t GetSigma2(AliEmcalJet *jet, Int_t jetContNb)
Definition: External.C:220
Float_t Angularity(AliEmcalJet *jet, Int_t jetContNb)
Bool_t Run()
Run function. This is the core function of the analysis and contains the user code. Therefore users have to implement this function.
Base task in the EMCAL jet framework.
Represent a jet reconstructed using the EMCal jet framework.
Definition: AliEmcalJet.h:51
const char Option_t
Definition: External.C:48
Float_t Sigma2(AliEmcalJet *jet, Int_t jetContNb)
bool Bool_t
Definition: External.C:53
Float_t LeSub(AliEmcalJet *jet, Int_t jetContNb)
Container for jet within the EMCAL jet framework.
Definition: External.C:196