#include <iostream>
#include <string>
#include <vector>
#include "TROOT.h"
#include "TFile.h"
#include "TKey.h"
#include "TH1F.h"
#include "TH2F.h"
#include "TCanvas.h"
#include "TPostScript.h"
#include "TPaveText.h"
#include "TStyle.h"
#include "TText.h"
Go to the source code of this file.
Functions | |
std::vector< std::string > | getAllKeys (const TDirectory *fDir, const std::string &fClassName) |
std::vector< std::string > | getAllObjects (const TDirectory *fDir, const std::string &fClassName) |
TObject * | getObject (TDirectory *fDir, const std::vector< std::string > &fObjectName) |
int | main (int argn, char *argv[]) |
double | makeGifHists (TH1 *fHist, TH1 *fRefHist, TCanvas *fCanvas, const std::string &fPrefix="") |
std::vector<std::string> getAllKeys | ( | const TDirectory * | fDir, |
const std::string & | fClassName | ||
) |
Definition at line 16 of file compareHists.cc.
References gather_cfg::cout, crabWrapper::key, GetRecoTauVFromDQM_MC_cff::next, mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by main().
std::vector<std::string> getAllObjects | ( | const TDirectory * | fDir, |
const std::string & | fClassName | ||
) |
Definition at line 30 of file compareHists.cc.
References gather_cfg::cout, GetRecoTauVFromDQM_MC_cff::next, GetRecoTauVFromDQM_MC_cff::obj, mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.
TObject* getObject | ( | TDirectory * | fDir, |
const std::vector< std::string > & | fObjectName | ||
) |
Definition at line 44 of file compareHists.cc.
References MessageLogger_cfi::cerr, dir, mps_fire::i, and mps_fire::result.
Referenced by main(), and ecaldqm::binning::AxisSpecs::~AxisSpecs().
int main | ( | int | argn, |
char * | argv[] | ||
) |
Definition at line 104 of file compareHists.cc.
References svgfig::canvas(), MessageLogger_cfi::cerr, gather_cfg::cout, GetRecoTauVFromDQM_MC_cff::dir2, getAllKeys(), getObject(), create_public_lumi_plots::hist, analyzePatCleaning_cfg::inputFile, writeAntiElectronDiscrMVA_cfi::inputFileName, makeGifHists(), MetAnalyzer::pv(), mps_fire::result, AlCaHLTBitMon_QueryRunRegistry::string, and fftjetcommon_cfi::title.
double makeGifHists | ( | TH1 * | fHist, |
TH1 * | fRefHist, | ||
TCanvas * | fCanvas, | ||
const std::string & | fPrefix = "" |
||
) |
Definition at line 63 of file compareHists.cc.
References corrVsCorr::filename, dataset::name, MetAnalyzer::pv(), AlCaHLTBitMon_QueryRunRegistry::string, and fftjetcommon_cfi::title.
Referenced by main().