#include <CommissioningHistosUsingDb.h>
Classes | |
class | DetInfo |
Public Member Functions | |
CommissioningHistosUsingDb (SiStripConfigDb *const, 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_ |
bool | uploadAnal_ |
bool | uploadConf_ |
Additional Inherited Members | |
Public Types inherited from CommissioningHistograms | |
typedef std::map< uint32_t, CommissioningAnalysis * > | Analyses |
typedef Analyses::iterator | Analysis |
typedef SummaryPlotFactory< CommissioningAnalysis * > | Factory |
typedef std::map< uint32_t, uint32_t > | FedToFecMap |
typedef std::vector< Histo * > | Histos |
typedef std::map< uint32_t, Histos > | HistosMap |
Static Public Member Functions inherited from CommissioningHistograms | |
static void | copyCustomInformation (DQMStore *const, const std::vector< std::string > &) |
static void | getContents (DQMStore *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::auto_ptr< Factory > | factory_ |
Definition at line 16 of file CommissioningHistosUsingDb.h.
|
private |
Definition at line 86 of file CommissioningHistosUsingDb.h.
CommissioningHistosUsingDb::CommissioningHistosUsingDb | ( | SiStripConfigDb * const | db, |
sistrip::RunType | type = sistrip::UNDEFINED_RUN_TYPE |
||
) |
Definition at line 20 of file CommissioningHistosUsingDb.cc.
References LogTrace, and sistrip::mlDqmClient_.
|
override |
Definition at line 53 of file CommissioningHistosUsingDb.cc.
References db_, LogTrace, and sistrip::mlDqmClient_.
|
private |
Definition at line 37 of file CommissioningHistosUsingDb.cc.
References LogTrace, and sistrip::mlDqmClient_.
Referenced by CommissioningHistosUsingDb::DetInfo::DetInfo().
|
protectedvirtual |
Reimplemented in FastFedCablingHistosUsingDb.
Definition at line 198 of file CommissioningHistosUsingDb.cc.
References cabling_, FedChannelConnection::ccuAddr(), FedChannelConnection::ccuChan(), 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_, and SiStripKey::path().
Referenced by uploadToConfigDb().
|
protected |
Definition at line 291 of file CommissioningHistosUsingDb.cc.
References 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, crabWrapper::key, SiStripKey::key(), sistrip::mlDqmClient_, CommissioningHistosUsingDb::DetInfo::pairs_, SiStripDbParams::partitions(), createTree::pp, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by uploadToConfigDb().
|
inlineprotected |
Definition at line 103 of file CommissioningHistosUsingDb.h.
References cabling_.
Referenced by FastFedCablingHistosUsingDb::addDcuDetIds(), FineDelayHistosUsingDb::computeDelays(), create(), PedestalsHistosUsingDb::update(), PedsFullNoiseHistosUsingDb::update(), NoiseHistosUsingDb::update(), PedsOnlyHistosUsingDb::update(), DaqScopeModeHistosUsingDb::update(), ApvTimingHistosUsingDb::update(), LatencyHistosUsingDb::update(), and FineDelayHistosUsingDb::update().
|
overridevirtual |
Reimplemented from CommissioningHistograms.
Reimplemented in FineDelayHistosUsingDb, and LatencyHistosUsingDb.
Definition at line 60 of file CommissioningHistosUsingDb.cc.
References SiStripFedCablingBuilderFromDb::buildFecCabling(), SiStripFedCablingBuilderFromDb::buildFecCablingFromDevices(), cabling_, db_, sistrip::FAST_CABLING, edm::EventSetup::get(), SiStripFedCablingBuilderFromDb::getFedCabling(), LogTrace, sistrip::mlDqmClient_, edm::ESHandle< T >::product(), runType_, SiStripFedCabling::summary(), and SiStripFedCabling::terse().
Referenced by FineDelayHistosUsingDb::configure(), and LatencyHistosUsingDb::configure().
|
inlineprotectedvirtual |
Reimplemented in FineDelayHistosUsingDb, CalibrationHistosUsingDb, FastFedCablingHistosUsingDb, LatencyHistosUsingDb, SamplingHistosUsingDb, ApvTimingHistosUsingDb, NoiseHistosUsingDb, OptoScanHistosUsingDb, PedestalsHistosUsingDb, PedsFullNoiseHistosUsingDb, PedsOnlyHistosUsingDb, VpspScanHistosUsingDb, and DaqScopeModeHistosUsingDb.
Definition at line 53 of file CommissioningHistosUsingDb.h.
References cabling(), and db().
Referenced by createAnalyses().
|
protectedvirtual |
Definition at line 272 of file CommissioningHistosUsingDb.cc.
References create(), CommissioningHistograms::data(), LogTrace, and sistrip::mlDqmClient_.
Referenced by uploadAnalyses(), and uploadConfigurations().
|
inlineprotected |
Definition at line 102 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(), create(), VpspScanHistosUsingDb::update(), OptoScanHistosUsingDb::update(), ApvTimingHistosUsingDb::update(), LatencyHistosUsingDb::update(), CalibrationHistosUsingDb::update(), FineDelayHistosUsingDb::update(), DaqScopeModeHistosUsingDb::uploadConfigurations(), VpspScanHistosUsingDb::uploadConfigurations(), PedsOnlyHistosUsingDb::uploadConfigurations(), PedsFullNoiseHistosUsingDb::uploadConfigurations(), NoiseHistosUsingDb::uploadConfigurations(), OptoScanHistosUsingDb::uploadConfigurations(), ApvTimingHistosUsingDb::uploadConfigurations(), PedestalsHistosUsingDb::uploadConfigurations(), FastFedCablingHistosUsingDb::uploadConfigurations(), LatencyHistosUsingDb::uploadConfigurations(), CalibrationHistosUsingDb::uploadConfigurations(), and FineDelayHistosUsingDb::uploadConfigurations().
|
protected |
Definition at line 397 of file CommissioningHistosUsingDb.cc.
References sistrip::CCU_CHAN, detInfo_, cuy::ii, SiStripFecKey::isInvalid(), findQualityFiles::jj, SiStripKey::key(), and tmp.
Referenced by CommissioningHistosUsingDb::DetInfo::DetInfo(), and deviceIsPresent().
|
protected |
Definition at line 411 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_, and tmp.
Referenced by CommissioningHistosUsingDb::DetInfo::DetInfo(), VpspScanHistosUsingDb::update(), PedsFullNoiseHistosUsingDb::update(), PedestalsHistosUsingDb::update(), OptoScanHistosUsingDb::update(), DaqScopeModeHistosUsingDb::update(), and ApvTimingHistosUsingDb::update().
|
inline |
Definition at line 99 of file CommissioningHistosUsingDb.h.
References uploadAnal_.
Referenced by SiStripCommissioningOfflineDbClient::createHistos().
|
inline |
Definition at line 97 of file CommissioningHistosUsingDb.h.
References alcaDQMUpload::upload(), and uploadAnal_.
|
inline |
Definition at line 100 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 96 of file CommissioningHistosUsingDb.h.
References alcaDQMUpload::upload(), and uploadConf_.
|
protected |
Definition at line 106 of file CommissioningHistosUsingDb.cc.
References SiStripConfigDb::addAnalysisDescriptions(), SiStripConfigDb::clearAnalysisDescriptions(), createAnalyses(), db_, SiStripConfigDb::dbParams(), TauDecayModes::dec, SiStripConfigDb::deviceFactory(), sistrip::mlDqmClient_, SiStripDbParams::partitions(), uploadAnal_, SiStripConfigDb::uploadAnalysisDescriptions(), and uploadConf_.
Referenced by uploadConfigurations(), and uploadToConfigDb().
|
inlineprotectedvirtual |
Reimplemented in FineDelayHistosUsingDb, CalibrationHistosUsingDb, LatencyHistosUsingDb, SamplingHistosUsingDb, FastFedCablingHistosUsingDb, ApvTimingHistosUsingDb, NoiseHistosUsingDb, OptoScanHistosUsingDb, PedestalsHistosUsingDb, PedsFullNoiseHistosUsingDb, PedsOnlyHistosUsingDb, VpspScanHistosUsingDb, and DaqScopeModeHistosUsingDb.
Definition at line 47 of file CommissioningHistosUsingDb.h.
References createAnalyses(), and uploadAnalyses().
Referenced by uploadToConfigDb().
void CommissioningHistosUsingDb::uploadToConfigDb | ( | ) |
Definition at line 97 of file CommissioningHistosUsingDb.cc.
References addDcuDetIds(), buildDetInfo(), uploadAnalyses(), and uploadConfigurations().
Referenced by SiStripCommissioningOfflineDbClient::uploadToConfigDb().
|
private |
Definition at line 84 of file CommissioningHistosUsingDb.h.
Referenced by addDcuDetIds(), cabling(), and configure().
|
private |
Definition at line 82 of file CommissioningHistosUsingDb.h.
Referenced by buildDetInfo(), configure(), db(), uploadAnalyses(), and ~CommissioningHistosUsingDb().
|
private |
Definition at line 88 of file CommissioningHistosUsingDb.h.
Referenced by buildDetInfo(), and detInfo().
|
private |
Definition at line 80 of file CommissioningHistosUsingDb.h.
Referenced by configure().
|
private |
Definition at line 90 of file CommissioningHistosUsingDb.h.
Referenced by doUploadAnal(), and uploadAnalyses().
|
private |
Definition at line 92 of file CommissioningHistosUsingDb.h.
Referenced by doUploadConf(), and uploadAnalyses().