Class which reads a root file containing "commissioning histograms", analyzes the histograms to extract "monitorables", and creates summary histograms. More...
#include <SiStripCommissioningOfflineClient.h>
Public Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginRun (const edm::Run &, const edm::EventSetup &) |
virtual void | endJob () |
SiStripCommissioningOfflineClient (const edm::ParameterSet &) | |
virtual | ~SiStripCommissioningOfflineClient () |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Protected Types | |
typedef std::vector< TH1 * > | Histos |
typedef std::map< uint32_t, Histos > | HistosMap |
Protected Member Functions | |
virtual void | createHistos (const edm::ParameterSet &, const edm::EventSetup &) |
virtual void | setInputFiles (std::vector< std::string > &, const std::string, uint32_t, bool) |
virtual void | uploadToConfigDb () |
Protected Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Protected Attributes | |
bool | analyzeHistos_ |
DQMStore * | bei_ |
bool | clientHistos_ |
bool | collateHistos_ |
bool | createSummaryPlots_ |
CommissioningHistograms * | histos_ |
std::vector< std::string > | inputFiles_ |
HistosMap | map_ |
std::string | outputFileName_ |
edm::ParameterSet | parameters_ |
std::vector< SummaryPlot > | plots_ |
uint32_t | runNumber_ |
sistrip::RunType | runType_ |
bool | uploadToDb_ |
std::string | xmlFile_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Class which reads a root file containing "commissioning histograms", analyzes the histograms to extract "monitorables", and creates summary histograms.
Definition at line 30 of file SiStripCommissioningOfflineClient.h.
|
protected |
Definition at line 86 of file SiStripCommissioningOfflineClient.h.
|
protected |
Definition at line 89 of file SiStripCommissioningOfflineClient.h.
SiStripCommissioningOfflineClient::SiStripCommissioningOfflineClient | ( | const edm::ParameterSet & | pset | ) |
Definition at line 36 of file SiStripCommissioningOfflineClient.cc.
References collateHistos_, edm::ParameterSet::getUntrackedParameter(), inputFiles_, LogTrace, sistrip::mlDqmClient_, setInputFiles(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
Definition at line 64 of file SiStripCommissioningOfflineClient.cc.
References LogTrace, and sistrip::mlDqmClient_.
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 364 of file SiStripCommissioningOfflineClient.cc.
References edm::EventID::event(), edm::EventBase::id(), LogTrace, and sistrip::mlDqmClient_.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 72 of file SiStripCommissioningOfflineClient.cc.
References analyzeHistos_, bei_, clientHistos_, sistrip::collate_, relmon_rootfiles_spy::contents, CommissioningHistograms::copyCustomInformation(), createHistos(), CommissioningHistograms::createSummaryHisto(), createSummaryPlots_, sistrip::dqmClientFileName_, CommissioningHistograms::extractHistograms(), newFWLiteAna::found, DQMStore::getContents(), edm::ParameterSet::getUntrackedParameter(), CommissioningHistograms::histoAnalysis(), histos_, compare_using_db::ifile, inputFiles_, LogTrace, sistrip::mlDqmClient_, DQMStore::open(), outputFileName_, parameters_, SummaryPlotXmlParser::parseXML(), plots_, CommissioningHistograms::printAnalyses(), CommissioningHistograms::printSummary(), CommissioningHistograms::remove(), CommissioningHistograms::runNumber(), runNumber_, SiStripEnumsAndStrings::runType(), CommissioningHistograms::runType(), runType_, CommissioningHistograms::save(), cuy::save, DQMStore::setVerbose(), SummaryPlotXmlParser::summaryPlots(), groupFilesInBlocks::temp, funct::true, sistrip::UNKNOWN_RUN_TYPE, uploadToConfigDb(), and xmlFile_.
|
protectedvirtual |
Reimplemented in SiStripCommissioningOfflineDbClient.
Definition at line 379 of file SiStripCommissioningOfflineClient.cc.
References sistrip::APV_LATENCY, sistrip::APV_TIMING, bei_, sistrip::CALIBRATION, sistrip::CALIBRATION_DECO, sistrip::CALIBRATION_SCAN, sistrip::CALIBRATION_SCAN_DECO, CommissioningHistograms::configure(), sistrip::FAST_CABLING, sistrip::FED_CABLING, sistrip::FINE_DELAY, histos_, sistrip::mlDqmClient_, sistrip::NOISE, sistrip::OPTO_SCAN, sistrip::PEDESTALS, sistrip::PEDS_ONLY, runType_, sistrip::UNDEFINED_RUN_TYPE, sistrip::UNKNOWN_RUN_TYPE, and sistrip::VPSP_SCAN.
Referenced by beginRun().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 375 of file SiStripCommissioningOfflineClient.cc.
|
protectedvirtual |
Definition at line 431 of file SiStripCommissioningOfflineClient.cc.
References linker::DIR, reco::dp, convertXMLtoSQLite_cfg::fileName, compare_using_db::ifile, LogTrace, sistrip::mlDqmClient_, NULL, getHLTPrescaleColumns::path, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by SiStripCommissioningOfflineClient().
|
inlineprotectedvirtual |
Reimplemented in SiStripCommissioningOfflineDbClient.
Definition at line 44 of file SiStripCommissioningOfflineClient.h.
Referenced by beginRun().
|
protected |
Definition at line 65 of file SiStripCommissioningOfflineClient.h.
Referenced by beginRun().
|
protected |
DQMStore object.
Definition at line 50 of file SiStripCommissioningOfflineClient.h.
Referenced by beginRun(), SiStripCommissioningOfflineDbClient::createHistos(), and createHistos().
|
protected |
Definition at line 74 of file SiStripCommissioningOfflineClient.h.
Referenced by beginRun().
|
protected |
Definition at line 62 of file SiStripCommissioningOfflineClient.h.
Referenced by SiStripCommissioningOfflineClient().
|
protected |
|
protected |
Action "executor"
Definition at line 53 of file SiStripCommissioningOfflineClient.h.
Referenced by beginRun(), SiStripCommissioningOfflineDbClient::createHistos(), createHistos(), and SiStripCommissioningOfflineDbClient::uploadToConfigDb().
|
protected |
Input .root file.
Definition at line 56 of file SiStripCommissioningOfflineClient.h.
Referenced by beginRun(), and SiStripCommissioningOfflineClient().
|
protected |
Map containing commissioning histograms.
Definition at line 92 of file SiStripCommissioningOfflineClient.h.
|
protected |
Output .root file.
Definition at line 59 of file SiStripCommissioningOfflineClient.h.
Referenced by beginRun().
|
protected |
Definition at line 98 of file SiStripCommissioningOfflineClient.h.
Referenced by beginRun(), Mixins._TypedParameterizable::clone(), Types.PSet::clone(), and Mixins._TypedParameterizable::copy().
|
protected |
SummaryPlot objects.
Definition at line 95 of file SiStripCommissioningOfflineClient.h.
Referenced by beginRun().
|
protected |
Run number.
Definition at line 83 of file SiStripCommissioningOfflineClient.h.
Referenced by beginRun().
|
protected |
Commissioning runType.
Definition at line 80 of file SiStripCommissioningOfflineClient.h.
Referenced by beginRun(), SiStripCommissioningOfflineDbClient::createHistos(), and createHistos().
|
protected |
Definition at line 77 of file SiStripCommissioningOfflineClient.h.
|
protected |
Input .xml file.
Definition at line 68 of file SiStripCommissioningOfflineClient.h.
Referenced by beginRun().