#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::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 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 102 of file CommonAnalyzer.cc.
References getObject(), and pileupDistInMC::num.
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(), BSvsPVPlots(), ClusMultCorrPlots(), ClusMultInvestPlots(), ClusMultLumiCorrPlots(), ClusMultPlots(), ClusMultVtxCorrPlots(), Combined2DHisto(), CombinedHisto(), getBinomialRatio(), getObjectWithSuffix(), multibsvspvplots(), PlotPixelMultVtxPos(), PrimaryVertexPlots(), SeedMultiplicityComparisonPlot(), SeedMultiplicityPlots(), StatisticsPlots(), SummaryHisto(), TimeRatio(), and TrackPlots().
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 _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 AverageRunBadChannels(), AverageRunMultiplicity(), BSvsPVPlots(), Combined2DHisto(), CombinedHisto(), multibsvspvplots(), PrimaryVertexPlots(), StatisticsPlots(), and SummaryHisto().
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 cmsHarvester::path.
Referenced by AverageRunBadChannels(), AverageRunMultiplicity(), BSvsPVPlots(), ClusMultPlots(), Combined2DHisto(), CombinedHisto(), multibsvspvplots(), PlotPixelMultVtxPos(), PrimaryVertexPlots(), StatisticsPlots(), SummaryHisto(), and TimeRatio().
void CommonAnalyzer::setPrefix | ( | const char * | prefix | ) |
void CommonAnalyzer::setRunNumber | ( | const char * | run | ) |
|
private |
Definition at line 41 of file CommonAnalyzer.h.
Referenced by getObject(), getRunList(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::open(), operator=(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::process(), and setFile().
|
private |
Definition at line 43 of file CommonAnalyzer.h.
Referenced by getModule(), getObject(), getRunList(), operator=(), and setModule().
|
private |
Definition at line 44 of file CommonAnalyzer.h.
Referenced by ConfigToolBase.ConfigToolBase::dumpPython(), parserPerfsuiteMetadata.parserPerfsuiteMetadata::getMachineInfo(), getObject(), getPath(), getRunList(), operator=(), parserPerfsuiteMetadata.parserPerfsuiteMetadata::readCmsScimark(), parserPerfsuiteMetadata.parserPerfsuiteMetadata::readCmsScimarkTest(), and setPath().
|
private |
Definition at line 45 of file CommonAnalyzer.h.
Referenced by getPrefix(), operator=(), and setPrefix().
|
private |
Definition at line 42 of file CommonAnalyzer.h.
Referenced by getObjectWithSuffix(), getRunNumber(), operator=(), and setRunNumber().