AliPhysics  d565ceb (d565ceb)
AliEmcalJetUtilityGenSubtractor.h
Go to the documentation of this file.
1 #ifndef ALIEMCALJETUTILITYGENSUBTRACTOR_H
2 #define ALIEMCALJETUTILITYGENSUBTRACTOR_H
3 
4 #include <TNamed.h>
5 
6 #include "AliEmcalJetUtility.h"
7 #include "AliFJWrapper.h"
8 
9 class AliEmcalJetTask;
10 class AliEmcalJet;
11 class AliFJWrapper;
12 class AliRhoParameter;
13 
15 {
16  public:
17 
19  AliEmcalJetUtilityGenSubtractor(const char* name);
23 
24  void Init();
25  void InitEvent(AliFJWrapper& fjw);
26  void Prepare(AliFJWrapper& fjw);
27  void ProcessJet(AliEmcalJet* jet, Int_t ij, AliFJWrapper& fjw);
28  void Terminate(AliFJWrapper& fjw);
29 
30  void SetRhoName(const char *n) { fRhoName = n ; }
31  void SetRhomName(const char *n) { fRhomName = n ; }
32 
35  Double_t dr = 0.04, Double_t ptmin = 0.) { fDoGenericSubtractionGR = b; fRMax = rmax; fDRStep = dr; fPtMinGR = ptmin;}
39 
40  protected:
41 
42  Bool_t fDoGenericSubtractionJetMass; // calculate generic subtraction
43  Bool_t fDoGenericSubtractionGR; // calculate generic subtraction for angular structure function GR
44  Bool_t fDoGenericSubtractionExtraJetShapes; // calculate generic subtraction for other jet shapes like radialmoment,pTD etc
45  Bool_t fDoGenericSubtractionNsubjettiness; // calculate generic subtraction for 1subjettiness, 2subjettiness and the opening Angle between subjets
46  Bool_t fUseExternalBkg; // use external background for generic subtractor
47  TString fRhoName; // name of rho
48  TString fRhomName; // name of rhom
49  Double_t fRho; // pT background density
50  Double_t fRhom; // mT background density
51  Double_t fRMax; // R max for GR calculation
52  Double_t fDRStep; // step width for GR calculation
53  Double_t fPtMinGR; // min pT for GR calculation
54 
57 
58  ClassDef(AliEmcalJetUtilityGenSubtractor, 1) // Emcal jet utility that implements generic subtractors form the fastjet contrib
59 };
60 #endif
double Double_t
Definition: External.C:58
void SetGenericSubtractionGR(Bool_t b, Double_t rmax=2., Double_t dr=0.04, Double_t ptmin=0.)
General jet finder task implementing a wrapper for FastJet.
int Int_t
Definition: External.C:63
void ProcessJet(AliEmcalJet *jet, Int_t ij, AliFJWrapper &fjw)
const Double_t ptmin
AliEmcalJetUtilityGenSubtractor & operator=(const AliEmcalJetUtilityGenSubtractor &jet)
Represent a jet reconstructed using the EMCal jet framework.
Definition: AliEmcalJet.h:51
bool Bool_t
Definition: External.C:53