An interface class to the DeviceFactory. More...
#include <SiStripConfigDb.h>
Classes | |
class | DeviceAddress |
class | Run |
Public Member Functions | |
SiStripConfigDb (const edm::ParameterSet &, const edm::ActivityRegistry &) | |
~SiStripConfigDb () | |
Protected Types | |
typedef CommissioningAnalysisDescription | AnalysisDescription |
typedef edm::MapOfVectors < std::string, AnalysisDescription * > | AnalysisDescriptions |
typedef AnalysisDescriptions::range | AnalysisDescriptionsRange |
typedef std::vector < AnalysisDescription * > | AnalysisDescriptionsV |
typedef CommissioningAnalysisDescription::commissioningType | AnalysisType |
typedef std::pair< uint32_t, TkDcuInfo * > | DcuDetId |
typedef Sgi::hash_map < unsigned long, TkDcuInfo * > | DcuDetIdMap |
typedef edm::MapOfVectors < std::string, DcuDetId > | DcuDetIds |
typedef DcuDetIds::range | DcuDetIdsRange |
typedef std::vector< DcuDetId > | DcuDetIdsV |
typedef deviceDescription | DeviceDescription |
typedef edm::MapOfVectors < std::string, DeviceDescription * > | DeviceDescriptions |
typedef DeviceDescriptions::range | DeviceDescriptionsRange |
typedef std::vector < DeviceDescription * > | DeviceDescriptionsV |
typedef enumDeviceType | DeviceType |
typedef ConnectionDescription | FedConnection |
typedef edm::MapOfVectors < std::string, FedConnection * > | FedConnections |
typedef FedConnections::range | FedConnectionsRange |
typedef std::vector < FedConnection * > | FedConnectionsV |
typedef Fed9U::Fed9UDescription | FedDescription |
typedef edm::MapOfVectors < std::string, FedDescription * > | FedDescriptions |
typedef FedDescriptions::range | FedDescriptionsRange |
typedef std::vector < FedDescription * > | FedDescriptionsV |
typedef std::vector< uint16_t > | FedIds |
typedef boost::iterator_range < FedIds::const_iterator > | FedIdsRange |
typedef std::vector< Run > | Runs |
typedef std::map< std::string, Runs > | RunsByPartition |
typedef std::map < sistrip::RunType, Runs > | RunsByType |
Protected Member Functions | |
void | addAnalysisDescriptions (std::string partition, AnalysisDescriptionsV &) |
void | addDcuDetIds (std::string partition, DcuDetIdsV &) |
void | addDeviceDescriptions (std::string partition, DeviceDescriptionsV &) |
void | addFedConnections (std::string partition, FedConnectionsV &) |
void | addFedDescriptions (std::string partition, FedDescriptionsV &) |
std::string | analysisType (AnalysisType) const |
void | clearAnalysisDescriptions (std::string partition="") |
void | clearDcuDetIds (std::string partition="") |
void | clearDeviceDescriptions (std::string partition="") |
void | clearFedConnections (std::string partition="") |
void | clearFedDescriptions (std::string partition="") |
void | closeDbConnection () |
DbClient *const | databaseCache (std::string method_name="") const |
const SiStripDbParams & | dbParams () const |
DeviceAddress | deviceAddress (const deviceDescription &) |
DeviceAddress | deviceAddress (const AnalysisDescription &) |
DeviceFactory *const | deviceFactory (std::string method_name="") const |
AnalysisDescriptionsRange | getAnalysisDescriptions (AnalysisType, std::string partition="") |
DcuDetIdsRange | getDcuDetIds (std::string partition="") |
DeviceDescriptionsRange | getDeviceDescriptions (std::string partition="") |
DeviceDescriptionsRange | getDeviceDescriptions (DeviceType, std::string partition="") |
FedConnectionsRange | getFedConnections (std::string partition="") |
FedDescriptionsRange | getFedDescriptions (std::string partition="") |
FedIdsRange | getFedIds (std::string partition="") |
void | openDbConnection () |
void | partitions (std::list< std::string > &) const |
void | printAnalysisDescriptions (std::string partition="") |
void | printDcuDetIds (std::string partition="") |
void | printDeviceDescriptions (std::string partition="") |
void | printFedConnections (std::string partition="") |
void | printFedDescriptions (std::string partition="") |
void | runs (Runs &) const |
void | runs (const Runs &in, RunsByType &out, std::string optional_partition="") const |
void | runs (const Runs &in, RunsByPartition &out, sistrip::RunType optional_type=sistrip::UNDEFINED_RUN_TYPE) const |
void | uploadAnalysisDescriptions (bool calibration_for_physics=false, std::string partition="") |
void | uploadDcuDetIds (std::string partition="") |
void | uploadDeviceDescriptions (std::string partition="") |
void | uploadFedConnections (std::string partition="") |
void | uploadFedDescriptions (std::string partition="") |
bool | usingDb () const |
bool | usingStrips () const |
void | usingStrips (bool) |
Static Protected Member Functions | |
static DcuDetIdsV::const_iterator | findDcuDetId (DcuDetIdsV::const_iterator begin, DcuDetIdsV::const_iterator end, uint32_t dcu_id) |
static DcuDetIdsV::iterator | findDcuDetId (DcuDetIdsV::iterator begin, DcuDetIdsV::iterator end, uint32_t dcu_id) |
Private Member Functions | |
bool | checkFileExists (const std::string &path) |
void | clearLocalCache () |
void | clone (const DcuDetIdMap &in, DcuDetIdsV &out) const |
void | clone (const DcuDetIdsV &in, DcuDetIdMap &out) const |
void | clone (const DcuDetIdsV &in, DcuDetIdsV &out) const |
std::string | deviceType (const enumDeviceType &device_type) const |
void | handleException (const std::string &method_name, const std::string &extra_info="") const |
void | usingDatabase () |
void | usingDatabaseCache () |
void | usingXmlFiles () |
Static Private Attributes | |
static std::atomic< bool > | allowCalibUpload_ {false} |
static std::atomic< uint32_t > | cntr_ |
Friends | |
class | ApvTimingHistosUsingDb |
class | CalibrationHistosUsingDb |
class | CommissioningHistosUsingDb |
class | DaqScopeModeHistosUsingDb |
class | FastFedCablingHistosUsingDb |
class | FedCablingHistosUsingDb |
class | FineDelayHistosUsingDb |
class | LatencyHistosUsingDb |
class | NoiseHistosUsingDb |
class | OptoScanHistosUsingDb |
class | PedestalsHistosUsingDb |
class | PedsFullNoiseHistosUsingDb |
class | PedsOnlyHistosUsingDb |
class | SiStripCommissioningDbClient |
class | SiStripCommissioningOfflineDbClient |
class | SiStripCondObjBuilderFromDb |
class | SiStripFedCablingBuilderFromDb |
class | SiStripNoiseBuilderFromDb |
class | SiStripPartition |
class | SiStripPedestalsBuilderFromDb |
class | SiStripPsuDetIdMap |
class | testSiStripConfigDb |
class | VpspScanHistosUsingDb |
An interface class to the DeviceFactory.
Definition at line 47 of file SiStripConfigDb.h.
|
protected |
Definition at line 132 of file SiStripConfigDb.h.
|
protected |
Definition at line 133 of file SiStripConfigDb.h.
|
protected |
Definition at line 134 of file SiStripConfigDb.h.
|
protected |
Definition at line 135 of file SiStripConfigDb.h.
|
protected |
Definition at line 131 of file SiStripConfigDb.h.
|
protected |
Definition at line 125 of file SiStripConfigDb.h.
|
protected |
Definition at line 124 of file SiStripConfigDb.h.
|
protected |
Definition at line 126 of file SiStripConfigDb.h.
|
protected |
Definition at line 127 of file SiStripConfigDb.h.
|
protected |
Definition at line 128 of file SiStripConfigDb.h.
|
protected |
Definition at line 108 of file SiStripConfigDb.h.
|
protected |
Definition at line 109 of file SiStripConfigDb.h.
|
protected |
Definition at line 110 of file SiStripConfigDb.h.
|
protected |
Definition at line 111 of file SiStripConfigDb.h.
|
protected |
Definition at line 107 of file SiStripConfigDb.h.
|
protected |
Definition at line 101 of file SiStripConfigDb.h.
|
protected |
Definition at line 102 of file SiStripConfigDb.h.
|
protected |
Definition at line 103 of file SiStripConfigDb.h.
|
protected |
Definition at line 104 of file SiStripConfigDb.h.
|
protected |
Definition at line 114 of file SiStripConfigDb.h.
|
protected |
Definition at line 115 of file SiStripConfigDb.h.
|
protected |
Definition at line 116 of file SiStripConfigDb.h.
|
protected |
Definition at line 117 of file SiStripConfigDb.h.
|
protected |
Definition at line 120 of file SiStripConfigDb.h.
|
protected |
Definition at line 121 of file SiStripConfigDb.h.
|
protected |
Definition at line 187 of file SiStripConfigDb.h.
|
protected |
Definition at line 191 of file SiStripConfigDb.h.
|
protected |
Definition at line 189 of file SiStripConfigDb.h.
SiStripConfigDb::SiStripConfigDb | ( | const edm::ParameterSet & | pset, |
const edm::ActivityRegistry & | activity | ||
) |
Constructor when using the "service" mode, which takes as an argument a ParameterSet (containing the database connection parameters).
Definition at line 21 of file SiStripConfigDb.cc.
References cntr_, submitPVResolutionJobs::count, dbParams_, sistrip::mlConfigDb_, openDbConnection(), SiStripDbParams::pset(), and SiStripDbParams::reset().
SiStripConfigDb::~SiStripConfigDb | ( | ) |
Default destructor.
Definition at line 58 of file SiStripConfigDb.cc.
References closeDbConnection(), cntr_, LogTrace, and sistrip::mlConfigDb_.
|
protected |
Adds to local cache (just for given partition if specified).
Definition at line 164 of file AnalysisDescriptions.cc.
References LogTrace, sistrip::mlConfigDb_, sistrip::SpyUtilities::range(), contentValuesCheck::ss, and createJobs::tmp.
Referenced by CommissioningHistosUsingDb::uploadAnalyses().
|
protected |
Adds to local cache (just for given partition if specified).
Definition at line 110 of file DcuDetIds.cc.
References sistrip::mlConfigDb_, and contentValuesCheck::ss.
|
protected |
Adds to local cache (just for given partition if specified).
Definition at line 197 of file DeviceDescriptions.cc.
References LogTrace, sistrip::mlConfigDb_, sistrip::SpyUtilities::range(), contentValuesCheck::ss, and createJobs::tmp.
|
protected |
Add to local cache (just for given partition if specified).
Definition at line 127 of file FedConnections.cc.
References LogTrace, sistrip::mlConfigDb_, sistrip::SpyUtilities::range(), contentValuesCheck::ss, and createJobs::tmp.
Referenced by FastFedCablingHistosUsingDb::uploadConfigurations().
|
protected |
Adds to local cache (just for given partition if specified).
Definition at line 128 of file FedDescriptions.cc.
References LogTrace, sistrip::mlConfigDb_, sistrip::SpyUtilities::range(), contentValuesCheck::ss, and createJobs::tmp.
|
protected |
|
private |
Checks whether file at "path" exists or not.
Definition at line 731 of file SiStripConfigDb.cc.
References recoMuon::in.
Referenced by usingXmlFiles().
|
protected |
Clears local cache (just for given partition if specified).
Definition at line 337 of file AnalysisDescriptions.cc.
References SplitLinear::begin, dataset::end, edm::MapOfVectors< K, T >::loadNext(), LogTrace, sistrip::mlConfigDb_, sistrip::SpyUtilities::range(), and contentValuesCheck::ss.
Referenced by clearLocalCache(), and CommissioningHistosUsingDb::uploadAnalyses().
|
protected |
Clears local cache (just for given partition if specified).
Definition at line 270 of file DcuDetIds.cc.
References SplitLinear::begin, dataset::end, edm::MapOfVectors< K, T >::loadNext(), LogTrace, sistrip::mlConfigDb_, sistrip::SpyUtilities::range(), and contentValuesCheck::ss.
Referenced by clearLocalCache().
|
protected |
Clears local cache (just for given partition if specified).
Definition at line 335 of file DeviceDescriptions.cc.
References SplitLinear::begin, dataset::end, edm::MapOfVectors< K, T >::loadNext(), LogTrace, sistrip::mlConfigDb_, sistrip::SpyUtilities::range(), and contentValuesCheck::ss.
Referenced by clearLocalCache(), and FineDelayHistosUsingDb::uploadConfigurations().
|
protected |
Clears local cache (just for given partition if specified).
Definition at line 269 of file FedConnections.cc.
References SplitLinear::begin, dataset::end, edm::MapOfVectors< K, T >::loadNext(), LogTrace, sistrip::mlConfigDb_, sistrip::SpyUtilities::range(), and contentValuesCheck::ss.
Referenced by clearLocalCache(), and FastFedCablingHistosUsingDb::uploadConfigurations().
|
protected |
Clears local cache (just for given partition if specified).
Definition at line 268 of file FedDescriptions.cc.
References SplitLinear::begin, dataset::end, unpackBuffers-CaloStage1::feds, edm::MapOfVectors< K, T >::loadNext(), LogTrace, sistrip::mlConfigDb_, sistrip::SpyUtilities::range(), and contentValuesCheck::ss.
Referenced by clearLocalCache(), and FineDelayHistosUsingDb::uploadConfigurations().
|
private |
Definition at line 175 of file SiStripConfigDb.cc.
References clearAnalysisDescriptions(), clearDcuDetIds(), clearDeviceDescriptions(), clearFedConnections(), clearFedDescriptions(), fedIds_, LogTrace, sistrip::mlConfigDb_, and typedDevices_.
Referenced by closeDbConnection(), and openDbConnection().
|
private |
|
private |
|
private |
|
protected |
Closes connection to DeviceFactory API.
Definition at line 136 of file SiStripConfigDb.cc.
References clearLocalCache(), dbCache_, factory_, handleException(), LogTrace, sistrip::mlConfigDb_, and openConnection_.
Referenced by ~SiStripConfigDb().
|
protected |
Returns pointer to DeviceFactory API, with check if NULL.
Definition at line 208 of file SiStripConfigDb.cc.
References dbCache_, sistrip::mlConfigDb_, and contentValuesCheck::ss.
Referenced by SiStripCondObjBuilderFromDb::buildCondObj(), SiStripFedCablingBuilderFromDb::make(), and usingDatabaseCache().
|
inlineprotected |
Returns database connection parameters.
Definition at line 421 of file SiStripConfigDb.h.
References dbParams_.
Referenced by CommissioningHistosUsingDb::buildDetInfo(), DaqScopeModeHistosUsingDb::create(), VpspScanHistosUsingDb::create(), NoiseHistosUsingDb::create(), OptoScanHistosUsingDb::create(), PedestalsHistosUsingDb::create(), PedsFullNoiseHistosUsingDb::create(), PedsOnlyHistosUsingDb::create(), ApvTimingHistosUsingDb::create(), LatencyHistosUsingDb::create(), CalibrationHistosUsingDb::create(), FastFedCablingHistosUsingDb::create(), FineDelayHistosUsingDb::create(), SiStripCondObjBuilderFromDb::dbParams(), CommissioningHistosUsingDb::uploadAnalyses(), and FastFedCablingHistosUsingDb::uploadConfigurations().
|
protected |
Extracts unique hardware address of device from description.
Definition at line 503 of file DeviceDescriptions.cc.
References generateTowerEtThresholdLUT::addr, SiStripConfigDb::DeviceAddress::ccuAddr_, SiStripConfigDb::DeviceAddress::ccuChan_, submitPVResolutionJobs::desc, getPayloadData::description, sistrip::FEC_CRATE_OFFSET, sistrip::FEC_RING_OFFSET, SiStripConfigDb::DeviceAddress::fecCrate_, SiStripConfigDb::DeviceAddress::fecRing_, SiStripConfigDb::DeviceAddress::fecSlot_, SiStripConfigDb::DeviceAddress::i2cAddr_, SiStripFecKey::lldChan(), and SiStripConfigDb::DeviceAddress::lldChan_.
Referenced by FastFedCablingHistosUsingDb::addDcuDetIds(), CommissioningHistosUsingDb::buildDetInfo(), SiStripFedCablingBuilderFromDb::buildFecCablingFromDevices(), CalibrationHistosUsingDb::CalibrationHistosUsingDb(), FastFedCablingHistosUsingDb::connections(), OptoScanHistosUsingDb::update(), ApvTimingHistosUsingDb::update(), VpspScanHistosUsingDb::update(), LatencyHistosUsingDb::update(), CalibrationHistosUsingDb::update(), and FineDelayHistosUsingDb::update().
|
protected |
Extracts unique hardware address of device from description.
Definition at line 504 of file AnalysisDescriptions.cc.
References generateTowerEtThresholdLUT::addr, SiStripConfigDb::DeviceAddress::ccuAddr_, SiStripConfigDb::DeviceAddress::ccuChan_, sistrip::FEC_CRATE_OFFSET, sistrip::FEC_RING_OFFSET, SiStripConfigDb::DeviceAddress::fecCrate_, SiStripConfigDb::DeviceAddress::feChan_, SiStripConfigDb::DeviceAddress::fecRing_, SiStripConfigDb::DeviceAddress::fecSlot_, SiStripConfigDb::DeviceAddress::fedId_, SiStripConfigDb::DeviceAddress::feUnit_, SiStripConfigDb::DeviceAddress::i2cAddr_, SiStripFecKey::lldChan(), and SiStripConfigDb::DeviceAddress::lldChan_.
|
protected |
Returns pointer to DeviceFactory API, with check if NULL.
Definition at line 191 of file SiStripConfigDb.cc.
References factory_, sistrip::mlConfigDb_, and contentValuesCheck::ss.
Referenced by SiStripCondObjBuilderFromDb::buildCondObj(), SiStripFedCablingBuilderFromDb::make(), partitions(), runs(), SiStripPartition::update(), CommissioningHistosUsingDb::uploadAnalyses(), usingDatabase(), and usingXmlFiles().
|
private |
Returns device identifier based on device type.
Definition at line 524 of file DeviceDescriptions.cc.
|
staticprotected |
Utility method.
Definition at line 412 of file DcuDetIds.cc.
References SplitLinear::begin, and dataset::end.
Referenced by FastFedCablingHistosUsingDb::addDcuDetIds(), SiStripFedCablingBuilderFromDb::assignDcuAndDetIds(), CommissioningHistosUsingDb::buildDetInfo(), and FastFedCablingHistosUsingDb::connections().
|
staticprotected |
Utility method.
Definition at line 427 of file DcuDetIds.cc.
References SplitLinear::begin, and dataset::end.
|
protected |
Returns local cache (just for given partition if specified).
T_UNKNOWN, T_ANALYSIS_FASTFEDCABLING, T_ANALYSIS_TIMING, T_ANALYSIS_OPTOSCAN, T_ANALYSIS_VPSPSCAN, T_ANALYSIS_PEDESTAL, T_ANALYSIS_APVLATENCY, T_ANALYSIS_FINEDELAY, T_ANALYSIS_CALIBRATION.
Definition at line 20 of file AnalysisDescriptions.cc.
References SplitLinear::begin, SiStripPartition::defaultPartitionName_, dataset::end, LogTrace, sistrip::mlConfigDb_, np, sistrip::SpyUtilities::range(), and contentValuesCheck::ss.
Referenced by SiStripCondObjBuilderFromDb::retrieveTimingAnalysisDescriptions(), and SiStripCondObjBuilderFromDb::setValuesApvTiming().
|
protected |
Returns local cache (just for given partition if specified).
Definition at line 10 of file DcuDetIds.cc.
References SplitLinear::begin, clone(), SiStripPartition::defaultPartitionName_, math::cholesky::dst, dataset::end, LogTrace, sistrip::mlConfigDb_, np, sistrip::SpyUtilities::range(), alcazmumu_cfi::src, and contentValuesCheck::ss.
Referenced by FastFedCablingHistosUsingDb::addDcuDetIds(), CommissioningHistosUsingDb::buildDetInfo(), SiStripFedCablingBuilderFromDb::buildFecCabling(), SiStripFedCablingBuilderFromDb::buildFecCablingFromDetIds(), SiStripFedCablingBuilderFromDb::buildFecCablingFromDevices(), SiStripFedCablingBuilderFromDb::buildFecCablingFromFedConnections(), and FastFedCablingHistosUsingDb::uploadConfigurations().
|
protected |
Returns local cache (just for given partition if specified).
Definition at line 11 of file DeviceDescriptions.cc.
References SplitLinear::begin, SiStripPartition::defaultPartitionName_, dataset::end, LogTrace, sistrip::mlConfigDb_, np, sistrip::SpyUtilities::range(), and contentValuesCheck::ss.
Referenced by FastFedCablingHistosUsingDb::addDcuDetIds(), CommissioningHistosUsingDb::buildDetInfo(), SiStripFedCablingBuilderFromDb::buildFecCabling(), SiStripFedCablingBuilderFromDb::buildFecCablingFromDevices(), SiStripCondObjBuilderFromDb::buildFECRelatedObjects(), CalibrationHistosUsingDb::CalibrationHistosUsingDb(), FastFedCablingHistosUsingDb::connections(), getDeviceDescriptions(), VpspScanHistosUsingDb::uploadConfigurations(), ApvTimingHistosUsingDb::uploadConfigurations(), OptoScanHistosUsingDb::uploadConfigurations(), FastFedCablingHistosUsingDb::uploadConfigurations(), LatencyHistosUsingDb::uploadConfigurations(), CalibrationHistosUsingDb::uploadConfigurations(), and FineDelayHistosUsingDb::uploadConfigurations().
|
protected |
Returns (pair of iterators to) descriptions of given type. (APV25, APVMUX, DCU, LASERDRIVER, PLL, DOH).
Definition at line 126 of file DeviceDescriptions.cc.
References getDeviceDescriptions(), LogTrace, sistrip::mlConfigDb_, contentValuesCheck::ss, and createJobs::tmp.
|
protected |
Returns local cache (just for given partition if specified).
Definition at line 11 of file FedConnections.cc.
References SplitLinear::begin, SiStripPartition::defaultPartitionName_, dataset::end, LogTrace, sistrip::mlConfigDb_, np, sistrip::SpyUtilities::range(), and contentValuesCheck::ss.
Referenced by SiStripFedCablingBuilderFromDb::buildFecCabling(), and SiStripFedCablingBuilderFromDb::buildFecCablingFromFedConnections().
|
protected |
Returns local cache (just for given partition if specified).
Definition at line 12 of file FedDescriptions.cc.
References SplitLinear::begin, SiStripPartition::defaultPartitionName_, dataset::end, unpackBuffers-CaloStage1::feds, LogTrace, sistrip::mlConfigDb_, np, sistrip::SpyUtilities::range(), and contentValuesCheck::ss.
Referenced by SiStripCondObjBuilderFromDb::buildFEDRelatedObjects(), SiStripCondObjBuilderFromDb::retrieveFedDescriptions(), DaqScopeModeHistosUsingDb::uploadConfigurations(), PedsFullNoiseHistosUsingDb::uploadConfigurations(), PedsOnlyHistosUsingDb::uploadConfigurations(), PedestalsHistosUsingDb::uploadConfigurations(), ApvTimingHistosUsingDb::uploadConfigurations(), NoiseHistosUsingDb::uploadConfigurations(), FastFedCablingHistosUsingDb::uploadConfigurations(), LatencyHistosUsingDb::uploadConfigurations(), and FineDelayHistosUsingDb::uploadConfigurations().
|
protected |
Extracts FED ids from FED descriptions.
Definition at line 431 of file FedDescriptions.cc.
References unpackBuffers-CaloStage1::feds, sistrip::mlCabling_, and sistrip::mlConfigDb_.
Referenced by SiStripFedCablingBuilderFromDb::buildFecCablingFromDevices().
|
private |
Handles exceptions thrown by software.
Definition at line 661 of file SiStripConfigDb.cc.
References alignCSCRings::e, cppFunctionSkipper::exception, sistrip::mlConfigDb_, contentValuesCheck::ss, and cms::Exception::what().
Referenced by closeDbConnection(), SiStripPartition::update(), usingDatabase(), usingDatabaseCache(), and usingXmlFiles().
|
protected |
Establishes connection to DeviceFactory API.
Definition at line 98 of file SiStripConfigDb.cc.
References clearLocalCache(), dbParams_, LogTrace, sistrip::mlConfigDb_, openConnection_, contentValuesCheck::ss, usingDatabase(), usingDatabaseCache(), SiStripDbParams::usingDb(), SiStripDbParams::usingDbCache(), and usingXmlFiles().
Referenced by SiStripConfigDb().
|
protected |
Retrieves all partitions names from database.
Definition at line 947 of file SiStripConfigDb.cc.
References deviceFactory(), isotrackApplyRegressor::df, and sistrip::mlConfigDb_.
Referenced by usingDatabase().
|
protected |
Prints local cache (just for given partition if specified).
Definition at line 417 of file AnalysisDescriptions.cc.
References generateTowerEtThresholdLUT::addr, SplitLinear::begin, SiStripConfigDb::DeviceAddress::ccuAddr_, SiStripConfigDb::DeviceAddress::ccuChan_, data, dataset::end, SiStripFecKey::fecCrate(), SiStripConfigDb::DeviceAddress::fecCrate_, SiStripFecKey::fecRing(), SiStripConfigDb::DeviceAddress::fecRing_, SiStripFecKey::fecSlot(), SiStripConfigDb::DeviceAddress::fecSlot_, spr::find(), SiStripConfigDb::DeviceAddress::i2cAddr_, cuy::ii, findQualityFiles::jj, SiStripKey::key(), submitPVResolutionJobs::key, SiStripConfigDb::DeviceAddress::lldChan_, LogTrace, sistrip::mlConfigDb_, contentValuesCheck::ss, groupFilesInBlocks::temp, and createJobs::tmp.
|
protected |
Prints local cache (just for given partition if specified).
Definition at line 349 of file DcuDetIds.cc.
References LogTrace, sistrip::mlConfigDb_, and contentValuesCheck::ss.
|
protected |
Prints local cache (just for given partition if specified).
Definition at line 414 of file DeviceDescriptions.cc.
References generateTowerEtThresholdLUT::addr, SplitLinear::begin, SiStripConfigDb::DeviceAddress::ccuAddr_, SiStripConfigDb::DeviceAddress::ccuChan_, data, dataset::end, SiStripFecKey::fecCrate(), SiStripConfigDb::DeviceAddress::fecCrate_, SiStripFecKey::fecRing(), SiStripConfigDb::DeviceAddress::fecRing_, SiStripFecKey::fecSlot(), SiStripConfigDb::DeviceAddress::fecSlot_, spr::find(), SiStripConfigDb::DeviceAddress::i2cAddr_, cuy::ii, findQualityFiles::jj, SiStripKey::key(), submitPVResolutionJobs::key, SiStripConfigDb::DeviceAddress::lldChan_, LogTrace, sistrip::mlConfigDb_, contentValuesCheck::ss, groupFilesInBlocks::temp, and createJobs::tmp.
|
protected |
Prints local cache (just for given partition if specified).
Definition at line 348 of file FedConnections.cc.
References SplitLinear::begin, dataset::end, unpackBuffers-CaloStage1::feds, spr::find(), first, cuy::ii, findQualityFiles::jj, dqmdumpme::last, LogTrace, sistrip::mlConfigDb_, contentValuesCheck::ss, groupFilesInBlocks::temp, and createJobs::tmp.
|
protected |
Prints local cache (just for given partition if specified).
Definition at line 348 of file FedDescriptions.cc.
References SplitLinear::begin, data, dataset::end, unpackBuffers-CaloStage1::feds, spr::find(), first, cuy::ii, findQualityFiles::jj, submitPVResolutionJobs::key, dqmdumpme::last, LogTrace, sistrip::mlConfigDb_, contentValuesCheck::ss, groupFilesInBlocks::temp, and createJobs::tmp.
|
protected |
Retrieves all runs from database.
Definition at line 743 of file SiStripConfigDb.cc.
References python.cmstools::all(), sistrip::APV_LATENCY, sistrip::APV_TIMING, sistrip::CALIBRATION, sistrip::CALIBRATION_DECO, sistrip::CALIBRATION_SCAN, sistrip::CALIBRATION_SCAN_DECO, sistrip::DAQ_SCOPE_MODE, deviceFactory(), isotrackApplyRegressor::df, sistrip::FAST_CABLING, sistrip::FED_CABLING, sistrip::FED_TIMING, sistrip::FINE_DELAY, sistrip::FINE_DELAY_PLL, sistrip::FINE_DELAY_TTC, cuy::ii, findQualityFiles::jj, sistrip::mlConfigDb_, sistrip::MULTI_MODE, SiStripConfigDb::Run::number_, sistrip::OPTO_SCAN, SiStripConfigDb::Run::partition_, sistrip::PEDESTALS, sistrip::PHYSICS, sistrip::PHYSICS_ZS, sistrip::QUITE_FAST_CABLING, alignCSCRings::r, groupFilesInBlocks::temp, SiStripConfigDb::Run::type_, sistrip::UNDEFINED_RUN_TYPE, sistrip::UNKNOWN_RUN_TYPE, and sistrip::VPSP_SCAN.
|
protected |
Runs organsed by type, optionally for given partition.
Definition at line 829 of file SiStripConfigDb.cc.
References dbParams_, newFWLiteAna::found, cuy::ii, findQualityFiles::jj, sistrip::mlConfigDb_, SiStripDbParams::partition(), SiStripDbParams::partitions(), sistrip::UNDEFINED_RUN_TYPE, and sistrip::UNKNOWN_RUN_TYPE.
|
protected |
Runs organsed by partition, optionally for given type.
Definition at line 893 of file SiStripConfigDb.cc.
References newFWLiteAna::found, cuy::ii, findQualityFiles::jj, and sistrip::UNDEFINED_RUN_TYPE.
|
protected |
Uploads to database (just for given partition if specified).
list of all analysis type
Definition at line 230 of file AnalysisDescriptions.cc.
References spr::find(), LogTrace, sistrip::mlConfigDb_, sistrip::SpyUtilities::range(), contentValuesCheck::ss, and relval_steps::version.
Referenced by CommissioningHistosUsingDb::uploadAnalyses().
|
protected |
Uploads to database (just for given partition if specified).
Definition at line 183 of file DcuDetIds.cc.
References sistrip::mlConfigDb_, and contentValuesCheck::ss.
|
protected |
Uploads to database (just for given partition if specified).
Definition at line 264 of file DeviceDescriptions.cc.
References LogTrace, sistrip::mlConfigDb_, sistrip::SpyUtilities::range(), and contentValuesCheck::ss.
Referenced by ApvTimingHistosUsingDb::uploadConfigurations(), OptoScanHistosUsingDb::uploadConfigurations(), VpspScanHistosUsingDb::uploadConfigurations(), LatencyHistosUsingDb::uploadConfigurations(), CalibrationHistosUsingDb::uploadConfigurations(), and FineDelayHistosUsingDb::uploadConfigurations().
|
protected |
Uploads to database (just for given partition if specified).
Definition at line 196 of file FedConnections.cc.
References LogTrace, sistrip::mlConfigDb_, sistrip::SpyUtilities::range(), and contentValuesCheck::ss.
Referenced by FastFedCablingHistosUsingDb::uploadConfigurations().
|
protected |
Uploads to database (just for given partition if specified).
Definition at line 197 of file FedDescriptions.cc.
References unpackBuffers-CaloStage1::feds, LogTrace, sistrip::mlConfigDb_, sistrip::SpyUtilities::range(), and contentValuesCheck::ss.
Referenced by DaqScopeModeHistosUsingDb::uploadConfigurations(), PedsOnlyHistosUsingDb::uploadConfigurations(), ApvTimingHistosUsingDb::uploadConfigurations(), PedestalsHistosUsingDb::uploadConfigurations(), PedsFullNoiseHistosUsingDb::uploadConfigurations(), NoiseHistosUsingDb::uploadConfigurations(), FastFedCablingHistosUsingDb::uploadConfigurations(), LatencyHistosUsingDb::uploadConfigurations(), and FineDelayHistosUsingDb::uploadConfigurations().
|
private |
Definition at line 225 of file SiStripConfigDb.cc.
References SiStripDbParams::addPartition(), SiStripDbParams::clearPartitions(), SiStripDbParams::confdb(), dbParams_, TauDecayModes::dec, deviceFactory(), sistrip::dir_, factory_, lut2db_cfg::filename, handleException(), cuy::ii, findQualityFiles::jj, geometryCSVtoXML::line, LogTrace, sistrip::mlConfigDb_, sistrip::null_, convertSQLiteXML::ok, SiStripDbParams::partitionNames(), SiStripDbParams::partitions(), partitions(), SiStripDbParams::passwd(), fed_dqm_sourceclient-live_cfg::path, SiStripDbParams::path(), pickleFileParser::slash, contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, SiStripDbParams::tnsAdmin(), EnviromentSettings::user, SiStripDbParams::user(), and SiStripDbParams::usingDb().
Referenced by openDbConnection().
|
private |
Definition at line 409 of file SiStripConfigDb.cc.
References SiStripDbParams::addPartition(), databaseCache(), dbCache_, dbParams_, TauDecayModes::dec, SiStripPartition::defaultPartitionName_, handleException(), LogTrace, sistrip::mlConfigDb_, SiStripDbParams::reset(), SiStripDbParams::sharedMemory(), SiStripPartition, contentValuesCheck::ss, groupFilesInBlocks::temp, SiStripDbParams::usingDb(), and SiStripDbParams::usingDbCache().
Referenced by openDbConnection().
|
inlineprotected |
Returns whether using database or xml files.
Indicates whether DB (true) or XML files (false) are used.
Definition at line 424 of file SiStripConfigDb.h.
References dbParams_, and SiStripDbParams::usingDb().
|
inlineprotected |
Strip-level info enabled/disabled within FED descriptions.
Indicates whether FED strip info is uploaded/downloaded.
Definition at line 427 of file SiStripConfigDb.h.
References usingStrips_.
|
inlineprotected |
Enables/disables strip-level info within FED descriptions.
Switches on/off of upload/download for FED strip info.
Definition at line 430 of file SiStripConfigDb.h.
References usingStrips_.
|
private |
Definition at line 470 of file SiStripConfigDb.cc.
References checkFileExists(), dbParams_, TauDecayModes::dec, deviceFactory(), factory_, handleException(), LogTrace, sistrip::mlConfigDb_, SiStripDbParams::outputDcuInfoXml(), SiStripDbParams::outputFecXml(), SiStripDbParams::outputFedXml(), SiStripDbParams::outputModuleXml(), SiStripDbParams::partitions(), contentValuesCheck::ss, and SiStripDbParams::usingDb().
Referenced by openDbConnection().
|
friend |
Definition at line 82 of file SiStripConfigDb.h.
|
friend |
Definition at line 91 of file SiStripConfigDb.h.
|
friend |
Definition at line 79 of file SiStripConfigDb.h.
|
friend |
Definition at line 92 of file SiStripConfigDb.h.
|
friend |
Definition at line 80 of file SiStripConfigDb.h.
|
friend |
Definition at line 81 of file SiStripConfigDb.h.
|
friend |
Definition at line 90 of file SiStripConfigDb.h.
|
friend |
Definition at line 89 of file SiStripConfigDb.h.
|
friend |
Definition at line 87 of file SiStripConfigDb.h.
|
friend |
Definition at line 83 of file SiStripConfigDb.h.
|
friend |
Definition at line 84 of file SiStripConfigDb.h.
|
friend |
Definition at line 85 of file SiStripConfigDb.h.
|
friend |
Definition at line 86 of file SiStripConfigDb.h.
|
friend |
Definition at line 77 of file SiStripConfigDb.h.
|
friend |
Definition at line 78 of file SiStripConfigDb.h.
|
friend |
Definition at line 73 of file SiStripConfigDb.h.
|
friend |
Definition at line 70 of file SiStripConfigDb.h.
|
friend |
Definition at line 72 of file SiStripConfigDb.h.
|
friend |
Definition at line 95 of file SiStripConfigDb.h.
Referenced by usingDatabaseCache().
|
friend |
Definition at line 71 of file SiStripConfigDb.h.
|
friend |
Definition at line 74 of file SiStripConfigDb.h.
|
friend |
Definition at line 96 of file SiStripConfigDb.h.
|
friend |
Definition at line 88 of file SiStripConfigDb.h.
|
staticprivate |
Definition at line 415 of file SiStripConfigDb.h.
|
private |
Analysis descriptions for given commissioning run.
Definition at line 378 of file SiStripConfigDb.h.
|
private |
Cache for devices of given type.
Definition at line 381 of file SiStripConfigDb.h.
|
staticprivate |
Static counter of instances of this class.
Definition at line 413 of file SiStripConfigDb.h.
Referenced by SiStripConfigDb(), and ~SiStripConfigDb().
|
private |
FED-FEC connection descriptions.
Definition at line 366 of file SiStripConfigDb.h.
|
private |
Pointer to the DbClient class.
Definition at line 358 of file SiStripConfigDb.h.
Referenced by closeDbConnection(), databaseCache(), and usingDatabaseCache().
|
private |
Instance of struct that holds all DB connection parameters.
Definition at line 361 of file SiStripConfigDb.h.
Referenced by dbParams(), openDbConnection(), runs(), SiStripConfigDb(), usingDatabase(), usingDatabaseCache(), usingDb(), and usingXmlFiles().
|
private |
DcuId-DetId map (map of TkDcuInfo objects).
Definition at line 375 of file SiStripConfigDb.h.
|
private |
Cache for devices of given type.
Definition at line 387 of file SiStripConfigDb.h.
|
private |
Device descriptions (including DCUs).
Definition at line 369 of file SiStripConfigDb.h.
|
private |
Cache for devices of given type.
Definition at line 396 of file SiStripConfigDb.h.
|
private |
Pointer to the DeviceFactory API.
Definition at line 355 of file SiStripConfigDb.h.
Referenced by closeDbConnection(), deviceFactory(), usingDatabase(), and usingXmlFiles().
|
private |
|
private |
Fed9U descriptions.
Definition at line 372 of file SiStripConfigDb.h.
|
private |
Cache for devices of given type.
Definition at line 390 of file SiStripConfigDb.h.
|
private |
Cache for devices of given type.
Definition at line 384 of file SiStripConfigDb.h.
|
private |
Definition at line 410 of file SiStripConfigDb.h.
Referenced by closeDbConnection(), and openDbConnection().
|
private |
Cache for devices of given type.
Definition at line 393 of file SiStripConfigDb.h.
|
private |
Cache for devices of given type.
Definition at line 399 of file SiStripConfigDb.h.
Referenced by clearLocalCache().
|
private |
Switch to enable/disable transfer of strip information.
Definition at line 407 of file SiStripConfigDb.h.
Referenced by usingStrips().