#include "StatisticsPlots.h"
#include <vector>
#include <algorithm>
#include <string>
#include <map>
#include <iostream>
#include "TPad.h"
#include "TH1D.h"
#include "TFile.h"
#include "TH2F.h"
#include "TH1F.h"
#include "TText.h"
#include "DPGAnalysis/SiStripTools/interface/CommonAnalyzer.h"
#include "TCanvas.h"
#include "TGraphAsymmErrors.h"
Go to the source code of this file.
Functions | |
TH2F * | Combined2DHisto (TFile &ff, const char *module, const char *histname) |
TH1F * | CombinedHisto (TFile &ff, const char *module, const char *histname) |
void | DeadTimeAPVCycle (TH1F *hist, const std::vector< int > &bins) |
void | StatisticsPlots (const char *fullname, const char *module, const char *label, const char *postfix, const char *shortname, const char *outtrunk) |
TH1D * | SummaryHisto (TFile &ff, const char *module) |
TH1D * | SummaryHistoRatio (TFile &f1, const char *mod1, TFile &f2, const char *mod2, const char *hname) |
TGraphAsymmErrors * | SummaryHistoRatioGraph (TFile &f1, const char *mod1, TFile &f2, const char *mod2, const char *) |
TH1F * | TimeRatio (TFile &ff, const char *modulen, const char *moduled, const int irun, const int rebin) |
TH2F* Combined2DHisto | ( | TFile & | ff, |
const char * | module, | ||
const char * | histname | ||
) |
Definition at line 189 of file StatisticsPlots.cc.
References gather_cfg::cout, alignCSCRings::ff, CommonAnalyzer::getObject(), CommonAnalyzer::getRunList(), compareTotals::hist, mps_fire::i, mps_fire::result, writedatasetfile::runs, CommonAnalyzer::setPath(), and jetUpdater_cfi::sort.
TH1F* CombinedHisto | ( | TFile & | ff, |
const char * | module, | ||
const char * | histname | ||
) |
Definition at line 72 of file StatisticsPlots.cc.
References gather_cfg::cout, alignCSCRings::ff, CommonAnalyzer::getObject(), CommonAnalyzer::getRunList(), compareTotals::hist, mps_fire::i, mps_fire::result, writedatasetfile::runs, CommonAnalyzer::setPath(), and jetUpdater_cfi::sort.
void DeadTimeAPVCycle | ( | TH1F * | hist, |
const std::vector< int > & | bins | ||
) |
Definition at line 17 of file StatisticsPlots.cc.
References isotrackApplyRegressor::bins, gather_cfg::cout, ALCARECOEcalPhiSym_cff::float, compareTotals::hist, mps_fire::i, and HcalSpecialTimes::isSpecial().
void StatisticsPlots | ( | const char * | fullname, |
const char * | module, | ||
const char * | label, | ||
const char * | postfix, | ||
const char * | shortname, | ||
const char * | outtrunk | ||
) |
Definition at line 221 of file StatisticsPlots.cc.
References nano_mu_digi_cff::bx, gather_cfg::cout, BTVHLTOfflineSource_cfi::dirname, alignCSCRings::ff, CommonAnalyzer::getObject(), CommonAnalyzer::getRunList(), mps_fire::i, label, createIOVlist::nevents, nano_postproc::postfix, writedatasetfile::runs, CommonAnalyzer::setPath(), jetUpdater_cfi::sort, and AlCaHLTBitMon_QueryRunRegistry::string.
TH1D* SummaryHisto | ( | TFile & | ff, |
const char * | module | ||
) |
Definition at line 133 of file StatisticsPlots.cc.
References alignCSCRings::ff, CommonAnalyzer::getObject(), CommonAnalyzer::getRunList(), mps_fire::i, createIOVlist::nevents, writedatasetfile::runs, CommonAnalyzer::setPath(), and jetUpdater_cfi::sort.
Referenced by SummaryHistoRatio(), and SummaryHistoRatioGraph().
TH1D* SummaryHistoRatio | ( | TFile & | f1, |
const char * | mod1, | ||
TFile & | f2, | ||
const char * | mod2, | ||
const char * | hname | ||
) |
Definition at line 162 of file StatisticsPlots.cc.
References makePileupJSON::denom, validate-o2o-wbm::f1, validate-o2o-wbm::f2, and SummaryHisto().
TGraphAsymmErrors* SummaryHistoRatioGraph | ( | TFile & | f1, |
const char * | mod1, | ||
TFile & | f2, | ||
const char * | mod2, | ||
const char * | |||
) |
Definition at line 176 of file StatisticsPlots.cc.
References makePileupJSON::denom, validate-o2o-wbm::f1, validate-o2o-wbm::f2, and SummaryHisto().
TH1F* TimeRatio | ( | TFile & | ff, |
const char * | modulen, | ||
const char * | moduled, | ||
const int | irun, | ||
const int | rebin | ||
) |
Definition at line 104 of file StatisticsPlots.cc.
References alignCSCRings::ff, CommonAnalyzer::getObject(), and CommonAnalyzer::setPath().