AliPhysics  5eaf189 (5eaf189)
AliEmcalJetUtility.h
Go to the documentation of this file.
1 #ifndef ALIEMCALJETUTILITY_H
2 #define ALIEMCALJETUTILITY_H
3 
4 #include <TNamed.h>
5 
6 #include "AliFJWrapper.h"
7 
8 class AliEmcalJetTask;
9 class AliEmcalJet;
10 class AliFJWrapper;
11 
12 class AliEmcalJetUtility : public TNamed
13 {
14  public:
15 
17  AliEmcalJetUtility(const char* name);
21 
22  virtual void Init() = 0; // Executed only once at the end of AliEmcalJetTask::DoInit()
23  virtual void InitEvent(AliFJWrapper& fjw) = 0; //
24  virtual void Prepare(AliFJWrapper& fjw) = 0; // Executed for each event at the beginning of AliEmcalJetTask::FillJetBranch()
25  virtual void ProcessJet(AliEmcalJet* jet, Int_t ij, AliFJWrapper& fjw) = 0; // Executed for each jet in the loop in AliEmcalJetTask::FillJetBranch()
26  virtual void Terminate(AliFJWrapper& fjw) = 0; // Executed for each event at the end of AliEmcalJetTask::FillJetBranch()
27 
28  void SetJetTask(AliEmcalJetTask* jetTask) { fJetTask = jetTask; }
29 
30  protected:
31 
32  AliEmcalJetTask *fJetTask ; // pointer to the main jet task
34 
35  ClassDef(AliEmcalJetUtility, 1) // Abstract Emcal jet utility class
36 };
37 #endif
AliEmcalJetUtility & operator=(const AliEmcalJetUtility &jet)
virtual void ProcessJet(AliEmcalJet *jet, Int_t ij, AliFJWrapper &fjw)=0
virtual void Terminate(AliFJWrapper &fjw)=0
General jet finder task implementing a wrapper for FastJet.
int Int_t
Definition: External.C:63
virtual void Prepare(AliFJWrapper &fjw)=0
void SetJetTask(AliEmcalJetTask *jetTask)
AliEmcalJetTask * fJetTask
Represent a jet reconstructed using the EMCal jet framework.
Definition: AliEmcalJet.h:51
bool Bool_t
Definition: External.C:53
virtual void InitEvent(AliFJWrapper &fjw)=0
virtual void Init()=0