#ifndef AliAnalysisTaskJetV2_H
#define AliAnalysisTaskJetV2_H
+// uncomment to compile with debug information
+//#define DEBUGTASK
+
#include <AliAnalysisTaskEmcalJet.h>
#include <AliEmcalJet.h>
#include <AliVEvent.h>
/* inline */ Double_t KolmogorovTest(TH1F& histo, TF1* func) const {
// return the probability from a Kolmogorov test
return .5;
+ /* this test is disabeled as it eats a lot of resources but kept as a dummty to
+ * ensure compatibility of the output with offline macros
TH1F test(histo); // stack copy of test statistic
for(Int_t i(0); i < test.GetXaxis()->GetNbins(); i++) test.SetBinContent(i+1, func->Eval(test.GetXaxis()->GetBinCenter(1+i)));
if(fFitGoodnessTest == kKolmogorovTOY) return histo.TH1::KolmogorovTest((&test), "X");
return histo.TH1::KolmogorovTest((&test));
+ */
}
// setters - analysis setup
- void SetDebugMode(Int_t d) {fDebug = d;}
void SetRunToyMC(Bool_t t) {fRunToyMC = t; }
void SetAttachToEvent(Bool_t b) {fAttachToEvent = b;}
void SetFillHistograms(Bool_t b) {fFillHistograms = b;}
Int_t GetVZEROCentralityBin() const;
private:
// analysis flags and settings
- Int_t fDebug; // debug level (0 none, 1 fcn calls, 2 verbose)
Bool_t fRunToyMC; // run toy mc for fit routine
Bool_t fLocalInit; //! is the analysis initialized?
Bool_t fAttachToEvent; // attach local rho to the event