1 #ifndef ALIANALYSISHELPERJETTASKS_H
2 #define ALIANALYSISHELPERJETTASKS_H
8 class AliGenPythiaEventHeader;
10 // Helper Class that contains a lot of usefull static functions (i.e. for Flavor selection.
12 class AliAnalysisHelperJetTasks : public TObject {
14 AliAnalysisHelperJetTasks() : TObject() {;}
15 virtual ~AliAnalysisHelperJetTasks(){;}
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,
22 const Int_t &nRecJets,
25 Int_t iDebug, Float_t maxDist = 0.5);
27 static void MergeOutput(char* cFiles, char* cList = "pwg4spec"); // Merges the files in the input text file needs the two histograms fh1PtHard_Trials, fh1Xsec and the name of the input list
32 ClassDef(AliAnalysisHelperJetTasks, 1)
35 #endif // ALIANALYSISHELPERJETTASKS_H