#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, relval_steps::key, GetRecoTauVFromDQM_MC_cff::next, query::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, getGTfromDQMFile::obj, query::result, and AlCaHLTBitMon_QueryRunRegistry::string.
TObject* getObject | ( | TDirectory * | fDir, |
const std::vector< std::string > & | fObjectName | ||
) |
Definition at line 44 of file compareHists.cc.
References ecal_dqm_sourceclient-live_cfg::cerr, dir, i, and query::result.
Referenced by main().
int main | ( | int | argn, |
char * | argv[] | ||
) |
Definition at line 104 of file compareHists.cc.
References svgfig::canvas(), ecal_dqm_sourceclient-live_cfg::cerr, gather_cfg::cout, GetRecoTauVFromDQM_MC_cff::dir2, getAllKeys(), getObject(), estimatePileup::hist, analyzePatCleaning_cfg::inputFile, writeAntiElectronDiscrMVA_cfi::inputFileName, makeGifHists(), MetAnalyzer::pv(), query::result, AlCaHLTBitMon_QueryRunRegistry::string, and indexGen::title.
double makeGifHists | ( | TH1 * | fHist, |
TH1 * | fRefHist, | ||
TCanvas * | fCanvas, | ||
const std::string & | fPrefix = "" |
||
) |
Definition at line 63 of file compareHists.cc.
References lut2db_cfg::filename, mergeVDriftHistosByStation::name, MetAnalyzer::pv(), AlCaHLTBitMon_QueryRunRegistry::string, and indexGen::title.
Referenced by main().