AliPhysics  fffcdf3 (fffcdf3)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliEmcalJetUtilityEventSubtractor.h
Go to the documentation of this file.
1 #ifndef ALIEMCALJETUTILITYEVENTSUBTRACTOR_H
2 #define ALIEMCALJETUTILITYEVENTSUBTRACTOR_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  AliEmcalJetUtilityEventSubtractor(const char* name);
24 
25  void SetRhoName(const char *n) { fRhoName = n ; }
26  void SetRhomName(const char *n) { fRhomName = n ; }
28  void SetMaxDelR(Double_t r) { fMaxDelR = r ; }
29 
30  void SetJetsSubName(const char *n) { fJetsSubName = n ; }
31  void SetParticlesSubName(const char *n) { fParticlesSubName = n ; }
32 
33  void Init();
34  void InitEvent(AliFJWrapper& fjw);
35  void Prepare(AliFJWrapper& fjw);
36  void ProcessJet(AliEmcalJet* jet, Int_t ij, AliFJWrapper& fjw);
37  void Terminate(AliFJWrapper& fjw);
38 
39  protected:
40 
41  TString fJetsSubName; // name of subtracted jet collection
42  TString fParticlesSubName; // name of subtracted particle collection
43  Bool_t fUseExternalBkg; // use external background for generic subtractor
44  TString fRhoName; // name of rho
45  TString fRhomName; // name of rhom
46  Double_t fRho; // pT background density
47  Double_t fRhom; // mT background density
49 
50  TClonesArray *fJetsSub;
51  TClonesArray *fParticlesSub;
54 
55  ClassDef(AliEmcalJetUtilityEventSubtractor, 1) // Emcal jet utility that implements the constituent subtractor form the fastjet contrib
56 };
57 #endif
double Double_t
Definition: External.C:58
TClonesArray * fParticlesSub
subtracted jet collection
AliEmcalJetUtilityEventSubtractor & operator=(const AliEmcalJetUtilityEventSubtractor &jet)
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)
Represent a jet reconstructed using the EMCal jet framework.
Definition: AliEmcalJet.h:51
bool Bool_t
Definition: External.C:53
AliRhoParameter * fRhoParam
subtracted particle collection