1 #ifndef DPGAnalysis_SiStripTools_OOTMultiplicityPlotMacros_h 2 #define DPGAnalysis_SiStripTools_OOTMultiplicityPlotMacros_h 14 const bool& perFill=
false);
27 OOTResult(): hratio(
nullptr),ootfrac(-1.),ootfracerr(0.),ootfracsum(-1.),ootfracsumerr(0.),ngoodbx(0),nfilledbx(0) {}
37 hootfrac =
new TH1F(
"ootfrac",
"OOT fraction vs fill/run",10,0.,10.);
38 hootfrac->SetCanExtend(TH1::kXaxis);
40 hootfracsum =
new TH1F(
"ootfracsum",
"OOT summed fraction vs fill/run",10,0.,10.);
41 hootfracsum->SetCanExtend(TH1::kXaxis);
43 hngoodbx =
new TH1F(
"ngoodbx",
"Number of good BX pairs vs fill/run",10,0.,10.);
44 hngoodbx->SetCanExtend(TH1::kXaxis);
54 #endif // DPGAnalysis_SiStripTools_OOTMultiplicityPlotMacros_h OOTSummary * ComputeOOTFractionvsRun(TFile *ff, const char *itmodule, const char *ootmodule, const char *etmodule, const char *hname, OOTSummary *ootsumm=nullptr)
OOTSummary * ComputeOOTFractionvsFill(TFile *ff, const char *itmodule, const char *ootmodule, const char *etmodule, const char *hname, OOTSummary *ootsumm=nullptr)
std::vector< int > FillingSchemeFromProfile(TFile *ff, const char *path, const char *hname, const float thr=0.)
std::vector< int > FillingScheme(TFile *ff, const char *path, const float thr=0.)
OOTResult * ComputeOOTFraction(TFile *ff, const char *itmodule, const char *ootmodule, const char *etmodule, const int run, const char *hname, const bool &perFill=false)