15#include "TFitResult.h"
16#include "TFitResultPtr.h"
17#include "TGraphErrors.h"
70 void addHisto1d(std::string histoname, std::string xtitle,
int nbinsX,
float xmin,
float xmax);
80 void addHisto2d(std::string histoname, std::string xtitle,
int nbinsX,
float xmin,
float xmax, std::string ytitle,
81 int nbinsY,
float ymin,
float ymax);
114 double initialIntegral);
142 double fitZTail(std::string zVtxHistoname,
double max_tail_events);
148 double shosFitZTail(std::string cutname,
double max_tail_events);
162 TH1*
getPDF(std::string histoname);
170 std::cout <<
"Error: could not find graph " <<
m_name +
"_" + graphname << std::endl;
175 TGraphErrors*
configureGraph(std::string name, std::string xlabel, std::string ylabel);
HistoManager()
default constructor
json _h_configs
description
std::string m_name
description
virtual void Define3DHistos()
description
double shosFitZTail(std::string cutname, double max_tail_events)
description
void setDebug(bool value)
Set debug.
TF1 * getZTailFit(std::string cutname)
description
TF1 * fitExponentialTail(std::string histogramName, double start_nevents)
description
void writeGraphs(TFile *outF, std::string folder)
description
TGraphErrors * getGraph(std::string graphname)
TH1 * getPDF(std::string histoname)
virtual void Define2DHistos()
description
double cutFractionOfSignalVariable(std::string cutvariable, bool isCutGreaterThan, double cutFraction, double initialIntegral)
description
TF1 * fitExponentialPlusExp(std::string histogramName, double starnt_nevents)
description
double integrateHistogram1D(std::string histoname)
description
void addHisto1d(std::string histoname, std::string xtitle, int nbinsX, float xmin, float xmax)
description
TGraphErrors * configureGraph(std::string name, std::string xlabel, std::string ylabel)
double fitZTail(std::string zVtxHistoname, double max_tail_events)
description
std::map< std::string, TGraphErrors * > graphs_
hold graphs
void set2DHistoYlabel(std::string histoName, int ybin, std::string ylabel)
description
void addHisto2d(std::string histoname, std::string xtitle, int nbinsX, float xmin, float xmax, std::string ytitle, int nbinsY, float ymin, float ymax)
description
std::vector< double > defineImpactParameterCut(double alpha=0.15)
description
void resetHistograms2d()
description
void defineZBiCutflowProcessorHistograms()
description
void resetHistograms1d()
description
TF1 * fitExponentialPlusConst(std::string histogramName, double starnt_nevents)
description
void addGraph(TGraphErrors *graph)
void writeHistos(TFile *outF, std::string folder)
description