]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG4/JetTasks/AliAnalysisHelperJetTasks.h
new task for systematic studies of jetfinders
[u/mrichter/AliRoot.git] / PWG4 / JetTasks / AliAnalysisHelperJetTasks.h
1 #ifndef  ALIANALYSISHELPERJETTASKS_H
2 #define  ALIANALYSISHELPERJETTASKS_H
3
4
5 #include "TObject.h"
6 class AliMCEvent;
7 class AliAODJet;
8 class AliGenPythiaEventHeader;
9
10 // Helper Class that contains a lot of usefull static functions (i.e. for Flavor selection.
11
12 class AliAnalysisHelperJetTasks : public TObject {
13  public:
14   AliAnalysisHelperJetTasks() : TObject() {;}
15   virtual ~AliAnalysisHelperJetTasks(){;}
16   
17   static AliGenPythiaEventHeader*  GetPythiaEventHeader(AliMCEvent *mcEvent);
18   static void PrintStack(AliMCEvent *mcEvent,Int_t iFirst = 0,Int_t iLast = 0,Int_t iMaxPrint = 10);
19   static void GetClosestJets(AliAODJet *genJets,
20                              const Int_t &nGenJets,
21                              AliAODJet *recJets,
22                              const Int_t &nRecJets,
23                              Int_t *iGenIndex,
24                              Int_t *iRecIndex,
25                              Int_t iDebug, Float_t maxDist = 0.5);
26   
27
28   private:
29   
30   ClassDef(AliAnalysisHelperJetTasks, 1) // 
31 };
32
33 #endif // ALIANALYSISHELPERJETTASKS_H