#include <SiStripCondObjBuilderFromDb.h>
Public Types | |
typedef std::vector < pair_apvpairconn >::iterator | i_apvpairconn |
typedef std::vector < pair_detcon >::iterator | i_trackercon |
typedef std::pair< uint32_t, FedChannelConnection > | pair_apvpairconn |
typedef std::pair< uint32_t, v_apvpairconn > | pair_detcon |
typedef std::vector< pair_detcon > | trackercon |
typedef std::vector < pair_apvpairconn > | v_apvpairconn |
Definition at line 46 of file SiStripCondObjBuilderFromDb.h.
typedef std::vector<pair_apvpairconn>::iterator SiStripCondObjBuilderFromDb::i_apvpairconn |
Definition at line 57 of file SiStripCondObjBuilderFromDb.h.
typedef std::vector<pair_detcon>::iterator SiStripCondObjBuilderFromDb::i_trackercon |
Definition at line 56 of file SiStripCondObjBuilderFromDb.h.
typedef std::pair<uint32_t,FedChannelConnection> SiStripCondObjBuilderFromDb::pair_apvpairconn |
Definition at line 51 of file SiStripCondObjBuilderFromDb.h.
typedef std::pair<uint32_t, v_apvpairconn> SiStripCondObjBuilderFromDb::pair_detcon |
Definition at line 53 of file SiStripCondObjBuilderFromDb.h.
typedef std::vector<pair_detcon> SiStripCondObjBuilderFromDb::trackercon |
Definition at line 54 of file SiStripCondObjBuilderFromDb.h.
typedef std::vector<pair_apvpairconn> SiStripCondObjBuilderFromDb::v_apvpairconn |
Definition at line 52 of file SiStripCondObjBuilderFromDb.h.
SiStripCondObjBuilderFromDb::SiStripCondObjBuilderFromDb | ( | ) |
Definition at line 55 of file SiStripCondObjBuilderFromDb.cc.
References LogTrace, and sistrip::mlESSources_.
SiStripCondObjBuilderFromDb::SiStripCondObjBuilderFromDb | ( | const edm::ParameterSet & | pset, |
const edm::ActivityRegistry & | |||
) |
Definition at line 33 of file SiStripCondObjBuilderFromDb.cc.
References LogTrace, and sistrip::mlESSources_.
|
virtual |
Definition at line 64 of file SiStripCondObjBuilderFromDb.cc.
References LogTrace, and sistrip::mlESSources_.
void SiStripCondObjBuilderFromDb::buildAnalysisRelatedObjects | ( | SiStripConfigDb *const | db, |
trackercon | tc | ||
) |
Definition at line 554 of file SiStripCondObjBuilderFromDb.cc.
References gather_cfg::cout, db_, cond::rpcobgas::detid, end, gain_, m_defaulttickheightvalue, m_gaincalibrationfactor, sistrip::mlESSources_, retrieveTimingAnalysisDescriptions(), setDefaultValuesApvTiming(), setValuesApvTiming(), and storeTiming().
Referenced by buildCondObj().
void SiStripCondObjBuilderFromDb::buildCondObj | ( | ) |
Builds pedestals using FED descriptions and cabling info retrieved from configuration database.
Definition at line 115 of file SiStripCondObjBuilderFromDb.cc.
References buildAnalysisRelatedObjects(), SiStripFedCablingBuilderFromDb::buildFecCabling(), buildFECRelatedObjects(), buildFEDRelatedObjects(), buildStripRelatedObjects(), sistrip::CABLING_FROM_CONNS, SiStripConfigDb::databaseCache(), db_, SiStripConfigDb::deviceFactory(), fed_cabling_, SiStripFedCablingBuilderFromDb::getFedCabling(), LogTrace, m_useanalysis, m_usefec, m_usefed, sistrip::mlESSources_, and v_trackercon.
Referenced by checkUpdate().
|
protected |
Definition at line 212 of file SiStripCondObjBuilderFromDb.cc.
References SiStripDetCabling::getConnections(), and sistrip::mlESSources_.
Referenced by buildStripRelatedObjects().
void SiStripCondObjBuilderFromDb::buildFECRelatedObjects | ( | SiStripConfigDb *const | db, |
trackercon | tc | ||
) |
Definition at line 607 of file SiStripCondObjBuilderFromDb.cc.
References SiStripLatency::compress(), gather_cfg::cout, cond::rpcobgas::detid, end, SiStripConfigDb::getDeviceDescriptions(), latency_, SiStripLatency::printDebug(), SiStripLatency::printSummary(), and setValuesApvLatency().
Referenced by buildCondObj().
void SiStripCondObjBuilderFromDb::buildFEDRelatedObjects | ( | SiStripConfigDb *const | db, |
trackercon | tc | ||
) |
Definition at line 660 of file SiStripCondObjBuilderFromDb.cc.
References gather_cfg::cout, cond::rpcobgas::detid, end, FedChannelConnection::fedId(), SiStripConfigDb::getFedDescriptions(), noises_, pedestals_, quality_, setDefaultValuesCabling(), setValuesCabling(), AlCaHarvesting_cff::SiStripQuality, storeNoise(), storePedestals(), storeQuality(), storeThreshold(), and threshold_.
Referenced by buildCondObj().
void SiStripCondObjBuilderFromDb::buildStripRelatedObjects | ( | SiStripConfigDb *const | db, |
const SiStripDetCabling & | det_cabling | ||
) |
Definition at line 463 of file SiStripCondObjBuilderFromDb.cc.
References SiStripDetCabling::addActiveDetectorsRawIds(), buildConnections(), gather_cfg::cout, sistrip::invalid32_, sistrip::invalid_, sistrip::mlESSources_, p_apvpcon, p_detcon, retrieveFedDescriptions(), retrieveNumberAPVPairs(), v_apvpcon, and v_trackercon.
Referenced by buildCondObj().
bool SiStripCondObjBuilderFromDb::checkForCompatibility | ( | std::stringstream & | input, |
std::stringstream & | output, | ||
std::string & | label | ||
) |
Definition at line 83 of file SiStripCondObjBuilderFromDb.cc.
References SiStripPartition::apvTimingVersion(), SiStripPartition::cabVersion(), dbParams(), SiStripPartition::fecVersion(), SiStripPartition::fedVersion(), SiStripPartition::maskVersion(), SiStripPartition::partitionName(), and SiStripDbParams::partitions().
Referenced by popcon::SiStripPopConConfigDbObjHandler< T >::isTransferNeeded().
|
protected |
Definition at line 73 of file SiStripCondObjBuilderFromDb.cc.
References buildCondObj(), dbParams(), and dbParams_.
Referenced by getApvGain(), getApvLatency(), getFedCabling(), getNoises(), getPedestals(), getQuality(), and getThreshold().
|
inline |
Returns database connection parameters.
Definition at line 66 of file SiStripCondObjBuilderFromDb.h.
References db_, and SiStripConfigDb::dbParams().
Referenced by checkForCompatibility(), and checkUpdate().
|
inline |
Definition at line 85 of file SiStripCondObjBuilderFromDb.h.
References checkUpdate(), and gain_.
Referenced by getValue().
|
inline |
Definition at line 86 of file SiStripCondObjBuilderFromDb.h.
References checkUpdate(), and latency_.
Referenced by getValue().
|
inline |
Definition at line 80 of file SiStripCondObjBuilderFromDb.h.
References checkUpdate(), and fed_cabling_.
Referenced by getValue().
|
inline |
Definition at line 82 of file SiStripCondObjBuilderFromDb.h.
References checkUpdate(), and noises_.
Referenced by getValue().
|
inline |
Definition at line 81 of file SiStripCondObjBuilderFromDb.h.
References checkUpdate(), and pedestals_.
Referenced by getValue().
|
inline |
Definition at line 84 of file SiStripCondObjBuilderFromDb.h.
References checkUpdate(), and quality_.
Referenced by getValue().
|
inline |
Definition at line 83 of file SiStripCondObjBuilderFromDb.h.
References checkUpdate(), and threshold_.
Referenced by getValue().
|
inline |
Definition at line 88 of file SiStripCondObjBuilderFromDb.h.
References getFedCabling().
Referenced by SiStripGainBuilderFromDb::makeGain(), SiStripNoiseBuilderFromDb::makeNoise(), SiStripPedestalsBuilderFromDb::makePedestals(), and popcon::SiStripPopConConfigDbObjHandler< T >::setForTransfer().
|
inline |
Definition at line 89 of file SiStripCondObjBuilderFromDb.h.
References getPedestals().
|
inline |
Definition at line 90 of file SiStripCondObjBuilderFromDb.h.
References getNoises().
|
inline |
Definition at line 91 of file SiStripCondObjBuilderFromDb.h.
References getThreshold().
|
inline |
Definition at line 92 of file SiStripCondObjBuilderFromDb.h.
References getQuality().
|
inline |
Definition at line 93 of file SiStripCondObjBuilderFromDb.h.
References getQuality().
|
inline |
Definition at line 94 of file SiStripCondObjBuilderFromDb.h.
References getApvGain().
|
inline |
Definition at line 95 of file SiStripCondObjBuilderFromDb.h.
References getApvLatency().
|
protected |
Definition at line 193 of file SiStripCondObjBuilderFromDb.cc.
References SiStripDetCabling::addActiveDetectorsRawIds(), LogTrace, and sistrip::mlESSources_.
|
protected |
Definition at line 162 of file SiStripCondObjBuilderFromDb.cc.
References SiStripConfigDb::getFedDescriptions(), and sistrip::mlESSources_.
Referenced by buildStripRelatedObjects().
|
protected |
Definition at line 226 of file SiStripCondObjBuilderFromDb.cc.
References SiStripDetInfoFileReader::getNumberOfApvsAndStripLength(), and cppFunctionSkipper::operator.
Referenced by buildStripRelatedObjects().
|
protected |
Definition at line 177 of file SiStripCondObjBuilderFromDb.cc.
References SiStripConfigDb::getAnalysisDescriptions(), and sistrip::mlESSources_.
Referenced by buildAnalysisRelatedObjects().
|
protected |
Definition at line 256 of file SiStripCondObjBuilderFromDb.cc.
References gather_cfg::cout, m_defaultapvlatencyvalue, m_defaultapvmodevalue, and SiStripLatency::put().
|
protected |
Definition at line 249 of file SiStripCondObjBuilderFromDb.cc.
References inputApvGain, m_defaulttickheightvalue, and m_gaincalibrationfactor.
Referenced by buildAnalysisRelatedObjects().
|
protected |
Definition at line 236 of file SiStripCondObjBuilderFromDb.cc.
References gather_cfg::cout, SiStripBadStrip::encode(), inputNoises, inputPedestals, inputQuality, inputThreshold, m_defaultnoisevalue, m_defaultpedestalvalue, m_defaultthresholdhighvalue, m_defaultthresholdlowvalue, noises_, pedestals_, quality_, SiStripPedestals::setData(), SiStripNoises::setData(), SiStripThreshold::setData(), sistrip::STRIPS_PER_FEDCH, and threshold_.
Referenced by buildFEDRelatedObjects().
|
protected |
Definition at line 303 of file SiStripCondObjBuilderFromDb.cc.
References FedChannelConnection::ccuAddr(), FedChannelConnection::ccuChan(), gather_cfg::cout, FedChannelConnection::fecCrate(), FedChannelConnection::fecRing(), FedChannelConnection::fecSlot(), SiStripDetInfoFileReader::getNumberOfApvsAndStripLength(), FedChannelConnection::i2cAddr(), cppFunctionSkipper::operator, and SiStripLatency::put().
Referenced by buildFECRelatedObjects().
|
protected |
Definition at line 273 of file SiStripCondObjBuilderFromDb.cc.
References SiStripFedKey::fedCh(), FedChannelConnection::fedCh(), FedChannelConnection::fedId(), SiStripConfigDb::getAnalysisDescriptions(), inputApvGain, m_defaulttickheightvalue, m_gaincalibrationfactor, and tmp.
Referenced by buildAnalysisRelatedObjects().
|
protected |
Definition at line 347 of file SiStripCondObjBuilderFromDb.cc.
References FedChannelConnection::apvPairNumber(), gather_cfg::cout, idDealer::description, SiStripBadStrip::encode(), FedChannelConnection::fedCh(), FedChannelConnection::fedId(), inputNoises, inputPedestals, inputQuality, inputThreshold, noises_, pedestals_, quality_, SiStripPedestals::setData(), SiStripNoises::setData(), SiStripThreshold::setData(), strip(), RecoTauPiZeroBuilderPlugins_cfi::strips, sistrip::STRIPS_PER_FEDCH, and threshold_.
Referenced by buildFEDRelatedObjects().
|
protected |
Definition at line 405 of file SiStripCondObjBuilderFromDb.cc.
References gather_cfg::cout, inputNoises, noises_, and SiStripNoises::put().
Referenced by buildFEDRelatedObjects().
|
protected |
Definition at line 390 of file SiStripCondObjBuilderFromDb.cc.
References gather_cfg::cout, inputPedestals, pedestals_, and SiStripPedestals::put().
Referenced by buildFEDRelatedObjects().
|
protected |
Definition at line 433 of file SiStripCondObjBuilderFromDb.cc.
References SiStripQuality::compact(), gather_cfg::cout, inputQuality, SiStripBadStrip::put(), and quality_.
Referenced by buildFEDRelatedObjects().
|
protected |
Definition at line 420 of file SiStripCondObjBuilderFromDb.cc.
References gather_cfg::cout, inputThreshold, SiStripThreshold::put(), and threshold_.
Referenced by buildFEDRelatedObjects().
|
protected |
Definition at line 449 of file SiStripCondObjBuilderFromDb.cc.
References gain_, inputApvGain, sistrip::mlESSources_, and SiStripApvGain::put().
Referenced by buildAnalysisRelatedObjects().
|
protected |
Access to the configuration DB interface class.
Definition at line 104 of file SiStripCondObjBuilderFromDb.h.
Referenced by buildAnalysisRelatedObjects(), buildCondObj(), and dbParams().
|
protected |
Container for DB connection parameters.
Definition at line 107 of file SiStripCondObjBuilderFromDb.h.
Referenced by checkUpdate().
|
protected |
Definition at line 108 of file SiStripCondObjBuilderFromDb.h.
Referenced by buildCondObj(), and getFedCabling().
|
protected |
Definition at line 113 of file SiStripCondObjBuilderFromDb.h.
Referenced by buildAnalysisRelatedObjects(), getApvGain(), and storeTiming().
|
protected |
Definition at line 158 of file SiStripCondObjBuilderFromDb.h.
Referenced by setDefaultValuesApvTiming(), setValuesApvTiming(), and storeTiming().
|
protected |
Definition at line 155 of file SiStripCondObjBuilderFromDb.h.
Referenced by setDefaultValuesCabling(), setValuesCabling(), and storeNoise().
|
protected |
Definition at line 154 of file SiStripCondObjBuilderFromDb.h.
Referenced by setDefaultValuesCabling(), setValuesCabling(), and storePedestals().
|
protected |
Definition at line 157 of file SiStripCondObjBuilderFromDb.h.
Referenced by setDefaultValuesCabling(), setValuesCabling(), and storeQuality().
|
protected |
Definition at line 156 of file SiStripCondObjBuilderFromDb.h.
Referenced by setDefaultValuesCabling(), setValuesCabling(), and storeThreshold().
|
protected |
Definition at line 114 of file SiStripCondObjBuilderFromDb.h.
Referenced by buildFECRelatedObjects(), and getApvLatency().
|
protected |
Definition at line 151 of file SiStripCondObjBuilderFromDb.h.
|
protected |
Definition at line 146 of file SiStripCondObjBuilderFromDb.h.
Referenced by setDefaultValuesApvLatency().
|
protected |
Definition at line 145 of file SiStripCondObjBuilderFromDb.h.
Referenced by setDefaultValuesApvLatency().
|
protected |
Definition at line 142 of file SiStripCondObjBuilderFromDb.h.
Referenced by setDefaultValuesCabling().
|
protected |
Definition at line 141 of file SiStripCondObjBuilderFromDb.h.
Referenced by setDefaultValuesCabling().
|
protected |
Definition at line 143 of file SiStripCondObjBuilderFromDb.h.
Referenced by setDefaultValuesCabling().
|
protected |
Definition at line 144 of file SiStripCondObjBuilderFromDb.h.
Referenced by setDefaultValuesCabling().
|
protected |
Definition at line 147 of file SiStripCondObjBuilderFromDb.h.
Referenced by buildAnalysisRelatedObjects(), setDefaultValuesApvTiming(), and setValuesApvTiming().
|
protected |
Definition at line 140 of file SiStripCondObjBuilderFromDb.h.
Referenced by buildAnalysisRelatedObjects(), setDefaultValuesApvTiming(), and setValuesApvTiming().
|
protected |
Definition at line 148 of file SiStripCondObjBuilderFromDb.h.
Referenced by buildCondObj().
|
protected |
Definition at line 150 of file SiStripCondObjBuilderFromDb.h.
Referenced by buildCondObj().
|
protected |
Definition at line 149 of file SiStripCondObjBuilderFromDb.h.
Referenced by buildCondObj().
|
protected |
Definition at line 110 of file SiStripCondObjBuilderFromDb.h.
Referenced by buildFEDRelatedObjects(), getNoises(), setDefaultValuesCabling(), setValuesCabling(), and storeNoise().
|
protected |
Definition at line 162 of file SiStripCondObjBuilderFromDb.h.
Referenced by buildStripRelatedObjects().
|
protected |
Definition at line 164 of file SiStripCondObjBuilderFromDb.h.
Referenced by buildStripRelatedObjects().
|
protected |
Definition at line 109 of file SiStripCondObjBuilderFromDb.h.
Referenced by buildFEDRelatedObjects(), getPedestals(), setDefaultValuesCabling(), setValuesCabling(), and storePedestals().
|
protected |
Definition at line 112 of file SiStripCondObjBuilderFromDb.h.
Referenced by buildFEDRelatedObjects(), getQuality(), setDefaultValuesCabling(), setValuesCabling(), and storeQuality().
|
protected |
Definition at line 111 of file SiStripCondObjBuilderFromDb.h.
Referenced by buildFEDRelatedObjects(), getThreshold(), setDefaultValuesCabling(), setValuesCabling(), and storeThreshold().
|
protected |
Definition at line 163 of file SiStripCondObjBuilderFromDb.h.
Referenced by buildStripRelatedObjects().
|
protected |
Definition at line 165 of file SiStripCondObjBuilderFromDb.h.
Referenced by buildCondObj(), and buildStripRelatedObjects().