Class which reads a root file containing "commissioning histograms", analyzes the histograms to extract "monitorables", creates summary histograms, and uploads to DB. More...
#include <SiStripCommissioningOfflineDbClient.h>
Public Member Functions | |
SiStripCommissioningOfflineDbClient (const edm::ParameterSet &) | |
virtual | ~SiStripCommissioningOfflineDbClient () |
Public Member Functions inherited from SiStripCommissioningOfflineClient | |
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 (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &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 Member Functions | |
void | createHistos (const edm::ParameterSet &, const edm::EventSetup &) |
void | uploadToConfigDb () |
Protected Member Functions inherited from SiStripCommissioningOfflineClient | |
virtual void | setInputFiles (std::vector< std::string > &, const std::string, uint32_t, bool) |
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) |
Private Attributes | |
bool | uploadAnal_ |
bool | uploadConf_ |
bool | uploadToDb_ |
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 &) |
Protected Types inherited from SiStripCommissioningOfflineClient | |
typedef std::vector< TH1 * > | Histos |
typedef std::map< uint32_t, Histos > | HistosMap |
Protected Attributes inherited from SiStripCommissioningOfflineClient | |
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_ |
Class which reads a root file containing "commissioning histograms", analyzes the histograms to extract "monitorables", creates summary histograms, and uploads to DB.
Definition at line 17 of file SiStripCommissioningOfflineDbClient.h.
SiStripCommissioningOfflineDbClient::SiStripCommissioningOfflineDbClient | ( | const edm::ParameterSet & | pset | ) |
Definition at line 26 of file SiStripCommissioningOfflineDbClient.cc.
References LogTrace, sistrip::mlDqmClient_, uploadAnal_, and uploadConf_.
|
virtual |
Definition at line 51 of file SiStripCommissioningOfflineDbClient.cc.
References LogTrace, and sistrip::mlDqmClient_.
|
protectedvirtual |
Reimplemented from SiStripCommissioningOfflineClient.
Definition at line 59 of file SiStripCommissioningOfflineDbClient.cc.
References sistrip::APV_LATENCY, sistrip::APV_TIMING, SiStripCommissioningOfflineClient::bei_, sistrip::CALIBRATION, sistrip::CALIBRATION_DECO, sistrip::CALIBRATION_SCAN, sistrip::CALIBRATION_SCAN_DECO, CommissioningHistograms::configure(), EcalCondDB::db, CommissioningHistosUsingDb::doUploadAnal(), CommissioningHistosUsingDb::doUploadConf(), sistrip::FAST_CABLING, sistrip::FINE_DELAY, SiStripCommissioningOfflineClient::histos_, LogTrace, sistrip::mlCabling_, sistrip::mlDqmClient_, sistrip::NOISE, cppFunctionSkipper::operator, sistrip::OPTO_SCAN, sistrip::PEDESTALS, sistrip::PEDS_FULL_NOISE, sistrip::PEDS_ONLY, SiStripCommissioningOfflineClient::runType_, contentValuesCheck::ss, tmp, sistrip::UNDEFINED_RUN_TYPE, sistrip::UNKNOWN_RUN_TYPE, uploadAnal_, uploadConf_, and sistrip::VPSP_SCAN.
|
protectedvirtual |
Reimplemented from SiStripCommissioningOfflineClient.
Definition at line 151 of file SiStripCommissioningOfflineDbClient.cc.
References SiStripCommissioningOfflineClient::histos_, sistrip::mlDqmClient_, tmp, and CommissioningHistosUsingDb::uploadToConfigDb().
|
private |
Definition at line 35 of file SiStripCommissioningOfflineDbClient.h.
Referenced by createHistos(), and SiStripCommissioningOfflineDbClient().
|
private |
Definition at line 37 of file SiStripCommissioningOfflineDbClient.h.
Referenced by createHistos(), and SiStripCommissioningOfflineDbClient().
|
private |
Definition at line 33 of file SiStripCommissioningOfflineDbClient.h.