#include <CommonAnalyzer.h>
Public Member Functions | |
CommonAnalyzer (TFile *file, const char *run, const char *mod, const char *path="", const char *prefix="") | |
CommonAnalyzer (const CommonAnalyzer &dtca) | |
TH1F * | getBinomialRatio (const CommonAnalyzer &denom, const char *name, const int rebin=-1) const |
const std::vector< unsigned int > | getFillList () const |
const std::string & | getModule () const |
TObject * | getObject (const char *name) const |
TNamed * | getObjectWithSuffix (const char *name, const char *suffix="") const |
const std::string & | getPath () const |
const std::string & | getPrefix () const |
const std::vector< unsigned int > | getRunList () const |
const std::string & | getRunNumber () const |
CommonAnalyzer & | operator= (const CommonAnalyzer &dtca) |
void | setFile (TFile *file) |
void | setModule (const char *mod) |
void | setPath (const char *path) |
void | setPrefix (const char *prefix) |
void | setRunNumber (const char *run) |
Private Member Functions | |
const std::vector< unsigned int > | getList (const char *what) const |
Private Attributes | |
TFile * | _file |
std::string | _module |
std::string | _path |
std::string | _prefix |
std::string | _runnumber |
Definition at line 12 of file CommonAnalyzer.h.
CommonAnalyzer::CommonAnalyzer | ( | TFile * | file, |
const char * | run, | ||
const char * | mod, | ||
const char * | path = "" , |
||
const char * | prefix = "" |
||
) |
Definition at line 14 of file CommonAnalyzer.cc.
CommonAnalyzer::CommonAnalyzer | ( | const CommonAnalyzer & | dtca | ) |
Definition at line 17 of file CommonAnalyzer.cc.
TH1F * CommonAnalyzer::getBinomialRatio | ( | const CommonAnalyzer & | denom, |
const char * | name, | ||
const int | rebin = -1 |
||
) | const |
Definition at line 118 of file CommonAnalyzer.cc.
References getObject(), and pileupDistInMC::num.
const std::vector< unsigned int > CommonAnalyzer::getFillList | ( | ) | const |
Definition at line 80 of file CommonAnalyzer.cc.
References getList().
|
private |
Definition at line 86 of file CommonAnalyzer.cc.
References _file, _module, _path, GetRecoTauVFromDQM_MC_cff::cl, gather_cfg::cout, relval_steps::key, relativeConstraints::keys, convertSQLiteXML::ok, DTTTrigCorrFirst::run, lumiPlot::runlist, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by getFillList(), and getRunList().
const std::string & CommonAnalyzer::getModule | ( | ) | const |
TObject * CommonAnalyzer::getObject | ( | const char * | name | ) | const |
Definition at line 44 of file CommonAnalyzer.cc.
References _file, _module, _path, getGTfromDQMFile::obj, convertSQLiteXML::ok, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by AverageRunBadChannels(), AverageRunMultiplicity(), getBinomialRatio(), getObjectWithSuffix(), and PlotPixelMultVtxPos().
TNamed * CommonAnalyzer::getObjectWithSuffix | ( | const char * | name, |
const char * | suffix = "" |
||
) | const |
Definition at line 59 of file CommonAnalyzer.cc.
References _runnumber, getObject(), getGTfromDQMFile::obj, and createPayload::suffix.
const std::string & CommonAnalyzer::getPath | ( | ) | const |
const std::string & CommonAnalyzer::getPrefix | ( | ) | const |
const std::vector< unsigned int > CommonAnalyzer::getRunList | ( | ) | const |
Definition at line 74 of file CommonAnalyzer.cc.
References getList().
Referenced by AverageRunBadChannels(), and AverageRunMultiplicity().
const std::string & CommonAnalyzer::getRunNumber | ( | ) | const |
CommonAnalyzer & CommonAnalyzer::operator= | ( | const CommonAnalyzer & | dtca | ) |
Definition at line 21 of file CommonAnalyzer.cc.
References _file, _module, _path, _prefix, and _runnumber.
void CommonAnalyzer::setFile | ( | TFile * | file | ) |
Definition at line 34 of file CommonAnalyzer.cc.
References _file, and mergeVDriftHistosByStation::file.
void CommonAnalyzer::setModule | ( | const char * | mod | ) |
void CommonAnalyzer::setPath | ( | const char * | path | ) |
Definition at line 36 of file CommonAnalyzer.cc.
References _path, and fed_dqm_sourceclient-live_cfg::path.
Referenced by AverageRunBadChannels(), AverageRunMultiplicity(), and PlotPixelMultVtxPos().
void CommonAnalyzer::setPrefix | ( | const char * | prefix | ) |
void CommonAnalyzer::setRunNumber | ( | const char * | run | ) |
|
private |
Definition at line 43 of file CommonAnalyzer.h.
Referenced by getList(), getObject(), operator=(), and setFile().
|
private |
Definition at line 45 of file CommonAnalyzer.h.
Referenced by getList(), getModule(), getObject(), operator=(), and setModule().
|
private |
Definition at line 46 of file CommonAnalyzer.h.
Referenced by getList(), getObject(), getPath(), operator=(), and setPath().
|
private |
Definition at line 47 of file CommonAnalyzer.h.
Referenced by getPrefix(), operator=(), and setPrefix().
|
private |
Definition at line 44 of file CommonAnalyzer.h.
Referenced by getObjectWithSuffix(), getRunNumber(), operator=(), and setRunNumber().