AliPhysics  1168478 (1168478)
 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 InitEvent(AliFJWrapper& fjw);
34  void Prepare(AliFJWrapper& fjw);
35  void ProcessJet(AliEmcalJet* jet, Int_t ij, AliFJWrapper& fjw);
36  void Terminate(AliFJWrapper& fjw);
37 
38  protected:
39 
40  TString fJetsSubName; // name of subtracted jet collection
41  TString fParticlesSubName; // name of subtracted particle collection
42  Bool_t fUseExternalBkg; // use external background for generic subtractor
43  TString fRhoName; // name of rho
44  TString fRhomName; // name of rhom
45  Double_t fRho; // pT background density
46  Double_t fRhom; // mT background density
47 
48  TClonesArray *fJetsSub;
49  TClonesArray *fParticlesSub;
52 
53  ClassDef(AliEmcalJetUtilityConstSubtractor, 1) // Emcal jet utility that implements the constituent subtractor form the fastjet contrib
54 };
55 #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