#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 43 of file SiStripCondObjBuilderFromDb.h.
typedef std::vector<pair_apvpairconn>::iterator SiStripCondObjBuilderFromDb::i_apvpairconn |
Definition at line 54 of file SiStripCondObjBuilderFromDb.h.
typedef std::vector<pair_detcon>::iterator SiStripCondObjBuilderFromDb::i_trackercon |
Definition at line 53 of file SiStripCondObjBuilderFromDb.h.
typedef std::pair<uint32_t,FedChannelConnection> SiStripCondObjBuilderFromDb::pair_apvpairconn |
Definition at line 48 of file SiStripCondObjBuilderFromDb.h.
typedef std::pair<uint32_t, v_apvpairconn> SiStripCondObjBuilderFromDb::pair_detcon |
Definition at line 50 of file SiStripCondObjBuilderFromDb.h.
typedef std::vector<pair_detcon> SiStripCondObjBuilderFromDb::trackercon |
Definition at line 51 of file SiStripCondObjBuilderFromDb.h.
typedef std::vector<pair_apvpairconn> SiStripCondObjBuilderFromDb::v_apvpairconn |
Definition at line 49 of file SiStripCondObjBuilderFromDb.h.
SiStripCondObjBuilderFromDb::SiStripCondObjBuilderFromDb | ( | ) |
Definition at line 53 of file SiStripCondObjBuilderFromDb.cc.
References LogTrace, and sistrip::mlESSources_.
SiStripCondObjBuilderFromDb::SiStripCondObjBuilderFromDb | ( | const edm::ParameterSet & | pset, |
const edm::ActivityRegistry & | |||
) |
Definition at line 31 of file SiStripCondObjBuilderFromDb.cc.
References LogTrace, and sistrip::mlESSources_.
|
virtual |
Definition at line 62 of file SiStripCondObjBuilderFromDb.cc.
References LogTrace, and sistrip::mlESSources_.
void SiStripCondObjBuilderFromDb::buildAnalysisRelatedObjects | ( | SiStripConfigDb *const | db, |
const trackercon & | tc | ||
) |
Definition at line 552 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 113 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 210 of file SiStripCondObjBuilderFromDb.cc.
References SiStripDetCabling::getConnections(), and sistrip::mlESSources_.
Referenced by buildStripRelatedObjects().
void SiStripCondObjBuilderFromDb::buildFECRelatedObjects | ( | SiStripConfigDb *const | db, |
const trackercon & | tc | ||
) |
Definition at line 606 of file SiStripCondObjBuilderFromDb.cc.
References SiStripLatency::compress(), gather_cfg::cout, cond::rpcobgas::detid, end, SiStripConfigDb::getDeviceDescriptions(), latency_, SiStripLatency::printDebug(), SiStripLatency::printSummary(), setValuesApvLatency(), and contentValuesCheck::ss.
Referenced by buildCondObj().
void SiStripCondObjBuilderFromDb::buildFEDRelatedObjects | ( | SiStripConfigDb *const | db, |
const 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 461 of file SiStripCondObjBuilderFromDb.cc.
References SiStripDetCabling::addActiveDetectorsRawIds(), buildConnections(), gather_cfg::cout, TauDecayModes::dec, 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 81 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 71 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 63 of file SiStripCondObjBuilderFromDb.h.
References db_, and SiStripConfigDb::dbParams().
Referenced by checkForCompatibility(), and checkUpdate().
|
inline |
Definition at line 82 of file SiStripCondObjBuilderFromDb.h.
References checkUpdate(), and gain_.
Referenced by getValue().
|
inline |
Definition at line 83 of file SiStripCondObjBuilderFromDb.h.
References checkUpdate(), and latency_.
Referenced by getValue().
|
inline |
Definition at line 77 of file SiStripCondObjBuilderFromDb.h.
References checkUpdate(), and fed_cabling_.
Referenced by getValue().
|
inline |
Definition at line 79 of file SiStripCondObjBuilderFromDb.h.
References checkUpdate(), and noises_.
Referenced by getValue().
|
inline |
Definition at line 78 of file SiStripCondObjBuilderFromDb.h.
References checkUpdate(), and pedestals_.
Referenced by getValue().
|
inline |
Definition at line 81 of file SiStripCondObjBuilderFromDb.h.
References checkUpdate(), and quality_.
Referenced by getValue().
|
inline |
Definition at line 80 of file SiStripCondObjBuilderFromDb.h.
References checkUpdate(), and threshold_.
Referenced by getValue().
|
inline |
Definition at line 85 of file SiStripCondObjBuilderFromDb.h.
References getFedCabling().
Referenced by SiStripGainBuilderFromDb::makeGain(), SiStripNoiseBuilderFromDb::makeNoise(), SiStripPedestalsBuilderFromDb::makePedestals(), and popcon::SiStripPopConConfigDbObjHandler< T >::setForTransfer().
|
inline |
Definition at line 86 of file SiStripCondObjBuilderFromDb.h.
References getPedestals().
|
inline |
Definition at line 87 of file SiStripCondObjBuilderFromDb.h.
References getNoises().
|
inline |
Definition at line 88 of file SiStripCondObjBuilderFromDb.h.
References getThreshold().
|
inline |
Definition at line 89 of file SiStripCondObjBuilderFromDb.h.
References getQuality().
|
inline |
Definition at line 90 of file SiStripCondObjBuilderFromDb.h.
References getQuality().
|
inline |
Definition at line 91 of file SiStripCondObjBuilderFromDb.h.
References getApvGain().
|
inline |
Definition at line 92 of file SiStripCondObjBuilderFromDb.h.
References getApvLatency().
|
protected |
Definition at line 191 of file SiStripCondObjBuilderFromDb.cc.
References SiStripDetCabling::addActiveDetectorsRawIds(), LogTrace, and sistrip::mlESSources_.
|
protected |
Definition at line 160 of file SiStripCondObjBuilderFromDb.cc.
References SiStripConfigDb::getFedDescriptions(), and sistrip::mlESSources_.
Referenced by buildStripRelatedObjects().
|
protected |
Definition at line 224 of file SiStripCondObjBuilderFromDb.cc.
References SiStripDetInfoFileReader::getNumberOfApvsAndStripLength(), and cppFunctionSkipper::operator.
Referenced by buildStripRelatedObjects().
|
protected |
Definition at line 175 of file SiStripCondObjBuilderFromDb.cc.
References SiStripConfigDb::getAnalysisDescriptions(), and sistrip::mlESSources_.
Referenced by buildAnalysisRelatedObjects().
|
protected |
Definition at line 254 of file SiStripCondObjBuilderFromDb.cc.
References gather_cfg::cout, m_defaultapvlatencyvalue, m_defaultapvmodevalue, and SiStripLatency::put().
|
protected |
Definition at line 247 of file SiStripCondObjBuilderFromDb.cc.
References inputApvGain, m_defaulttickheightvalue, and m_gaincalibrationfactor.
Referenced by buildAnalysisRelatedObjects().
|
protected |
Definition at line 234 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 301 of file SiStripCondObjBuilderFromDb.cc.
References FedChannelConnection::ccuAddr(), FedChannelConnection::ccuChan(), gather_cfg::cout, TauDecayModes::dec, FedChannelConnection::fecCrate(), FedChannelConnection::fecRing(), FedChannelConnection::fecSlot(), SiStripDetInfoFileReader::getNumberOfApvsAndStripLength(), FedChannelConnection::i2cAddr(), cppFunctionSkipper::operator, and SiStripLatency::put().
Referenced by buildFECRelatedObjects().
|
protected |
Definition at line 271 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 345 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(), RecoTauPiZeroBuilderPlugins_cfi::strips, sistrip::STRIPS_PER_FEDCH, and threshold_.
Referenced by buildFEDRelatedObjects().
|
protected |
Definition at line 403 of file SiStripCondObjBuilderFromDb.cc.
References gather_cfg::cout, inputNoises, noises_, and SiStripNoises::put().
Referenced by buildFEDRelatedObjects().
|
protected |
Definition at line 388 of file SiStripCondObjBuilderFromDb.cc.
References gather_cfg::cout, inputPedestals, pedestals_, and SiStripPedestals::put().
Referenced by buildFEDRelatedObjects().
|
protected |
Definition at line 431 of file SiStripCondObjBuilderFromDb.cc.
References SiStripQuality::compact(), gather_cfg::cout, inputQuality, SiStripBadStrip::put(), and quality_.
Referenced by buildFEDRelatedObjects().
|
protected |
Definition at line 418 of file SiStripCondObjBuilderFromDb.cc.
References gather_cfg::cout, inputThreshold, SiStripThreshold::put(), and threshold_.
Referenced by buildFEDRelatedObjects().
|
protected |
Definition at line 447 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 101 of file SiStripCondObjBuilderFromDb.h.
Referenced by buildAnalysisRelatedObjects(), buildCondObj(), and dbParams().
|
protected |
Container for DB connection parameters.
Definition at line 104 of file SiStripCondObjBuilderFromDb.h.
Referenced by checkUpdate().
|
protected |
Definition at line 105 of file SiStripCondObjBuilderFromDb.h.
Referenced by buildCondObj(), and getFedCabling().
|
protected |
Definition at line 110 of file SiStripCondObjBuilderFromDb.h.
Referenced by buildAnalysisRelatedObjects(), getApvGain(), and storeTiming().
|
protected |
Definition at line 155 of file SiStripCondObjBuilderFromDb.h.
Referenced by setDefaultValuesApvTiming(), setValuesApvTiming(), and storeTiming().
|
protected |
Definition at line 152 of file SiStripCondObjBuilderFromDb.h.
Referenced by setDefaultValuesCabling(), setValuesCabling(), and storeNoise().
|
protected |
Definition at line 151 of file SiStripCondObjBuilderFromDb.h.
Referenced by setDefaultValuesCabling(), setValuesCabling(), and storePedestals().
|
protected |
Definition at line 154 of file SiStripCondObjBuilderFromDb.h.
Referenced by setDefaultValuesCabling(), setValuesCabling(), and storeQuality().
|
protected |
Definition at line 153 of file SiStripCondObjBuilderFromDb.h.
Referenced by setDefaultValuesCabling(), setValuesCabling(), and storeThreshold().
|
protected |
Definition at line 111 of file SiStripCondObjBuilderFromDb.h.
Referenced by buildFECRelatedObjects(), and getApvLatency().
|
protected |
Definition at line 148 of file SiStripCondObjBuilderFromDb.h.
|
protected |
Definition at line 143 of file SiStripCondObjBuilderFromDb.h.
Referenced by setDefaultValuesApvLatency().
|
protected |
Definition at line 142 of file SiStripCondObjBuilderFromDb.h.
Referenced by setDefaultValuesApvLatency().
|
protected |
Definition at line 139 of file SiStripCondObjBuilderFromDb.h.
Referenced by setDefaultValuesCabling().
|
protected |
Definition at line 138 of file SiStripCondObjBuilderFromDb.h.
Referenced by setDefaultValuesCabling().
|
protected |
Definition at line 140 of file SiStripCondObjBuilderFromDb.h.
Referenced by setDefaultValuesCabling().
|
protected |
Definition at line 141 of file SiStripCondObjBuilderFromDb.h.
Referenced by setDefaultValuesCabling().
|
protected |
Definition at line 144 of file SiStripCondObjBuilderFromDb.h.
Referenced by buildAnalysisRelatedObjects(), setDefaultValuesApvTiming(), and setValuesApvTiming().
|
protected |
Definition at line 137 of file SiStripCondObjBuilderFromDb.h.
Referenced by buildAnalysisRelatedObjects(), setDefaultValuesApvTiming(), and setValuesApvTiming().
|
protected |
Definition at line 145 of file SiStripCondObjBuilderFromDb.h.
Referenced by buildCondObj().
|
protected |
Definition at line 147 of file SiStripCondObjBuilderFromDb.h.
Referenced by buildCondObj().
|
protected |
Definition at line 146 of file SiStripCondObjBuilderFromDb.h.
Referenced by buildCondObj().
|
protected |
Definition at line 107 of file SiStripCondObjBuilderFromDb.h.
Referenced by buildFEDRelatedObjects(), getNoises(), setDefaultValuesCabling(), setValuesCabling(), and storeNoise().
|
protected |
Definition at line 159 of file SiStripCondObjBuilderFromDb.h.
Referenced by buildStripRelatedObjects().
|
protected |
Definition at line 161 of file SiStripCondObjBuilderFromDb.h.
Referenced by buildStripRelatedObjects().
|
protected |
Definition at line 106 of file SiStripCondObjBuilderFromDb.h.
Referenced by buildFEDRelatedObjects(), getPedestals(), setDefaultValuesCabling(), setValuesCabling(), and storePedestals().
|
protected |
Definition at line 109 of file SiStripCondObjBuilderFromDb.h.
Referenced by buildFEDRelatedObjects(), getQuality(), setDefaultValuesCabling(), setValuesCabling(), and storeQuality().
|
protected |
Definition at line 108 of file SiStripCondObjBuilderFromDb.h.
Referenced by buildFEDRelatedObjects(), getThreshold(), setDefaultValuesCabling(), setValuesCabling(), and storeThreshold().
|
protected |
Definition at line 160 of file SiStripCondObjBuilderFromDb.h.
Referenced by buildStripRelatedObjects().
|
protected |
Definition at line 162 of file SiStripCondObjBuilderFromDb.h.
Referenced by buildCondObj(), and buildStripRelatedObjects().