#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(), pileupDistInMC::num, and particleFlowDisplacedVertex_cfi::ratio.
const std::vector< unsigned int > CommonAnalyzer::getFillList | ( | ) | const |
Definition at line 80 of file CommonAnalyzer.cc.
References getList().
Referenced by ComputeOOTFractionvsFill().
|
private |
Definition at line 86 of file CommonAnalyzer.cc.
References _file, _module, _path, haddnano::cl, gather_cfg::cout, crabWrapper::key, relativeConstraints::keys, convertSQLiteXML::ok, writedatasetfile::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, haddnano::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(), TrackPlots(), and TrendPlotSingleBin().
TNamed * CommonAnalyzer::getObjectWithSuffix | ( | const char * | name, |
const char * | suffix = "" |
||
) | const |
Definition at line 59 of file CommonAnalyzer.cc.
References _runnumber, getObject(), haddnano::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(), AverageRunMultiplicity(), BSvsPVPlots(), Combined2DHisto(), CombinedHisto(), ComputeOOTFractionvsRun(), multibsvspvplots(), PrimaryVertexPlots(), StatisticsPlots(), SummaryHisto(), and TrendPlotSingleBin().
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 FrontierConditions_GlobalTag_cff::file.
void CommonAnalyzer::setModule | ( | const char * | mod | ) |
void CommonAnalyzer::setPath | ( | const char * | path | ) |
Definition at line 36 of file CommonAnalyzer.cc.
References _path, and callgraph::path.
Referenced by AverageRunBadChannels(), AverageRunMultiplicity(), BSvsPVPlots(), ClusMultPlots(), Combined2DHisto(), CombinedHisto(), multibsvspvplots(), PlotPixelMultVtxPos(), PrimaryVertexPlots(), StatisticsPlots(), SummaryHisto(), TimeRatio(), and TrendPlotSingleBin().
void CommonAnalyzer::setPrefix | ( | const char * | prefix | ) |
void CommonAnalyzer::setRunNumber | ( | const char * | run | ) |
|
private |
Definition at line 43 of file CommonAnalyzer.h.
Referenced by ntupleDataFormat.TrackingNtuple::file(), dqm-mbProfile.Profile::finish(), getList(), getObject(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::open(), operator=(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::process(), setFile(), and dqm-mbProfile.Profile::update().
|
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 ConfigToolBase.ConfigToolBase::dumpPython(), getList(), parserPerfsuiteMetadata.parserPerfsuiteMetadata::getMachineInfo(), getObject(), getPath(), operator=(), parserPerfsuiteMetadata.parserPerfsuiteMetadata::readCmsScimark(), parserPerfsuiteMetadata.parserPerfsuiteMetadata::readCmsScimarkTest(), and setPath().
|
private |
Definition at line 47 of file CommonAnalyzer.h.
Referenced by ntupleDataFormat._Object::__getattr__(), ntupleDataFormat.BeamSpot::__getattr__(), ntuplePrintersDiff._IndentPrinter::_indent(), ntupleDataFormat._SimHitMatchAdaptor::_nMatchedSimHits(), ntupleDataFormat._TrackingParticleMatchAdaptor::_nMatchedTrackingParticles(), ntuplePrintersDiff._RecHitPrinter::_printHits(), ntuplePrintersDiff.TrackingParticlePrinter::_printMatchedSeeds0(), ntuplePrintersDiff.TrackingParticlePrinter::_printMatchedSeedsHeader(), ntuplePrintersDiff.TrackingParticlePrinter::_printMatchedTracks(), ntuplePrintersDiff.TrackingParticlePrinter::_printMatchedTracksHeader(), ntuplePrintersDiff.TrackingParticlePrinter::_printTP(), ntupleDataFormat._DetIdStrAdaptor::detIdStr(), ntuplePrintersDiff.SeedPrinter::diff(), ntuplePrintersDiff.TrackPrinter::diff(), getPrefix(), ntuplePrintersDiff._IndentPrinter::indent(), ntupleDataFormat._DetIdStrAdaptor::layerStr(), ntupleDataFormat.TrackingParticle::matchedSeedInfos(), ntupleDataFormat._SimHitMatchAdaptor::matchedSimHitInfos(), ntupleDataFormat.TrackingParticle::matchedTrackInfos(), ntupleDataFormat._TrackingParticleMatchAdaptor::matchedTrackingParticleInfos(), ntupleDataFormat._HitObject::nseeds(), ntupleDataFormat._HitObject::ntracks(), operator=(), ntuplePrintersDiff.SeedPrinter::printHeader(), ntuplePrintersDiff.TrackPrinter::printHeader(), ntuplePrintersDiff.SeedPrinter::printHits(), ntuplePrintersDiff.TrackPrinter::printHits(), ntuplePrintersDiff.TrackingParticlePrinter::printHits(), ntuplePrintersDiff.SeedPrinter::printMatchedTrackingParticles(), ntuplePrintersDiff.TrackPrinter::printMatchedTrackingParticles(), ntuplePrintersDiff.TrackingParticlePrinter::printMatchedTracks(), ntuplePrintersDiff.TrackingParticlePrinter::printTrackingParticle(), ntuplePrintersDiff._IndentPrinter::restoreIndent(), ntupleDataFormat.SeedMatchInfo::seed(), ntupleDataFormat._HitObject::seeds(), ntuplePrintersDiff._IndentPrinter::setIndentFrom(), setPrefix(), ntupleDataFormat.SimHitMatchInfo::simHit(), ntupleDataFormat.SimHit::trackingParticle(), ntupleDataFormat._HitObject::tracks(), and html.PageSet::write().
|
private |
Definition at line 44 of file CommonAnalyzer.h.
Referenced by getObjectWithSuffix(), getRunNumber(), operator=(), and setRunNumber().