AliPhysics  31210d0 (31210d0)
AliAnalysisTaskRecursiveSoftDrop.h
Go to the documentation of this file.
1 #ifndef ALIANALYSISTASKRECURSIVESOFTDROP_H
2 #define ALIANALYSISTASKRECURSIVESOFTDROP_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 class AliEmcalJetFinder;
15 class AliFJWrapper;
16 
18 #include "AliFJWrapper.h"
19 #include "AliClusterContainer.h"
20 #include "FJ_includes.h"
21 
23  public:
24 
25 
26  enum JetShapeSub {
27  kNoSub = 0,
29  };
30  enum JetType {
31  kData = 0,
32  kEmb = 1,
34  };
35 
37  AliAnalysisTaskRecursiveSoftDrop(const char *name);
39 
41  void Terminate(Option_t *option);
42 
43  //Setters
50  void SetJetType(JetType t) { fJetType = t ;}
53 
55 
56  const char * njetsData, //data jets
57  const char * njetsTrue, //Pythia Particle Level
58  const char * njetsDet,
59  const char * njetsHybridUs,
60  const char * njetsHybridS,
61  const Double_t R,
62  const char * nrhoBase,
63  const char * ntracksData,
64  const char * ntracksTrue,
65  const char * ntracksDet,
66  const char * ntracksHybridUs,
67  const char * ntracksHybridS,
68  const char *type,
69  const char *CentEst,
70  Int_t pSel,
71  TString trigClass = "",
72  TString kEmcalTriggers = "",
73  TString tag = "",
74  AliAnalysisTaskRecursiveSoftDrop::JetShapeSub jetShapeSub = JetShapeSub::kConstSub,
76  );
77 
78 
79  protected:
81  Bool_t Run();
83  void RecursiveParents(AliEmcalJet *fJet,AliJetContainer *fJetCont,Bool_t bTruth);
84 
85 
86  Int_t fContainer; // jets to be analyzed 0 for Base, 1 for subtracted.
87  Double_t fShapesVar_Det[5]; // jet shapes used for the tagging
88  Double_t fShapesVar_True[5]; // jet shapes used for the tagging
89  JetShapeSub fJetShapeSub; // jet subtraction to be used
90  JetType fJetType; // jet type data/embedded
91  Float_t fPtThreshold; // jet pt threshold
92  Float_t fSharedFractionPtMin; // minimum pt shared fraction to be used to match jets
94 
95  Bool_t fCentSelectOn; // switch on/off centrality selection
96  Float_t fCentMin; // min centrality value
97  Float_t fCentMax; // max centrality value
98  Double_t fJetRadius; // radius used in jet finding
102 
103 
104  TH1F *fhJetPt;
105  TH1F *fhJetPhi;
106  TH1F *fhJetEta;
108 
111 
112  private:
115 
117 };
118 #endif
119 
Bool_t RetrieveEventObjects()
Retrieve common objects from event.
double Double_t
Definition: External.C:58
Definition: External.C:260
AliAnalysisTaskRecursiveSoftDrop & operator=(const AliAnalysisTaskRecursiveSoftDrop &)
Definition: External.C:244
void RecursiveParents(AliEmcalJet *fJet, AliJetContainer *fJetCont, Bool_t bTruth)
TCanvas * c
Definition: TestFitELoss.C:172
Bool_t FillHistograms()
Function filling histograms.
TString kData
Declare data MC or deltaAOD.
int Int_t
Definition: External.C:63
float Float_t
Definition: External.C:68
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.
static AliAnalysisTaskRecursiveSoftDrop * AddTaskRecursiveSoftDrop(const char *njetsData, const char *njetsTrue, const char *njetsDet, const char *njetsHybridUs, const char *njetsHybridS, const Double_t R, const char *nrhoBase, const char *ntracksData, const char *ntracksTrue, const char *ntracksDet, const char *ntracksHybridUs, const char *ntracksHybridS, const char *type, const char *CentEst, Int_t pSel, TString trigClass="", TString kEmcalTriggers="", TString tag="", AliAnalysisTaskRecursiveSoftDrop::JetShapeSub jetShapeSub=JetShapeSub::kConstSub, AliAnalysisTaskRecursiveSoftDrop::JetType fjetType=JetType::kData)
void AddMedScat(Bool_t b, Float_t f, Int_t n)
Definition: External.C:220
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
bool Bool_t
Definition: External.C:53
Container for jet within the EMCAL jet framework.
Definition: External.C:196