23 std::map<TString, std::tuple<std::vector<float>, std::function<float()>>>
th1fs_varbin;
24 std::map<TString, std::tuple<unsigned int, float, float, std::function<float()>>>
th1fs;
26 std::tuple<std::vector<float>, std::function<std::vector<float>()>,
std::function<std::vector<float>()>>>
30 std::tuple<unsigned int, float, float, std::function<std::vector<float>()>,
std::function<std::vector<float>()>>>
33 std::pair<TString, TString>,
34 std::tuple<unsigned int, float, float, unsigned int, float, float, std::function<float()>, std::function<float()>>>
36 std::map<std::pair<TString, TString>,
43 std::function<std::vector<float>()>,
45 std::function<std::vector<float>()>>>
47 std::map<std::pair<TString, TString>,
48 std::tuple<std::vector<float>,
52 std::function<std::vector<float>()>,
54 std::function<std::vector<float>()>>>
58 std::map<TString, std::tuple<unsigned int, float, float>>
th1fs;
59 std::map<std::pair<TString, TString>, std::tuple<unsigned int, float, float, unsigned int, float, float>>
th2fs;
109 void add2DHistogram(TString,
unsigned int,
float,
float, TString,
unsigned int,
float,
float);
120 std::map<std::tuple<TREEMAPSTRING, TREEMAPSTRING, TREEMAPSTRING>,
THist*>
122 std::map<std::tuple<TREEMAPSTRING, TREEMAPSTRING, TREEMAPSTRING, TREEMAPSTRING>, TH2F*>
124 std::vector<std::tuple<TREEMAPSTRING, TREEMAPSTRING, TREEMAPSTRING>>
126 std::vector<std::tuple<TREEMAPSTRING, TREEMAPSTRING, TREEMAPSTRING, TREEMAPSTRING>>
128 std::vector<std::tuple<THist*, std::vector<int*>, std::vector<float*>, std::function<float()>>>
187 std::vector<TString> vetopattern = std::vector<TString>());
196 void setEventID(
int,
int,
unsigned long long);
199 void fillCutflows(TString syst =
"",
bool iswgtsyst =
true);
227 std::pair<TString, TString>,
231 std::pair<std::pair<TString, TString>,
243 std::pair<std::pair<TString, TString>,
253 void bookHistogram(TString, std::pair<TString, std::tuple<unsigned, float, float>>, TString =
"");
254 void bookHistogram(TString, std::pair<TString, std::vector<float>>, TString =
"");
257 std::pair<std::pair<TString, TString>, std::tuple<unsigned, float, float, unsigned, float, float>>,
void bookHistogramsForCutAndAbove(Histograms &histograms, TString)
std::map< TString, std::function< float()> > systs_funcs
void setVariable(TString varname, float)
void bookCutflowHistograms()
void setCut(TString cutname, std::function< bool()> pass, std::function< float()> weight)
void bookHistogramsForEndCuts(Histograms &histograms)
void bookHistogramsForCutAndBelow(Histograms &histograms, TString)
void addToCutTreeMap(TString n)
void removeCut(TString n)
std::map< TString, std::tuple< std::vector< float >, std::function< std::vector< float >)>, std::function< std::vector< float >)> > > th1vecfs_varbin
std::vector< TString > systs
std::map< std::tuple< std::string, std::string, std::string, std::string >, TH2F * > booked_2dhistograms
void bookCutflowHistograms_v1()
std::map< TString, std::vector< CutTree * > > cuttreelists
void addHistogram(TString, unsigned int, float, float, std::function< float()>)
void book2DVecHistogram(TString, std::pair< std::pair< TString, TString >, std::tuple< unsigned, float, float, unsigned, float, float, std::function< std::vector< float >()>, std::function< std::vector< float >()>, std::function< std::vector< float >()>>>, TString="")
CutTree & getCut(TString n)
void setLastActiveCut(TString n)
void copyAndEditCuts(TString, std::map< TString, TString >)
void setSaveTTreeX(bool=true)
std::map< std::pair< TString, TString >, std::tuple< unsigned int, float, float, unsigned int, float, float, std::function< std::vector< float >)>, std::function< std::vector< float >)>, std::function< std::vector< float >)> > > th2vecfs
void filterCuts(std::vector< TString > ns)
std::vector< std::tuple< std::string, std::string, std::string, std::string > > booked_2dhistograms_nominal_keys
std::map< TString, std::tuple< unsigned int, float, float, std::function< std::vector< float >)>, std::function< std::vector< float >)> > > th1vecfs
std::vector< std::tuple< TH1D *, std::vector< int * >, std::vector< float * >, std::function< float()> > > cutflow_histograms_v2
void setSkipSystematicHistograms(bool=true)
void bookCutflowsForRegions(std::vector< TString > regions)
void fillCutflow(std::vector< TString > &cutlist, TH1D *h, TH1D *hraw, float wgtsyst=1)
void add2DHistogram(TString, unsigned int, float, float, TString, unsigned int, float, float, std::function< float()>, std::function< float()>)
void addCutSyst(TString syst, std::vector< TString > pattern, std::vector< TString > vetopattern=std::vector< TString >())
void fillCutflow_v2(std::vector< CutTree *> &cutlist, TH1D *h, TH1D *hraw, float wgtsyst=1)
void printSetFunctionError(TString msg)
std::vector< TString > cutsysts
void bookHistogram(TString, std::pair< TString, std::tuple< unsigned, float, float, std::function< float()>>>, TString="")
std::map< TString, std::vector< TString > > cutlists
void createWgtSystBranches()
std::map< std::pair< TString, TString >, std::tuple< std::vector< float >, unsigned int, float, float, std::function< std::vector< float >)>, std::function< std::vector< float >)>, std::function< std::vector< float >)> > > th2vecfs_xvarbin
void bookHistogramsForCut(Histograms &histograms, TString)
void addVecHistogram(TString, unsigned int, float, float, std::function< std::vector< float >()>, std::function< std::vector< float >()> wgt=nullptr)
std::map< TString, TH1D * > rawcutflow_histograms
void add2DVecHistogram(TString, unsigned int, float, float, TString, unsigned int, float, float, std::function< std::vector< float >()>, std::function< std::vector< float >()>, std::function< std::vector< float >()> wgt=nullptr)
std::map< TString, std::tuple< unsigned int, float, float, std::function< float()> > > th1fs
void setCutLists(std::vector< TString > regions)
void setCutSyst(TString cutname, TString syst, std::function< bool()> pass, std::function< float()> weight)
void bookVecHistogram(TString, std::pair< TString, std::tuple< unsigned, float, float, std::function< std::vector< float >()>, std::function< std::vector< float >()>>>, TString="")
void bookCutflowHistograms_v2()
void book2DHistogram(TString, std::pair< std::pair< TString, TString >, std::tuple< unsigned, float, float, unsigned, float, float, std::function< float()>, std::function< float()>>>, TString="")
void addCutToSkipCutflowList(TString n)
void setHistsAxesExtendable()
std::vector< std::tuple< TH1D *, std::vector< int * > > > rawcutflow_histograms_v2
void fillCutflows_v1(TString syst="", bool iswgtsyst=true)
void addCutToLastActiveCut(TString n, std::function< bool()> pass, std::function< float()> weight)
std::vector< TString > cutflow_nofill_cut_list
std::map< TString, std::tuple< std::vector< float >, std::function< float()> > > th1fs_varbin
std::map< std::tuple< std::string, std::string, std::string >, TH1D * > booked_histograms
void fillHistograms(TString syst="", bool iswgtsyst=true)
void addWgtSyst(TString syst, std::function< float()>)
CutTree * last_active_cut
void setEventID(int, int, unsigned long long)
void fillCutflows(TString syst="", bool iswgtsyst=true)
void setWgtSyst(TString syst, float weight)
std::map< TString, TH1D * > cutflow_histograms
void bookHistograms(Histograms &histograms)
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
void fillCutflows_v2(TString syst="", bool iswgtsyst=true)
void addCut(TString n, std::function< bool()> pass, std::function< float()> weight)
std::vector< std::tuple< std::string, std::string, std::string > > booked_histograms_nominal_keys
std::map< std::string, CutTree * > cuttreemap
std::map< std::pair< TString, TString >, std::tuple< unsigned int, float, float, unsigned int, float, float, std::function< float()>, std::function< float()> > > th2fs