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