AliPhysics  5403132 (5403132)
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 ;}
52 
54 
55  const char * njetsData, //data jets
56  const char * njetsTrue, //Pythia Particle Level
57  const char * njetsDet,
58  const char * njetsHybridUs,
59  const char * njetsHybridS,
60  const Double_t R,
61  const char * nrhoBase,
62  const char * ntracksData,
63  const char * ntracksTrue,
64  const char * ntracksDet,
65  const char * ntracksHybridUs,
66  const char * ntracksHybridS,
67  const char *type,
68  const char *CentEst,
69  Int_t pSel,
70  TString trigClass = "",
71  TString kEmcalTriggers = "",
72  TString tag = "",
73  AliAnalysisTaskRecursiveSoftDrop::JetShapeSub jetShapeSub = JetShapeSub::kConstSub,
75  );
76 
77 
78  protected:
80  Bool_t Run();
82  void RecursiveParents(AliEmcalJet *fJet,AliJetContainer *fJetCont,Bool_t bTruth);
83 
84 
85  Int_t fContainer; // jets to be analyzed 0 for Base, 1 for subtracted.
86  Double_t fShapesVar_Det[5]; // jet shapes used for the tagging
87  Double_t fShapesVar_True[5]; // jet shapes used for the tagging
88  JetShapeSub fJetShapeSub; // jet subtraction to be used
89  JetType fJetType; // jet type data/embedded
90  Float_t fPtThreshold; // jet pt threshold
91  Float_t fSharedFractionPtMin; // minimum pt shared fraction to be used to match jets
93 
94  Bool_t fCentSelectOn; // switch on/off centrality selection
95  Float_t fCentMin; // min centrality value
96  Float_t fCentMax; // max centrality value
97  Double_t fJetRadius; // radius used in jet finding
98 
99 
100  TH1F *fhJetPt;
101  TH1F *fhJetPhi;
102  TH1F *fhJetEta;
104 
107 
108  private:
111 
113 };
114 #endif
115 
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)
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