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 | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) 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::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 |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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 29 of file SiStripCommissioningOfflineClient.h.
|
protected |
Definition at line 85 of file SiStripCommissioningOfflineClient.h.
|
protected |
Definition at line 88 of file SiStripCommissioningOfflineClient.h.
SiStripCommissioningOfflineClient::SiStripCommissioningOfflineClient | ( | const edm::ParameterSet & | pset | ) |
Definition at line 35 of file SiStripCommissioningOfflineClient.cc.
References collateHistos_, edm::ParameterSet::getUntrackedParameter(), inputFiles_, LogTrace, sistrip::mlDqmClient_, setInputFiles(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
Definition at line 63 of file SiStripCommissioningOfflineClient.cc.
References LogTrace, and sistrip::mlDqmClient_.
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 363 of file SiStripCommissioningOfflineClient.cc.
References edm::EventID::event(), edm::EventBase::id(), LogTrace, and sistrip::mlDqmClient_.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 71 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, edm::ParameterSet::getUntrackedParameter(), CommissioningHistograms::histoAnalysis(), histos_, compare_using_db::ifile, inputFiles_, LogTrace, sistrip::mlDqmClient_, outputFileName_, parameters_, SummaryPlotXmlParser::parseXML(), plots_, CommissioningHistograms::printAnalyses(), CommissioningHistograms::printSummary(), CommissioningHistograms::remove(), CommissioningHistograms::runNumber(), runNumber_, SiStripEnumsAndStrings::runType(), CommissioningHistograms::runType(), runType_, CommissioningHistograms::save(), cuy::save, contentValuesCheck::ss, SummaryPlotXmlParser::summaryPlots(), groupFilesInBlocks::temp, funct::true, sistrip::UNKNOWN_RUN_TYPE, uploadToConfigDb(), and xmlFile_.
|
protectedvirtual |
Reimplemented in SiStripCommissioningOfflineDbClient.
Definition at line 378 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 374 of file SiStripCommissioningOfflineClient.cc.
|
protectedvirtual |
Definition at line 430 of file SiStripCommissioningOfflineClient.cc.
References dqmPostProcessing_online::DIR, convertXMLtoSQLite_cfg::fileName, compare_using_db::ifile, LogTrace, sistrip::mlDqmClient_, NULL, cmsHarvester::path, cmsHarvester::run_number, contentValuesCheck::ss, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by SiStripCommissioningOfflineClient().
|
inlineprotectedvirtual |
Reimplemented in SiStripCommissioningOfflineDbClient.
Definition at line 43 of file SiStripCommissioningOfflineClient.h.
Referenced by beginRun().
|
protected |
Definition at line 64 of file SiStripCommissioningOfflineClient.h.
Referenced by beginRun().
|
protected |
DQMStore object.
Definition at line 49 of file SiStripCommissioningOfflineClient.h.
Referenced by beginRun(), SiStripCommissioningOfflineDbClient::createHistos(), and createHistos().
|
protected |
Definition at line 73 of file SiStripCommissioningOfflineClient.h.
Referenced by beginRun().
|
protected |
Definition at line 61 of file SiStripCommissioningOfflineClient.h.
Referenced by SiStripCommissioningOfflineClient().
|
protected |
|
protected |
Action "executor"
Definition at line 52 of file SiStripCommissioningOfflineClient.h.
Referenced by beginRun(), SiStripCommissioningOfflineDbClient::createHistos(), createHistos(), and SiStripCommissioningOfflineDbClient::uploadToConfigDb().
|
protected |
Input .root file.
Definition at line 55 of file SiStripCommissioningOfflineClient.h.
Referenced by beginRun(), and SiStripCommissioningOfflineClient().
|
protected |
Map containing commissioning histograms.
Definition at line 91 of file SiStripCommissioningOfflineClient.h.
|
protected |
Output .root file.
Definition at line 58 of file SiStripCommissioningOfflineClient.h.
Referenced by beginRun().
|
protected |
Definition at line 97 of file SiStripCommissioningOfflineClient.h.
Referenced by beginRun(), Mixins._TypedParameterizable::clone(), Types.PSet::clone(), and Mixins._TypedParameterizable::copy().
|
protected |
SummaryPlot objects.
Definition at line 94 of file SiStripCommissioningOfflineClient.h.
Referenced by beginRun().
|
protected |
Run number.
Definition at line 82 of file SiStripCommissioningOfflineClient.h.
Referenced by beginRun().
|
protected |
Commissioning runType.
Definition at line 79 of file SiStripCommissioningOfflineClient.h.
Referenced by beginRun(), SiStripCommissioningOfflineDbClient::createHistos(), and createHistos().
|
protected |
Definition at line 76 of file SiStripCommissioningOfflineClient.h.
|
protected |
Input .xml file.
Definition at line 67 of file SiStripCommissioningOfflineClient.h.
Referenced by beginRun().