AliPhysics  9fe175b (9fe175b)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 Prepare(AliFJWrapper& fjw);
26  void ProcessJet(AliEmcalJet* jet, Int_t ij, AliFJWrapper& fjw);
27  void Terminate(AliFJWrapper& fjw);
28 
29  void SetRhoName(const char *n) { fRhoName = n ; }
30  void SetRhomName(const char *n) { fRhomName = n ; }
31 
33  void SetGenericSubtractionGR(Bool_t b, Double_t rmax = 2.,
34  Double_t dr = 0.04, Double_t ptmin = 0.) { fDoGenericSubtractionGR = b; fRMax = rmax; fDRStep = dr; fPtMinGR = ptmin;}
37  void SetUseExternalBkg(Bool_t b) { fUseExternalBkg = b; }
38 
39  protected:
40 
41  Bool_t fDoGenericSubtractionJetMass; // calculate generic subtraction
42  Bool_t fDoGenericSubtractionGR; // calculate generic subtraction for angular structure function GR
43  Bool_t fDoGenericSubtractionExtraJetShapes; // calculate generic subtraction for other jet shapes like radialmoment,pTD etc
44  Bool_t fDoGenericSubtractionNsubjettiness; // calculate generic subtraction for 1subjettiness, 2subjettiness and the opening Angle between subjets
45  Bool_t fUseExternalBkg; // use external background for generic subtractor
46  TString fRhoName; // name of rho
47  TString fRhomName; // name of rhom
48  Double_t fRho; // pT background density
49  Double_t fRhom; // mT background density
50  Double_t fRMax; // R max for GR calculation
51  Double_t fDRStep; // step width for GR calculation
52  Double_t fPtMinGR; // min pT for GR calculation
53 
56 
57  ClassDef(AliEmcalJetUtilityGenSubtractor, 1) // Emcal jet utility that implements generic subtractors form the fastjet contrib
58 };
59 #endif
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.
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:44