#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 44 of file SiStripCondObjBuilderFromDb.h.
typedef std::vector<pair_apvpairconn>::iterator SiStripCondObjBuilderFromDb::i_apvpairconn |
Definition at line 55 of file SiStripCondObjBuilderFromDb.h.
typedef std::vector<pair_detcon>::iterator SiStripCondObjBuilderFromDb::i_trackercon |
Definition at line 54 of file SiStripCondObjBuilderFromDb.h.
typedef std::pair<uint32_t,FedChannelConnection> SiStripCondObjBuilderFromDb::pair_apvpairconn |
Definition at line 49 of file SiStripCondObjBuilderFromDb.h.
typedef std::pair<uint32_t, v_apvpairconn> SiStripCondObjBuilderFromDb::pair_detcon |
Definition at line 51 of file SiStripCondObjBuilderFromDb.h.
typedef std::vector<pair_detcon> SiStripCondObjBuilderFromDb::trackercon |
Definition at line 52 of file SiStripCondObjBuilderFromDb.h.
typedef std::vector<pair_apvpairconn> SiStripCondObjBuilderFromDb::v_apvpairconn |
Definition at line 50 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 32 of file SiStripCondObjBuilderFromDb.cc.
References LogTrace, and sistrip::mlESSources_.
|
virtual |
Definition at line 64 of file SiStripCondObjBuilderFromDb.cc.
References LogTrace, sistrip::mlESSources_, and tTopo.
void SiStripCondObjBuilderFromDb::buildAnalysisRelatedObjects | ( | SiStripConfigDb *const | db, |
const trackercon & | tc | ||
) |
Definition at line 629 of file SiStripCondObjBuilderFromDb.cc.
References gather_cfg::cout, db_, 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 190 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_, tTopo, and v_trackercon.
Referenced by checkUpdate().
|
protected |
Definition at line 287 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 683 of file SiStripCondObjBuilderFromDb.cc.
References SiStripLatency::compress(), gather_cfg::cout, 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 737 of file SiStripCondObjBuilderFromDb.cc.
References gather_cfg::cout, 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 538 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().
TrackerTopology * SiStripCondObjBuilderFromDb::buildTrackerTopology | ( | ) |
Definition at line 81 of file SiStripCondObjBuilderFromDb.cc.
References TrackerTopology::PixelEndcapValues::bladeMask_, TrackerTopology::PixelEndcapValues::bladeStartBit_, TrackerTopology::PixelEndcapValues::diskMask_, TrackerTopology::PixelEndcapValues::diskStartBit_, TrackerTopology::PixelBarrelValues::ladderMask_, TrackerTopology::PixelBarrelValues::ladderStartBit_, TrackerTopology::PixelBarrelValues::layerMask_, TrackerTopology::TIBValues::layerMask_, TrackerTopology::TOBValues::layerMask_, TrackerTopology::PixelBarrelValues::layerStartBit_, TrackerTopology::TIBValues::layerStartBit_, TrackerTopology::TOBValues::layerStartBit_, TrackerTopology::TIDValues::module_fw_bwMask_, TrackerTopology::TIDValues::module_fw_bwStartBit_, TrackerTopology::PixelBarrelValues::moduleMask_, TrackerTopology::PixelEndcapValues::moduleMask_, TrackerTopology::TECValues::moduleMask_, TrackerTopology::TIBValues::moduleMask_, TrackerTopology::TIDValues::moduleMask_, TrackerTopology::TOBValues::moduleMask_, TrackerTopology::PixelBarrelValues::moduleStartBit_, TrackerTopology::PixelEndcapValues::moduleStartBit_, TrackerTopology::TECValues::moduleStartBit_, TrackerTopology::TIBValues::moduleStartBit_, TrackerTopology::TIDValues::moduleStartBit_, TrackerTopology::TOBValues::moduleStartBit_, TrackerTopology::PixelEndcapValues::panelMask_, TrackerTopology::PixelEndcapValues::panelStartBit_, TrackerTopology::TECValues::petal_fw_bwMask_, TrackerTopology::TECValues::petal_fw_bwStartBit_, TrackerTopology::TECValues::petalMask_, TrackerTopology::TECValues::petalStartBit_, TrackerTopology::TECValues::ringMask_, TrackerTopology::TIDValues::ringMask_, TrackerTopology::TECValues::ringStartBit_, TrackerTopology::TIDValues::ringStartBit_, TrackerTopology::TOBValues::rod_fw_bwMask_, TrackerTopology::TOBValues::rod_fw_bwStartBit_, TrackerTopology::TOBValues::rodMask_, TrackerTopology::TOBValues::rodStartBit_, TrackerTopology::PixelEndcapValues::sideMask_, TrackerTopology::TECValues::sideMask_, TrackerTopology::TIDValues::sideMask_, TrackerTopology::PixelEndcapValues::sideStartBit_, TrackerTopology::TECValues::sideStartBit_, TrackerTopology::TIDValues::sideStartBit_, TrackerTopology::TECValues::sterMask_, TrackerTopology::TIBValues::sterMask_, TrackerTopology::TIDValues::sterMask_, TrackerTopology::TOBValues::sterMask_, TrackerTopology::TECValues::sterStartBit_, TrackerTopology::TIBValues::sterStartBit_, TrackerTopology::TIDValues::sterStartBit_, TrackerTopology::TOBValues::sterStartBit_, TrackerTopology::TIBValues::str_fw_bwMask_, TrackerTopology::TIBValues::str_fw_bwStartBit_, TrackerTopology::TIBValues::str_int_extMask_, TrackerTopology::TIBValues::str_int_extStartBit_, TrackerTopology::TIBValues::strMask_, TrackerTopology::TIBValues::strStartBit_, TrackerTopology::TECValues::wheelMask_, TrackerTopology::TIDValues::wheelMask_, TrackerTopology::TECValues::wheelStartBit_, and TrackerTopology::TIDValues::wheelStartBit_.
bool SiStripCondObjBuilderFromDb::checkForCompatibility | ( | std::stringstream & | input, |
std::stringstream & | output, | ||
std::string & | label | ||
) |
Definition at line 158 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 74 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 268 of file SiStripCondObjBuilderFromDb.cc.
References SiStripDetCabling::addActiveDetectorsRawIds(), LogTrace, and sistrip::mlESSources_.
|
protected |
Definition at line 237 of file SiStripCondObjBuilderFromDb.cc.
References SiStripConfigDb::getFedDescriptions(), and sistrip::mlESSources_.
Referenced by buildStripRelatedObjects().
|
protected |
Definition at line 301 of file SiStripCondObjBuilderFromDb.cc.
References SiStripDetInfoFileReader::getNumberOfApvsAndStripLength(), and cppFunctionSkipper::operator.
Referenced by buildStripRelatedObjects().
|
protected |
Definition at line 252 of file SiStripCondObjBuilderFromDb.cc.
References SiStripConfigDb::getAnalysisDescriptions(), and sistrip::mlESSources_.
Referenced by buildAnalysisRelatedObjects().
|
protected |
Definition at line 331 of file SiStripCondObjBuilderFromDb.cc.
References gather_cfg::cout, m_defaultapvlatencyvalue, m_defaultapvmodevalue, and SiStripLatency::put().
|
protected |
Definition at line 324 of file SiStripCondObjBuilderFromDb.cc.
References inputApvGain, m_defaulttickheightvalue, and m_gaincalibrationfactor.
Referenced by buildAnalysisRelatedObjects().
|
protected |
Definition at line 311 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 378 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 348 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 422 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 480 of file SiStripCondObjBuilderFromDb.cc.
References gather_cfg::cout, inputNoises, noises_, and SiStripNoises::put().
Referenced by buildFEDRelatedObjects().
|
protected |
Definition at line 465 of file SiStripCondObjBuilderFromDb.cc.
References gather_cfg::cout, inputPedestals, pedestals_, and SiStripPedestals::put().
Referenced by buildFEDRelatedObjects().
|
protected |
Definition at line 508 of file SiStripCondObjBuilderFromDb.cc.
References SiStripQuality::compact(), gather_cfg::cout, inputQuality, SiStripBadStrip::put(), and quality_.
Referenced by buildFEDRelatedObjects().
|
protected |
Definition at line 495 of file SiStripCondObjBuilderFromDb.cc.
References gather_cfg::cout, inputThreshold, SiStripThreshold::put(), and threshold_.
Referenced by buildFEDRelatedObjects().
|
protected |
Definition at line 524 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 159 of file SiStripCondObjBuilderFromDb.h.
Referenced by setDefaultValuesApvTiming(), setValuesApvTiming(), and storeTiming().
|
protected |
Definition at line 156 of file SiStripCondObjBuilderFromDb.h.
Referenced by setDefaultValuesCabling(), setValuesCabling(), and storeNoise().
|
protected |
Definition at line 155 of file SiStripCondObjBuilderFromDb.h.
Referenced by setDefaultValuesCabling(), setValuesCabling(), and storePedestals().
|
protected |
Definition at line 158 of file SiStripCondObjBuilderFromDb.h.
Referenced by setDefaultValuesCabling(), setValuesCabling(), and storeQuality().
|
protected |
Definition at line 157 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 163 of file SiStripCondObjBuilderFromDb.h.
Referenced by buildStripRelatedObjects().
|
protected |
Definition at line 165 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 154 of file SiStripCondObjBuilderFromDb.h.
Referenced by buildCondObj(), and ~SiStripCondObjBuilderFromDb().
|
protected |
Definition at line 164 of file SiStripCondObjBuilderFromDb.h.
Referenced by buildStripRelatedObjects().
|
protected |
Definition at line 166 of file SiStripCondObjBuilderFromDb.h.
Referenced by buildCondObj(), and buildStripRelatedObjects().