#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 101 of file CommonAnalyzer.cc.
References makePileupJSON::denom, getObject(), Skims_PA_cff::name, and EgammaValidation_cff::num.
const std::vector< unsigned int > CommonAnalyzer::getFillList | ( | ) | const |
Definition at line 70 of file CommonAnalyzer.cc.
References getList().
Referenced by ComputeOOTFractionvsFill().
|
private |
Definition at line 72 of file CommonAnalyzer.cc.
References _file, _module, _path, haddnano::cl, gather_cfg::cout, reco_skim_cfg_mod::fullpath, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, submitPVResolutionJobs::key, relativeConstraints::keys, convertSQLiteXML::ok, writedatasetfile::run, test_db_connect::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 42 of file CommonAnalyzer.cc.
References _file, _module, _path, reco_skim_cfg_mod::fullpath, Skims_PA_cff::name, 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(), TrackPlots(), and TrendPlotSingleBin().
TNamed * CommonAnalyzer::getObjectWithSuffix | ( | const char * | name, |
const char * | suffix = "" |
||
) | const |
Definition at line 55 of file CommonAnalyzer.cc.
References _runnumber, getObject(), Skims_PA_cff::name, getGTfromDQMFile::obj, and ticlDumper_cff::suffix.
const std::string & CommonAnalyzer::getPath | ( | ) | const |
const std::string & CommonAnalyzer::getPrefix | ( | ) | const |
const std::vector< unsigned int > CommonAnalyzer::getRunList | ( | ) | const |
Definition at line 68 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 20 of file CommonAnalyzer.cc.
References _file, _module, _path, _prefix, and _runnumber.
void CommonAnalyzer::setFile | ( | TFile * | file | ) |
void CommonAnalyzer::setModule | ( | const char * | mod | ) |
void CommonAnalyzer::setPath | ( | const char * | path | ) |
Definition at line 34 of file CommonAnalyzer.cc.
References _path, and castor_dqm_sourceclient_file_cfg::path.
Referenced by AverageRunBadChannels(), AverageRunMultiplicity(), BSvsPVPlots(), ClusMultPlots(), Combined2DHisto(), CombinedHisto(), multibsvspvplots(), PlotPixelMultVtxPos(), PrimaryVertexPlots(), StatisticsPlots(), SummaryHisto(), TimeRatio(), and TrendPlotSingleBin().
void CommonAnalyzer::setPrefix | ( | const char * | prefix | ) |
Definition at line 35 of file CommonAnalyzer.cc.
References _prefix, and hcallasereventfilter2012_cfi::prefix.
void CommonAnalyzer::setRunNumber | ( | const char * | run | ) |
|
private |
Definition at line 41 of file CommonAnalyzer.h.
Referenced by ntupleDataFormat.TrackingNtuple::file(), dqm-mbProfile.Profile::finish(), getList(), getObject(), operator=(), ClassesDefXmlUtils.XmlParser::readClassesDefXML(), setFile(), dqm-mbProfile.Profile::update(), and output.OutputTree::write().
|
private |
Definition at line 43 of file CommonAnalyzer.h.
Referenced by getList(), getModule(), getObject(), operator=(), and setModule().
|
private |
Definition at line 44 of file CommonAnalyzer.h.
Referenced by ConfigToolBase.ConfigToolBase::dumpPython(), getList(), getObject(), getPath(), operator=(), and setPath().
|
private |
Definition at line 45 of file CommonAnalyzer.h.
Referenced by ntupleDataFormat._Object::__getattr__(), datamodel.Object::__getattr__(), ntupleDataFormat.BeamSpot::__getattr__(), datamodel.Collection::__getitem__(), datamodel.Object::__repr__(), 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(), datamodel.Object::subObj(), ntupleDataFormat.SimHit::trackingParticle(), ntupleDataFormat._HitObject::tracks(), and html.PageSet::write().
|
private |
Definition at line 42 of file CommonAnalyzer.h.
Referenced by getObjectWithSuffix(), getRunNumber(), operator=(), and setRunNumber().