AliPhysics  8bb951a (8bb951a)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliAnalysisTaskEmcalJetMass.h
Go to the documentation of this file.
1 #ifndef ALIANALYSISTASKEMCALJETMASS_H
2 #define ALIANALYSISTASKEMCALJETMASS_H
3 
4 class TH1;
5 class TH2;
6 class TH3;
7 class TH3F;
8 class THnSparse;
9 class TClonesArray;
10 class TArrayI;
11 class AliAnalysisManager;
12 class AliJetContainer;
13 
15 
17  public:
18  enum JetMassType {
19  kRaw = 0, //mass form anti-kt 4-vector
20  kDeriv = 1 //area based subtracted jet mass
21  };
22 
24  AliAnalysisTaskEmcalJetMass(const char *name);
26 
28  void Terminate(Option_t *option);
29 
30  //Setters
31  void SetJetContainerBase(Int_t c) { fContainerBase = c ; }
32  void SetJetContainerUnsub(Int_t c) { fContainerUnsub = c ; }
33  void SetMinFractionShared(Double_t f, Bool_t useUnsubJet = kFALSE) { fMinFractionShared = f ; SetUseUnsubJet(useUnsubJet); }
34  void SetUseUnsubJet(Bool_t b) { fUseUnsubJet = b ; }
36  void SetUseSumw2(Bool_t b) { fUseSumw2 = b ; }
37 
38  protected:
39  Bool_t RetrieveEventObjects();
40  Bool_t Run();
41  Bool_t FillHistograms();
42 
43  Double_t GetJetMass(AliEmcalJet *jet);
44 
45  private:
46  Int_t fContainerBase; // jets to be analyzed
47  Int_t fContainerUnsub; // unsubtracted jets
48  Double_t fMinFractionShared; // only fill histos for jets if shared fraction larger than X
49  Bool_t fUseUnsubJet; // calc fraction of unsubtracted jet (relevant for constituent subtraction)
50  JetMassType fJetMassType; // jet mass type to be used
51  Bool_t fUseSumw2; // activate sumw2 for output histograms
52 
56  TProfile **fpPtVsMassJet1All;
57  TProfile **fpPtVsMassJet1Tagged;
65 
69 
73  TProfile **fpPtVsRatJet1All;
74  TProfile **fpPtVsRatJet1Tagged;
82 
90 
91  ClassDef(AliAnalysisTaskEmcalJetMass, 11)
92 };
93 #endif
94 
TH3F * fh3PtJet1VsMassVsCentTagged
all jets after std selection: pt vs mass vs centrality
TH2F ** fh2MassVsNConstJet1Tagged
mass vs number of constituents of all jets
TH3F ** fh3JetPtVsMassVsEPRelTagged
jet pt vs mass vs (phi-ep) for all jets
TH3F * fh3PtJet1VsMassVsCentTaggedMatch
tagged jets: pt vs mass vs centrality
TH2F ** fh2MassVsAreaJet1Tagged
mass vs area of all jets
TProfile ** fpPtVsRatJet1Tagged
pT vs avg mass/pt of all jets
TProfile ** fpPtVsMassJet1TaggedMatch
pT vs avg mass of tagged jets
TH3F * fh3PtJet1VsMassVsCentAllSel
mass vs number of constituents of tagged jets matched to MC
TH3F ** fh3PtJet1VsRatVsLeadPtTaggedMatch
tagged jets pt vs mass/pt vs leading track pt
void SetMinFractionShared(Double_t f, Bool_t useUnsubJet=kFALSE)
TH3F * fh3RhoVsLeadJetPtVsCent
jet pt vs mass vs (phi-ep) for tagged matched jets
TH3F ** fh3JetPtVsMassVsEPRelTaggedMatch
jet pt vs mass vs (phi-ep) for tagged jets
TH2F ** fh2RatVsNConstJet1All
mass/pt vs area of tagged jets matched to MC
TProfile ** fpPtVsMassJet1Tagged
pT vs avg mass of all jets
TH3F ** fh3PtJet1VsMassVsLeadPtTagged
all jets after std selection pt vs mass vs leading track pt
TH2F ** fh2RatVsAreaJet1Tagged
mass/pt vs area of all jets
TH2F ** fh2MassVsAreaJet1All
pT vs avg mass of tagged jets matched to MC
TProfile ** fpPtVsRatJet1TaggedMatch
pT vs avg mass/pt of tagged jets
TH2F ** fh2RatVsNConstJet1Tagged
mass/pt vs number of constituents of all jets
TProfile ** fpPtVsMassJet1All
tagged jets pt vs mass vs leading track pt matched to MC
TH2F ** fh2MassVsNConstJet1All
mass vs area of tagged jets matched to MC
TH2F ** fh2RatVsAreaJet1All
pT vs avg mass/pt of tagged jets matched to MC
TH2F ** fh2RatVsAreaJet1TaggedMatch
mass/pt vs area of tagged jets
TH2F ** fh2MassVsNConstJet1TaggedMatch
mass vs number of constituents of tagged jets
AliAnalysisTaskEmcalJetMass & operator=(const AliAnalysisTaskEmcalJetMass &)
TH2F ** fh2MassVsAreaJet1TaggedMatch
mass vs area of tagged jets
TH3F ** fh3PtJet1VsRatVsLeadPtTagged
all jets after std selection pt vs mass/pt vs leading track pt
TH3F ** fh3PtJet1VsRatVsLeadPtAllSel
tagged jets: pt vs mass vs centrality matched to MC
TH3F ** fh3PtJet1VsMassVsLeadPtTaggedMatch
tagged jets pt vs mass vs leading track pt
TProfile ** fpPtVsRatJet1All
tagged jets pt vs mas/pts vs leading track pt matched to MC
TH3F * fh3RhoMVsLeadJetPtVsCent
Rho vs pT leading jet (non sub) vs centrality.
TH2F ** fh2RatVsNConstJet1TaggedMatch
mass/pt vs number of constituents of tagged jets
TH3F ** fh3JetPtVsMassVsEPRelAllSel
mass/pt vs number of constituents of tagged jets matched to MC