#include <CommissioningHistosUsingDb.h>
Classes | |
class | DetInfo |
Public Member Functions | |
CommissioningHistosUsingDb (SiStripConfigDb *const, sistrip::RunType=sistrip::UNDEFINED_RUN_TYPE) | |
bool | doUploadAnal () const |
void | doUploadAnal (bool) |
bool | doUploadConf () const |
void | doUploadConf (bool) |
void | uploadToConfigDb () |
virtual | ~CommissioningHistosUsingDb () |
Public Member Functions inherited from CommissioningHistograms | |
CommissioningHistograms (const edm::ParameterSet &pset, DQMStore *const, const sistrip::RunType &) | |
CommissioningHistograms () | |
virtual void | configure (const edm::ParameterSet &, const edm::EventSetup &) |
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) |
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 () |
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 84 of file CommissioningHistosUsingDb.h.
CommissioningHistosUsingDb::CommissioningHistosUsingDb | ( | SiStripConfigDb * const | db, |
sistrip::RunType | type = sistrip::UNDEFINED_RUN_TYPE |
||
) |
Definition at line 18 of file CommissioningHistosUsingDb.cc.
References SiStripFedCablingBuilderFromDb::buildFecCabling(), SiStripFedCablingBuilderFromDb::buildFecCablingFromDevices(), cabling_, db_, sistrip::FAST_CABLING, SiStripFedCablingBuilderFromDb::getFedCabling(), LogTrace, sistrip::mlDqmClient_, runType_, SiStripFedCabling::summary(), and SiStripFedCabling::terse().
|
virtual |
Definition at line 75 of file CommissioningHistosUsingDb.cc.
References db_, LogTrace, and sistrip::mlDqmClient_.
|
private |
Definition at line 59 of file CommissioningHistosUsingDb.cc.
References LogTrace, and sistrip::mlDqmClient_.
Referenced by CommissioningHistosUsingDb::DetInfo::DetInfo().
|
protectedvirtual |
Reimplemented in FastFedCablingHistosUsingDb.
Definition at line 185 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 298 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 101 of file CommissioningHistosUsingDb.h.
References cabling_.
Referenced by FastFedCablingHistosUsingDb::addDcuDetIds(), FineDelayHistosUsingDb::computeDelays(), create(), PedestalsHistosUsingDb::update(), PedsFullNoiseHistosUsingDb::update(), PedsOnlyHistosUsingDb::update(), NoiseHistosUsingDb::update(), ApvTimingHistosUsingDb::update(), LatencyHistosUsingDb::update(), and FineDelayHistosUsingDb::update().
|
inlineprotectedvirtual |
Reimplemented in FineDelayHistosUsingDb, CalibrationHistosUsingDb, FastFedCablingHistosUsingDb, LatencyHistosUsingDb, SamplingHistosUsingDb, ApvTimingHistosUsingDb, NoiseHistosUsingDb, OptoScanHistosUsingDb, PedestalsHistosUsingDb, PedsFullNoiseHistosUsingDb, PedsOnlyHistosUsingDb, and VpspScanHistosUsingDb.
Definition at line 51 of file CommissioningHistosUsingDb.h.
References cabling(), and db().
Referenced by createAnalyses().
|
protectedvirtual |
Definition at line 259 of file CommissioningHistosUsingDb.cc.
References create(), CommissioningHistograms::data(), LogTrace, and sistrip::mlDqmClient_.
Referenced by uploadAnalyses(), and uploadConfigurations().
|
inlineprotected |
Definition at line 100 of file CommissioningHistosUsingDb.h.
References db_.
Referenced by FastFedCablingHistosUsingDb::addDcuDetIds(), buildDetInfo(), FastFedCablingHistosUsingDb::connections(), VpspScanHistosUsingDb::create(), NoiseHistosUsingDb::create(), OptoScanHistosUsingDb::create(), PedestalsHistosUsingDb::create(), PedsFullNoiseHistosUsingDb::create(), PedsOnlyHistosUsingDb::create(), ApvTimingHistosUsingDb::create(), LatencyHistosUsingDb::create(), FastFedCablingHistosUsingDb::create(), CalibrationHistosUsingDb::create(), FineDelayHistosUsingDb::create(), create(), OptoScanHistosUsingDb::update(), VpspScanHistosUsingDb::update(), ApvTimingHistosUsingDb::update(), LatencyHistosUsingDb::update(), CalibrationHistosUsingDb::update(), FineDelayHistosUsingDb::update(), PedsOnlyHistosUsingDb::uploadConfigurations(), VpspScanHistosUsingDb::uploadConfigurations(), ApvTimingHistosUsingDb::uploadConfigurations(), PedestalsHistosUsingDb::uploadConfigurations(), NoiseHistosUsingDb::uploadConfigurations(), OptoScanHistosUsingDb::uploadConfigurations(), PedsFullNoiseHistosUsingDb::uploadConfigurations(), FastFedCablingHistosUsingDb::uploadConfigurations(), LatencyHistosUsingDb::uploadConfigurations(), CalibrationHistosUsingDb::uploadConfigurations(), and FineDelayHistosUsingDb::uploadConfigurations().
|
protected |
Definition at line 404 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 418 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(), and ApvTimingHistosUsingDb::update().
|
inline |
Definition at line 97 of file CommissioningHistosUsingDb.h.
References uploadAnal_.
Referenced by SiStripCommissioningOfflineDbClient::createHistos().
|
inline |
Definition at line 95 of file CommissioningHistosUsingDb.h.
References alcaDQMUpload::upload(), and uploadAnal_.
|
inline |
Definition at line 98 of file CommissioningHistosUsingDb.h.
References uploadConf_.
Referenced by SiStripCommissioningOfflineDbClient::createHistos(), ApvTimingHistosUsingDb::uploadConfigurations(), PedsOnlyHistosUsingDb::uploadConfigurations(), OptoScanHistosUsingDb::uploadConfigurations(), PedestalsHistosUsingDb::uploadConfigurations(), PedsFullNoiseHistosUsingDb::uploadConfigurations(), NoiseHistosUsingDb::uploadConfigurations(), VpspScanHistosUsingDb::uploadConfigurations(), FastFedCablingHistosUsingDb::uploadConfigurations(), LatencyHistosUsingDb::uploadConfigurations(), CalibrationHistosUsingDb::uploadConfigurations(), and FineDelayHistosUsingDb::uploadConfigurations().
|
inline |
Definition at line 94 of file CommissioningHistosUsingDb.h.
References alcaDQMUpload::upload(), and uploadConf_.
|
protected |
Definition at line 93 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, and VpspScanHistosUsingDb.
Definition at line 45 of file CommissioningHistosUsingDb.h.
References createAnalyses(), and uploadAnalyses().
Referenced by uploadToConfigDb().
void CommissioningHistosUsingDb::uploadToConfigDb | ( | ) |
Definition at line 84 of file CommissioningHistosUsingDb.cc.
References addDcuDetIds(), buildDetInfo(), uploadAnalyses(), and uploadConfigurations().
Referenced by SiStripCommissioningOfflineDbClient::uploadToConfigDb().
|
private |
Definition at line 82 of file CommissioningHistosUsingDb.h.
Referenced by addDcuDetIds(), cabling(), and CommissioningHistosUsingDb().
|
private |
Definition at line 80 of file CommissioningHistosUsingDb.h.
Referenced by buildDetInfo(), CommissioningHistosUsingDb(), db(), uploadAnalyses(), and ~CommissioningHistosUsingDb().
|
private |
Definition at line 86 of file CommissioningHistosUsingDb.h.
Referenced by buildDetInfo(), and detInfo().
|
private |
Definition at line 78 of file CommissioningHistosUsingDb.h.
Referenced by CommissioningHistosUsingDb().
|
private |
Definition at line 88 of file CommissioningHistosUsingDb.h.
Referenced by doUploadAnal(), and uploadAnalyses().
|
private |
Definition at line 90 of file CommissioningHistosUsingDb.h.
Referenced by doUploadConf(), and uploadAnalyses().