#include <CommissioningHistosUsingDb.h>
Classes | |
class | DetInfo |
Public Member Functions | |
CommissioningHistosUsingDb (SiStripConfigDb *const, edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tTopoToken, sistrip::RunType=sistrip::UNDEFINED_RUN_TYPE) | |
void | configure (const edm::ParameterSet &, const edm::EventSetup &) override |
bool | doUploadAnal () const |
void | doUploadAnal (bool) |
bool | doUploadConf () const |
void | doUploadConf (bool) |
void | uploadToConfigDb () |
~CommissioningHistosUsingDb () override | |
Public Member Functions inherited from CommissioningHistograms | |
CommissioningHistograms (const edm::ParameterSet &pset, DQMStore *const, const sistrip::RunType &) | |
CommissioningHistograms () | |
void | createCollations (const std::vector< std::string > &) |
virtual void | createSummaryHisto (const sistrip::Monitorable &, const sistrip::Presentation &, const std::string &top_level_dir, const sistrip::Granularity &) |
void | extractHistograms (const std::vector< std::string > &) |
virtual void | histoAnalysis (bool debug) |
virtual void | printAnalyses () |
virtual void | printSummary () |
void | remove (std::string pattern="") |
void | save (std::string &filename, uint32_t run_number=0, std::string partitionName="") |
virtual | ~CommissioningHistograms () |
Protected Member Functions | |
virtual void | addDcuDetIds () |
void | buildDetInfo () |
SiStripFedCabling *const | cabling () const |
virtual void | create (SiStripConfigDb::AnalysisDescriptionsV &, Analysis) |
virtual void | createAnalyses (SiStripConfigDb::AnalysisDescriptionsV &) |
SiStripConfigDb *const | db () const |
std::pair< std::string, DetInfo > | detInfo (const SiStripFecKey &) |
bool | deviceIsPresent (const SiStripFecKey &) |
void | uploadAnalyses () |
virtual void | uploadConfigurations () |
Protected Member Functions inherited from CommissioningHistograms | |
DQMStore *const | bei () const |
void | clearHistosMap () |
Analyses & | data (bool getMaskedData=false) |
Factory *const | factory () |
TH1 * | histogram (const sistrip::Monitorable &, const sistrip::Presentation &, const sistrip::View &, const std::string &directory, const uint32_t &xbins, const float &xlow=1.*sistrip::invalid_, const float &xhigh=1.*sistrip::invalid_) |
const HistosMap & | histos () const |
const FedToFecMap & | mapping () const |
void | printHistosMap () |
const edm::ParameterSet & | pset () const |
const sistrip::RunType & | task () const |
Private Types | |
typedef std::map< uint32_t, DetInfo > | DetInfos |
Private Member Functions | |
CommissioningHistosUsingDb () | |
Private Attributes | |
SiStripFedCabling * | cabling_ |
SiStripConfigDb * | db_ |
std::map< std::string, DetInfos > | detInfo_ |
sistrip::RunType | runType_ |
edm::ESGetToken < TrackerTopology, TrackerTopologyRcd > | tTopoToken_ |
bool | uploadAnal_ |
bool | uploadConf_ |
Additional Inherited Members | |
Public Types inherited from CommissioningHistograms | |
typedef std::map< uint32_t, CommissioningAnalysis * > | Analyses |
typedef Analyses::iterator | Analysis |
typedef dqm::harvesting::DQMStore | DQMStore |
typedef SummaryPlotFactory < CommissioningAnalysis * > | Factory |
typedef std::map< uint32_t, uint32_t > | FedToFecMap |
typedef std::vector< Histo * > | Histos |
typedef std::map< uint32_t, Histos > | HistosMap |
typedef dqm::harvesting::MonitorElement | MonitorElement |
Static Public Member Functions inherited from CommissioningHistograms | |
static void | copyCustomInformation (DQMStore *const, const std::vector< std::string > &) |
static uint32_t | runNumber (DQMStore *const, const std::vector< std::string > &) |
static sistrip::RunType | runType (DQMStore *const, const std::vector< std::string > &) |
Protected Attributes inherited from CommissioningHistograms | |
std::unique_ptr< Factory > | factory_ |
Definition at line 18 of file CommissioningHistosUsingDb.h.
|
private |
Definition at line 82 of file CommissioningHistosUsingDb.h.
CommissioningHistosUsingDb::CommissioningHistosUsingDb | ( | SiStripConfigDb * const | db, |
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > | tTopoToken, | ||
sistrip::RunType | type = sistrip::UNDEFINED_RUN_TYPE |
||
) |
Definition at line 17 of file CommissioningHistosUsingDb.cc.
|
override |
Definition at line 48 of file CommissioningHistosUsingDb.cc.
References db_, LogTrace, and sistrip::mlDqmClient_.
|
private |
Definition at line 34 of file CommissioningHistosUsingDb.cc.
References LogTrace, and sistrip::mlDqmClient_.
|
protectedvirtual |
Reimplemented in FastFedCablingHistosUsingDb.
Definition at line 184 of file CommissioningHistosUsingDb.cc.
References cabling_, FedChannelConnection::ccuAddr(), FedChannelConnection::ccuChan(), getInfo::conn, CommissioningHistograms::data(), CommissioningAnalysis::dcuId(), FedChannelConnection::dcuId(), CommissioningAnalysis::detId(), FedChannelConnection::detId(), FedChannelConnection::fecCrate(), SiStripFedKey::feChan(), CommissioningAnalysis::fecKey(), FedChannelConnection::fecRing(), FedChannelConnection::fecSlot(), FedChannelConnection::fedCh(), SiStripFedKey::fedChannel(), SiStripFedCabling::fedConnection(), SiStripFedKey::fedId(), FedChannelConnection::fedId(), CommissioningAnalysis::fedKey(), SiStripFedKey::feUnit(), FedChannelConnection::lldChannel(), sistrip::mlDqmClient_, SiStripKey::path(), and contentValuesCheck::ss.
Referenced by uploadToConfigDb().
|
protected |
Definition at line 257 of file CommissioningHistosUsingDb.cc.
References generateTowerEtThresholdLUT::addr, SiStripFecKey::ccuAddr(), SiStripConfigDb::DeviceAddress::ccuAddr_, SiStripFecKey::ccuChan(), SiStripConfigDb::DeviceAddress::ccuChan_, db(), db_, SiStripConfigDb::dbParams(), CommissioningHistosUsingDb::DetInfo::dcuId_, TauDecayModes::dec, CommissioningHistosUsingDb::DetInfo::detId_, detInfo_, SiStripConfigDb::deviceAddress(), SiStripFecKey::fecCrate(), SiStripConfigDb::DeviceAddress::fecCrate_, SiStripFecKey::fecRing(), SiStripConfigDb::DeviceAddress::fecRing_, SiStripFecKey::fecSlot(), SiStripConfigDb::DeviceAddress::fecSlot_, SiStripConfigDb::findDcuDetId(), SiStripConfigDb::getDcuDetIds(), SiStripConfigDb::getDeviceDescriptions(), cuy::ii, info(), edm::isDebugEnabled(), SiStripFecKey::isValid(), findQualityFiles::jj, SiStripKey::key(), submitPVResolutionJobs::key, sistrip::mlDqmClient_, CommissioningHistosUsingDb::DetInfo::pairs_, SiStripDbParams::partitions(), createTree::pp, contentValuesCheck::ss, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by uploadToConfigDb().
|
inlineprotected |
Definition at line 100 of file CommissioningHistosUsingDb.h.
References cabling_.
Referenced by FastFedCablingHistosUsingDb::addDcuDetIds(), FineDelayHistosUsingDb::computeDelays(), DaqScopeModeHistosUsingDb::update(), PedestalsHistosUsingDb::update(), PedsFullNoiseHistosUsingDb::update(), PedsOnlyHistosUsingDb::update(), NoiseHistosUsingDb::update(), ApvTimingHistosUsingDb::update(), LatencyHistosUsingDb::update(), and FineDelayHistosUsingDb::update().
|
overridevirtual |
Reimplemented from CommissioningHistograms.
Reimplemented in FineDelayHistosUsingDb, and LatencyHistosUsingDb.
Definition at line 56 of file CommissioningHistosUsingDb.cc.
References SiStripFedCablingBuilderFromDb::buildFecCabling(), SiStripFedCablingBuilderFromDb::buildFecCablingFromDevices(), cabling_, db_, sistrip::FAST_CABLING, edm::EventSetup::getData(), SiStripFedCablingBuilderFromDb::getFedCabling(), LogTrace, sistrip::mlDqmClient_, runType_, contentValuesCheck::ss, SiStripFedCabling::summary(), SiStripFedCabling::terse(), and tTopoToken_.
Referenced by LatencyHistosUsingDb::configure(), and FineDelayHistosUsingDb::configure().
|
inlineprotectedvirtual |
Reimplemented in FineDelayHistosUsingDb, FastFedCablingHistosUsingDb, CalibrationHistosUsingDb, LatencyHistosUsingDb, ApvTimingHistosUsingDb, NoiseHistosUsingDb, OptoScanHistosUsingDb, PedestalsHistosUsingDb, PedsFullNoiseHistosUsingDb, PedsOnlyHistosUsingDb, VpspScanHistosUsingDb, and DaqScopeModeHistosUsingDb.
Definition at line 53 of file CommissioningHistosUsingDb.h.
Referenced by createAnalyses().
|
protectedvirtual |
Definition at line 241 of file CommissioningHistosUsingDb.cc.
References create(), CommissioningHistograms::data(), LogTrace, and sistrip::mlDqmClient_.
Referenced by uploadAnalyses().
|
inlineprotected |
Definition at line 99 of file CommissioningHistosUsingDb.h.
References db_.
Referenced by FastFedCablingHistosUsingDb::addDcuDetIds(), buildDetInfo(), FastFedCablingHistosUsingDb::connections(), DaqScopeModeHistosUsingDb::create(), VpspScanHistosUsingDb::create(), NoiseHistosUsingDb::create(), OptoScanHistosUsingDb::create(), PedestalsHistosUsingDb::create(), PedsFullNoiseHistosUsingDb::create(), PedsOnlyHistosUsingDb::create(), ApvTimingHistosUsingDb::create(), LatencyHistosUsingDb::create(), CalibrationHistosUsingDb::create(), FastFedCablingHistosUsingDb::create(), FineDelayHistosUsingDb::create(), VpspScanHistosUsingDb::update(), OptoScanHistosUsingDb::update(), ApvTimingHistosUsingDb::update(), LatencyHistosUsingDb::update(), CalibrationHistosUsingDb::update(), FineDelayHistosUsingDb::update(), DaqScopeModeHistosUsingDb::uploadConfigurations(), PedestalsHistosUsingDb::uploadConfigurations(), VpspScanHistosUsingDb::uploadConfigurations(), ApvTimingHistosUsingDb::uploadConfigurations(), PedsOnlyHistosUsingDb::uploadConfigurations(), NoiseHistosUsingDb::uploadConfigurations(), PedsFullNoiseHistosUsingDb::uploadConfigurations(), OptoScanHistosUsingDb::uploadConfigurations(), FastFedCablingHistosUsingDb::uploadConfigurations(), LatencyHistosUsingDb::uploadConfigurations(), CalibrationHistosUsingDb::uploadConfigurations(), and FineDelayHistosUsingDb::uploadConfigurations().
|
protected |
Definition at line 349 of file CommissioningHistosUsingDb.cc.
References sistrip::CCU_CHAN, detInfo_, cuy::ii, SiStripFecKey::isInvalid(), findQualityFiles::jj, SiStripKey::key(), and createJobs::tmp.
Referenced by deviceIsPresent().
|
protected |
Definition at line 368 of file CommissioningHistosUsingDb.cc.
References sistrip::CCU_CHAN, SiStripFecKey::ccuAddr(), SiStripFecKey::ccuChan(), SiStripKey::channel(), detInfo(), SiStripFecKey::fecCrate(), SiStripFecKey::fecRing(), SiStripFecKey::fecSlot(), info(), sistrip::invalid32_, sistrip::mlDqmClient_, contentValuesCheck::ss, and createJobs::tmp.
Referenced by DaqScopeModeHistosUsingDb::update(), VpspScanHistosUsingDb::update(), PedsFullNoiseHistosUsingDb::update(), PedestalsHistosUsingDb::update(), OptoScanHistosUsingDb::update(), ApvTimingHistosUsingDb::update(), and CalibrationHistosUsingDb::update().
|
inline |
Definition at line 96 of file CommissioningHistosUsingDb.h.
References uploadAnal_.
Referenced by SiStripCommissioningOfflineDbClient::createHistos().
|
inline |
Definition at line 94 of file CommissioningHistosUsingDb.h.
References alcaDQMUpload::upload(), and uploadAnal_.
|
inline |
Definition at line 97 of file CommissioningHistosUsingDb.h.
References uploadConf_.
Referenced by SiStripCommissioningOfflineDbClient::createHistos(), DaqScopeModeHistosUsingDb::uploadConfigurations(), ApvTimingHistosUsingDb::uploadConfigurations(), PedsFullNoiseHistosUsingDb::uploadConfigurations(), NoiseHistosUsingDb::uploadConfigurations(), OptoScanHistosUsingDb::uploadConfigurations(), PedestalsHistosUsingDb::uploadConfigurations(), PedsOnlyHistosUsingDb::uploadConfigurations(), VpspScanHistosUsingDb::uploadConfigurations(), FastFedCablingHistosUsingDb::uploadConfigurations(), LatencyHistosUsingDb::uploadConfigurations(), CalibrationHistosUsingDb::uploadConfigurations(), and FineDelayHistosUsingDb::uploadConfigurations().
|
inline |
Definition at line 93 of file CommissioningHistosUsingDb.h.
References alcaDQMUpload::upload(), and uploadConf_.
|
protected |
Definition at line 99 of file CommissioningHistosUsingDb.cc.
References SiStripConfigDb::addAnalysisDescriptions(), SiStripConfigDb::clearAnalysisDescriptions(), createAnalyses(), db_, SiStripConfigDb::dbParams(), TauDecayModes::dec, SiStripConfigDb::deviceFactory(), isotrackApplyRegressor::df, sistrip::mlDqmClient_, SiStripDbParams::partitions(), uploadAnal_, SiStripConfigDb::uploadAnalysisDescriptions(), and uploadConf_.
Referenced by uploadToConfigDb().
|
inlineprotectedvirtual |
Reimplemented in FineDelayHistosUsingDb, CalibrationHistosUsingDb, LatencyHistosUsingDb, FastFedCablingHistosUsingDb, ApvTimingHistosUsingDb, NoiseHistosUsingDb, OptoScanHistosUsingDb, PedestalsHistosUsingDb, PedsFullNoiseHistosUsingDb, PedsOnlyHistosUsingDb, VpspScanHistosUsingDb, and DaqScopeModeHistosUsingDb.
Definition at line 47 of file CommissioningHistosUsingDb.h.
Referenced by uploadToConfigDb().
void CommissioningHistosUsingDb::uploadToConfigDb | ( | ) |
Definition at line 90 of file CommissioningHistosUsingDb.cc.
References addDcuDetIds(), buildDetInfo(), uploadAnalyses(), and uploadConfigurations().
Referenced by SiStripCommissioningOfflineDbClient::uploadToConfigDb().
|
private |
Definition at line 80 of file CommissioningHistosUsingDb.h.
Referenced by addDcuDetIds(), cabling(), and configure().
|
private |
Definition at line 78 of file CommissioningHistosUsingDb.h.
Referenced by buildDetInfo(), configure(), db(), uploadAnalyses(), and ~CommissioningHistosUsingDb().
|
private |
Definition at line 84 of file CommissioningHistosUsingDb.h.
Referenced by buildDetInfo(), and detInfo().
|
private |
Definition at line 76 of file CommissioningHistosUsingDb.h.
Referenced by configure().
|
private |
Definition at line 90 of file CommissioningHistosUsingDb.h.
Referenced by configure().
|
private |
Definition at line 86 of file CommissioningHistosUsingDb.h.
Referenced by doUploadAnal(), and uploadAnalyses().
|
private |
Definition at line 88 of file CommissioningHistosUsingDb.h.
Referenced by doUploadConf(), and uploadAnalyses().