AliPhysics  9b6b435 (9b6b435)
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
33  void SetMinFractionShared(Double_t f, Bool_t useUnsubJet = kFALSE) { fMinFractionShared = f ; SetUseUnsubJet(useUnsubJet); }
36  void SetUseSumw2(Bool_t b) { fUseSumw2 = b ; }
37 
38  protected:
40  Bool_t Run();
42 
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 
86  THnSparse *fhnJetPtMassAndBkg;
87 
90 
91  ClassDef(AliAnalysisTaskEmcalJetMass, 11)
92 };
93 #endif
94 
TH3F * fh3PtJet1VsMassVsCentTagged
all jets after std selection: pt vs mass vs centrality
double Double_t
Definition: External.C:58
Definition: External.C:260
Definition: External.C:236
THnSparse * fhnJetPtMassAndBkg
jet pt vs mass vs (phi-ep) for tagged matched jets
Definition: External.C:244
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
TCanvas * c
Definition: TestFitELoss.C:172
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)
Bool_t RetrieveEventObjects()
Retrieve common objects from event.
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.
TH3F ** fh3JetPtVsMassVsEPRelTaggedMatch
jet pt vs mass vs (phi-ep) for tagged jets
TH2F ** fh2RatVsNConstJet1All
mass/pt vs area of tagged jets matched to MC
int Int_t
Definition: External.C:63
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
Definition: External.C:220
Base task in the EMCAL jet framework.
Represent a jet reconstructed using the EMCal jet framework.
Definition: AliEmcalJet.h:51
AliAnalysisTaskEmcalJetMass & operator=(const AliAnalysisTaskEmcalJetMass &)
TH2F ** fh2MassVsAreaJet1TaggedMatch
mass vs area of tagged jets
const char Option_t
Definition: External.C:48
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
bool Bool_t
Definition: External.C:53
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
Container for jet within the EMCAL jet framework.
Definition: External.C:196
Bool_t FillHistograms()
Function filling histograms.
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