File indexing completed on 2024-04-06 12:06:33
0001 #ifndef DPGAnalysis_SiStripTools_StatisticsPlots_h
0002 #define DPGAnalysis_SiStripTools_StatisticsPlots_h
0003
0004 #include <vector>
0005
0006 class TH1F;
0007 class TFile;
0008 class TH1D;
0009 class TGraphAsymmErrors;
0010 class TH2F;
0011
0012 void DeadTimeAPVCycle(TH1F* hist, const std::vector<int>& bins);
0013 TH1F* CombinedHisto(TFile& ff, const char* module, const char* histname);
0014 TH1F* TimeRatio(TFile& ff, const char* modulen, const char* moduled, const int irun, const int rebin = 1);
0015 TH1D* SummaryHisto(TFile& ff, const char* module);
0016 TH1D* SummaryHistoRatio(TFile& f1, const char* mod1, TFile& f2, const char* mod2, const char* hname);
0017 TGraphAsymmErrors* SummaryHistoRatioGraph(TFile& f1, const char* mod1, TFile& f2, const char* mod2, const char* hname);
0018 TH2F* Combined2DHisto(TFile& ff, const char* module, const char* histname);
0019 void StatisticsPlots(const char* fullname,
0020 const char* module,
0021 const char* label,
0022 const char* postfix,
0023 const char* shortname,
0024 const char* outtrunk);
0025
0026 #endif