#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, combine::key, 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, 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 dtNoiseDBValidation_cfg::cerr, dir, i, and query::result.
Referenced by HcalPedestalAnalyzer::endJob(), and main().
int main | ( | int | argn, |
char * | argv[] | ||
) |
Definition at line 104 of file compareHists.cc.
References svgfig::canvas(), dtNoiseDBValidation_cfg::cerr, gather_cfg::cout, getAllKeys(), getObject(), estimatePileup::hist, analyzePatCOC_cfg::inputFile, makeGifHists(), 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, AlCaHLTBitMon_QueryRunRegistry::string, and indexGen::title.
Referenced by main().