AliPhysics  35e5fca (35e5fca)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliEmcalJetUtilityConstSubtractor.h
Go to the documentation of this file.
1 #ifndef ALIEMCALJETUTILITYCONSTSUBTRACTOR_H
2 #define ALIEMCALJETUTILITYCONSTSUBTRACTOR_H
3 
4 #include <TNamed.h>
5 
6 #include "AliEmcalJetUtility.h"
7 #include "AliFJWrapper.h"
8 
9 class TClonesArray;
10 class AliEmcalJetTask;
11 class AliEmcalJet;
12 class AliFJWrapper;
13 class AliRhoParameter;
14 
16 {
17  public:
18 
20  AliEmcalJetUtilityConstSubtractor(const char* name);
24 
25  void SetRhoName(const char *n) { fRhoName = n ; }
26  void SetRhomName(const char *n) { fRhomName = n ; }
28 
29  void SetJetsSubName(const char *n) { fJetsSubName = n ; }
30  void SetParticlesSubName(const char *n) { fParticlesSubName = n ; }
31 
32  void Init();
33  void Prepare(AliFJWrapper& fjw);
34  void ProcessJet(AliEmcalJet* jet, Int_t ij, AliFJWrapper& fjw);
35  void Terminate(AliFJWrapper& fjw);
36 
37  protected:
38 
39  TString fJetsSubName; // name of subtracted jet collection
40  TString fParticlesSubName; // name of subtracted particle collection
41  Bool_t fUseExternalBkg; // use external background for generic subtractor
42  TString fRhoName; // name of rho
43  TString fRhomName; // name of rhom
44  Double_t fRho; // pT background density
45  Double_t fRhom; // mT background density
46 
47  TClonesArray *fJetsSub;
48  TClonesArray *fParticlesSub;
51 
52  ClassDef(AliEmcalJetUtilityConstSubtractor, 1) // Emcal jet utility that implements the constituent subtractor form the fastjet contrib
53 };
54 #endif
double Double_t
Definition: External.C:58
AliEmcalJetUtilityConstSubtractor & operator=(const AliEmcalJetUtilityConstSubtractor &jet)
General jet finder task implementing a wrapper for FastJet.
TClonesArray * fParticlesSub
subtracted jet collection
int Int_t
Definition: External.C:63
void ProcessJet(AliEmcalJet *jet, Int_t ij, AliFJWrapper &fjw)
AliRhoParameter * fRhoParam
subtracted particle collection
Represent a jet reconstructed using the EMCal jet framework.
Definition: AliEmcalJet.h:44
bool Bool_t
Definition: External.C:53