AliPhysics  d565ceb (d565ceb)
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
33  };
34 
36  AliAnalysisTaskRecursiveSoftDrop(const char *name);
38 
40  void Terminate(Option_t *option);
41 
42  //Setters
49  void SetJetType(JetType t) { fJetType = t ;}
51 
53 
54  const char * njetsData, //data jets
55  const char * njetsTrue, //Pythia Particle Level
56  const char * njetsDet,
57  const char * njetsHybridUs,
58  const char * njetsHybridS,
59  const Double_t R,
60  const char * nrhoBase,
61  const char * ntracksData,
62  const char * ntracksTrue,
63  const char * ntracksDet,
64  const char * ntracksHybridUs,
65  const char * ntracksHybridS,
66  const char *type,
67  const char *CentEst,
68  Int_t pSel,
69  TString trigClass = "",
70  TString kEmcalTriggers = "",
71  TString tag = "",
72  AliAnalysisTaskRecursiveSoftDrop::JetShapeSub jetShapeSub = JetShapeSub::kConstSub,
74  );
75 
76 
77  protected:
79  Bool_t Run();
81  void RecursiveParents(AliEmcalJet *fJet,AliJetContainer *fJetCont,Bool_t bTruth);
82 
83 
84  Int_t fContainer; // jets to be analyzed 0 for Base, 1 for subtracted.
85  Double_t fShapesVar_Det[4]; // jet shapes used for the tagging
86  Double_t fShapesVar_True[4]; // jet shapes used for the tagging
87  JetShapeSub fJetShapeSub; // jet subtraction to be used
88  JetType fJetType; // jet type data/embedded
89  Float_t fPtThreshold; // jet pt threshold
90  Float_t fSharedFractionPtMin; // minimum pt shared fraction to be used to match jets
92 
93  Bool_t fCentSelectOn; // switch on/off centrality selection
94  Float_t fCentMin; // min centrality value
95  Float_t fCentMax; // max centrality value
96  Double_t fJetRadius; // radius used in jet finding
97 
98 
99  TH1F *fhJetPt;
100  TH1F *fhJetPhi;
101  TH1F *fhJetEta;
103 
106 
107  private:
110 
112 };
113 #endif
114 
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