20 const std::shared_ptr<Process> &process,
21 const TH2D &hist_template);
40 const std::vector<std::shared_ptr<Process> > &processes,
41 const std::vector<PlotOpt> &plot_options = {
PlotOpt()});
46 void Print(
double luminosity,
47 const std::string &subdir)
override;
53 std::string
Name()
const;
65 std::vector<std::unique_ptr<SingleHist2D> >
signals_;
66 std::vector<std::unique_ptr<SingleHist2D> >
datas_;
78 std::vector<TGraph>
GetGraphs(
const std::vector<std::unique_ptr<SingleHist2D> > &components,
79 bool lumi_weighted)
const;
81 std::vector<std::shared_ptr<TLatex> >
GetLabels(
bool bkg_is_hist)
const;
std::vector< PlotOpt > plot_options_
NamedFunc::VectorType cut_vector_
std::vector< ScalarType > VectorType
NamedFunc::VectorType xval_vector_
void Print(double luminosity, const std::string &subdir) override
NamedFunc::VectorType wgt_vector_
std::vector< TGraph > GetGraphs(const std::vector< std::unique_ptr< SingleHist2D > > &components, bool lumi_weighted) const
std::vector< std::unique_ptr< SingleHist2D > > backgrounds_
Abstract base class for access to ntuple variables.
void AddEntry(TLegend &l, const SingleHist2D &h, const TGraph &g) const
NamedFunc::VectorType yval_vector_
Combines a callable function taking a Baby and returning a scalar or vector with its string represent...
const std::vector< std::unique_ptr< SingleHist2D > > & GetComponentList(const Process *process)
NamedFunc proc_and_hist_cut_
std::set< const Process * > GetProcesses() const override
SingleHist2D & operator=(const SingleHist2D &)=delete
FigureComponent * GetComponent(const Process *process) override
TH2D GetBkgHist(bool bkg_is_hist) const
std::vector< std::unique_ptr< SingleHist2D > > signals_
std::vector< TLine > GetLines() const
Hist2D & Weight(const NamedFunc &weight)
void RecordEvent(const Baby &baby)
Clustering::Clusterizer clusterizer_
std::vector< std::shared_ptr< TLatex > > GetLabels(bool bkg_is_hist) const
void MakeOnePlot(const std::string &subdir)
std::vector< std::unique_ptr< SingleHist2D > > datas_
Hist2D & Tag(const std::string &tag)