// Set maximum energy loss to consider
task->GetEnergyFitter().SetMaxE(15);
// Set number of energy loss bins
- task->GetEnergyFitter().SetNEbins(100);
+ task->GetEnergyFitter().SetNEbins(200);
// Set whether to use increasing bin sizes
task->GetEnergyFitter().SetUseIncreasingBins(true);
// Set whether to do fit the energy distributions
#include <TImage.h>
#include <TRandom.h>
#include <fstream>
+#define SYSERR_COLOR
+#define SYSERR_STYLE
Double_t myFunc(Double_t* xp, Double_t* pp);
// Add entry for systematic errors
TLegendEntry* d0 = l->AddEntry("d0", Form("%4.1f%% Systematic error",
100*fFwdSysErr), "f");
- d0->SetLineColor(kGray);
- d0->SetMarkerColor(kGray);
- d0->SetFillColor(kGray);
- d0->SetFillStyle(3001);
+ d0->SetLineColor(SYSERR_COLOR);
+ d0->SetMarkerColor(SYSERR_COLOR);
+ d0->SetFillColor(SYSERR_COLOR);
+ d0->SetFillStyle(SYSERR_STYLE);
d0->SetMarkerStyle(0);
d0->SetLineWidth(0);
i++;
TString name(tmp->GetName());
name.ReplaceAll("Merged", "SysError");
tmp->SetName(name);
- tmp->SetFillColor(kGray);
- tmp->SetFillStyle(3001);
+ tmp->SetMarkerColor(SYSERR_COLOR);
+ tmp->SetLineColor(SYSERR_COLOR);
+ tmp->SetFillColor(SYSERR_COLOR);
+ tmp->SetFillStyle(SYSERR_STYLE);
tmp->SetMarkerStyle(0);
tmp->SetLineWidth(0);
}
*
* @verbatim
* file
- * +- Forward
+ * +- ForwardResults
* +- fmdEnergyFitter
* +- chi2 (THStack)
* +- c (THStack)
return 0;
}
- TList* forward = static_cast<TList*>(file->Get("Forward"));
+ TList* forward = static_cast<TList*>(file->Get("ForwardResults"));
// static_cast<TList*>(file->Get("PWG2forwardDnDeta/Forward"));
if (!forward) {
Error("DrawFits", "Couldn't get forward list from %s", fname);
p->SetGridx();
p->SetFillColor(0);
p->SetFillStyle(0);
+ p->SetLogy();
TList* d = static_cast<TList*>(fitter->FindObject(dets[i]));
if (!d) {
Warning("DrawFits", "List %s not found", dets[i]);
*
* @verbatim
* file
- * +- Forward
+ * +- ForwardResults
* +- fmdEnergyFitter
* +- chi2 (THStack)
* +- c (THStack)