Contains cabling info at the device level, including DetId, APV pair numbers, hardware addresses, DCU id... More...
#include <SiStripFedCabling.h>
Classes | |
class | ConnsRange |
Builds range of iterators from pair of offsets. More... | |
Public Types | |
typedef std::vector< FedChannelConnection > | Conns |
typedef Conns::const_iterator | ConnsConstIter |
typedef boost::iterator_range< ConnsConstIter > | ConnsConstIterRange |
typedef Conns::iterator | ConnsIter |
typedef boost::iterator_range< ConnsIter > | ConnsIterRange |
typedef std::pair< uint32_t, uint32_t > | ConnsPair |
typedef std::vector< uint16_t > | Feds |
typedef Feds::const_iterator | FedsConstIter |
typedef boost::iterator_range< FedsConstIter > | FedsConstIterRange |
typedef Feds::iterator | FedsIter |
typedef boost::iterator_range< FedsIter > | FedsIterRange |
typedef std::vector< ConnsPair > | Registry |
Public Member Functions | |
void | buildFedCabling (ConnsConstIterRange connections) |
ConnsConstIterRange | detectedDevices () const |
FedChannelConnection | fedConnection (uint16_t fed_id, uint16_t fed_ch) const |
ConnsConstIterRange | fedConnections (uint16_t fed_id) const |
FedsConstIterRange | fedIds () const |
void | print (std::stringstream &ss, const TrackerTopology *trackerTopo) const |
LEFT FOR COMPATIBILITY. SHOULD BE REPLACED BY PRINTDEBUG. More... | |
void | printDebug (std::stringstream &, const TrackerTopology *trackerTopo) const |
void | printSummary (std::stringstream &, const TrackerTopology *trackerTopo) const |
ConnsRange | range (ConnsPair) const |
Builds range of iterators from pair of offsets. More... | |
SiStripFedCabling (ConnsConstIterRange) | |
SiStripFedCabling (const SiStripFedCabling &) | |
SiStripFedCabling () | |
void | summary (std::stringstream &ss, const TrackerTopology *trackerTopo) const |
LEFT FOR COMPATIBILITY. SHOULD BE REPLACED BY PRINTSUMMARY. More... | |
void | terse (std::stringstream &) const |
ConnsConstIterRange | undetectedDevices () const |
~SiStripFedCabling () | |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
Conns | connections_ |
Container of connection objects. More... | |
Conns | detected_ |
Connections to FE devices that are not detected. More... | |
Feds | feds_ |
"Active" FEDs that have connected FE devices More... | |
Registry | registry_ |
Container of "ranges" indexed by FED id. More... | |
Conns | undetected_ |
FE devices that are detected. More... | |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Contains cabling info at the device level, including DetId, APV pair numbers, hardware addresses, DCU id...
Definition at line 25 of file SiStripFedCabling.h.
typedef std::vector<FedChannelConnection> SiStripFedCabling::Conns |
Definition at line 39 of file SiStripFedCabling.h.
typedef Conns::const_iterator SiStripFedCabling::ConnsConstIter |
Definition at line 43 of file SiStripFedCabling.h.
typedef boost::iterator_range<ConnsConstIter> SiStripFedCabling::ConnsConstIterRange |
Definition at line 47 of file SiStripFedCabling.h.
typedef Conns::iterator SiStripFedCabling::ConnsIter |
Definition at line 41 of file SiStripFedCabling.h.
typedef boost::iterator_range<ConnsIter> SiStripFedCabling::ConnsIterRange |
Definition at line 45 of file SiStripFedCabling.h.
typedef std::pair<uint32_t, uint32_t> SiStripFedCabling::ConnsPair |
Definition at line 49 of file SiStripFedCabling.h.
typedef std::vector<uint16_t> SiStripFedCabling::Feds |
Definition at line 29 of file SiStripFedCabling.h.
typedef Feds::const_iterator SiStripFedCabling::FedsConstIter |
Definition at line 33 of file SiStripFedCabling.h.
typedef boost::iterator_range<FedsConstIter> SiStripFedCabling::FedsConstIterRange |
Definition at line 37 of file SiStripFedCabling.h.
typedef Feds::iterator SiStripFedCabling::FedsIter |
Definition at line 31 of file SiStripFedCabling.h.
typedef boost::iterator_range<FedsIter> SiStripFedCabling::FedsIterRange |
Definition at line 35 of file SiStripFedCabling.h.
typedef std::vector<ConnsPair> SiStripFedCabling::Registry |
Definition at line 51 of file SiStripFedCabling.h.
SiStripFedCabling::SiStripFedCabling | ( | ConnsConstIterRange | input | ) |
Constructor taking FED channel connection objects as input.
Definition at line 12 of file SiStripFedCabling.cc.
References buildFedCabling(), input, LogTrace, and sistrip::mlCabling_.
SiStripFedCabling::SiStripFedCabling | ( | const SiStripFedCabling & | input | ) |
Copy constructor.
Definition at line 21 of file SiStripFedCabling.cc.
References LogTrace, and sistrip::mlCabling_.
SiStripFedCabling::SiStripFedCabling | ( | ) |
Public default constructor.
Definition at line 33 of file SiStripFedCabling.cc.
References LogTrace, and sistrip::mlCabling_.
SiStripFedCabling::~SiStripFedCabling | ( | ) |
Default destructor.
Definition at line 40 of file SiStripFedCabling.cc.
References LogTrace, and sistrip::mlCabling_.
void SiStripFedCabling::buildFedCabling | ( | ConnsConstIterRange | connections | ) |
Builds FED cabling from vector of FED connections.
Definition at line 47 of file SiStripFedCabling.cc.
References SiStripFedCabling::ConnsRange::begin(), getInfo::conn, connections_, filterCSVwithJSON::copy, HLT_2022v15_cff::distance, SiStripFedCabling::ConnsRange::emptyPair(), feds_, spr::find(), cuy::ii, input, findQualityFiles::jj, LogTrace, FEDNumbering::MAXSiStripFEDID, FEDNumbering::MINSiStripFEDID, sistrip::mlCabling_, range(), registry_, jetsAK4_CHS_cff::sort, contentValuesCheck::ss, and groupFilesInBlocks::temp.
Referenced by SiStripFedCablingBuilderFromDb::getFedCabling(), and SiStripFedCabling().
|
inline |
Returns information for "detected, but unconnected" devices.
Definition at line 158 of file SiStripFedCabling.h.
References detected_.
Referenced by SiStripDetCabling::SiStripDetCabling().
FedChannelConnection SiStripFedCabling::fedConnection | ( | uint16_t | fed_id, |
uint16_t | fed_ch | ||
) | const |
Returns connection object for a given FED id and channel.
Definition at line 171 of file SiStripFedCabling.cc.
References fedConnections().
Referenced by CommissioningHistosUsingDb::addDcuDetIds(), SiStripSpyMonitorModule::analyze(), SiStripCMMonitorPlugin::analyze(), SiStripShotFilter::filter(), sistrip::FEDEmulatorModule::produce(), SiStripPopConFEDErrorsHandlerFromDQM::readHistogram(), DaqScopeModeHistosUsingDb::update(), NoiseHistosUsingDb::update(), PedsFullNoiseHistosUsingDb::update(), PedestalsHistosUsingDb::update(), PedsOnlyHistosUsingDb::update(), and ApvTimingHistosUsingDb::update().
SiStripFedCabling::ConnsConstIterRange SiStripFedCabling::fedConnections | ( | uint16_t | fed_id | ) | const |
Returns all connection objects for a given FED id.
Definition at line 160 of file SiStripFedCabling.cc.
References SiStripFedCabling::ConnsRange::invalid(), FEDNumbering::MINSiStripFEDID, SiStripFedCabling::ConnsRange::range(), range(), and registry_.
Referenced by SiStripFecCabling::buildFecCabling(), ViewTranslator::buildMaps(), FineDelayHistosUsingDb::computeDelays(), sistrip::SpyUnpacker::createDigis(), sistrip::RawToDigiUnpacker::createDigis(), sistrip::DigiToRaw::createFedBuffers_(), SiStripCommissioningSource::createTasks(), SiStripPopConFEDErrorsHandlerFromDQM::dqmEndJob(), SiStripCommissioningSource::endJob(), fedConnection(), SiStripCommissioningSource::fillHistos(), SiStripDaqInfo::findExcludedModule(), sistrip::SpyEventMatcherModule::findL1IDandAPVAddress(), SiStripFedCablingManipulator::manipulate(), sistrip::SpyEventMatcher::mergeMatchingData(), sistrip::SpyDigiConverter::mergeModuleChannels(), sistrip::ExcludedFEDListProducer::produce(), SiStripDaqInfo::readFedIds(), SiStripDetCabling::SiStripDetCabling(), TrackerMap::TrackerMap(), SiStripQuality::turnOffFeds(), LatencyHistosUsingDb::update(), and FineDelayHistosUsingDb::update().
|
inline |
Retrieve vector of active FED ids.
Definition at line 154 of file SiStripFedCabling.h.
References feds_.
Referenced by SiStripQuality::add(), SiStripCommissioningSource::beginRun(), SiStripFecCabling::buildFecCabling(), ViewTranslator::buildMaps(), FineDelayHistosUsingDb::computeDelays(), sistrip::SpyUnpacker::createDigis(), sistrip::RawToDigiUnpacker::createDigis(), sistrip::DigiToRaw::createFedBuffers_(), SiStripCommissioningSource::createTasks(), SiStripPopConFEDErrorsHandlerFromDQM::dqmEndJob(), SiStripCommissioningSource::endJob(), SiStripCommissioningSource::fillCablingHistos(), SiStripCommissioningSource::fillHistos(), sistrip::SpyEventMatcherModule::findL1IDandAPVAddress(), SiStripFedCablingManipulator::manipulate(), sistrip::SpyDigiConverter::mergeModuleChannels(), sistrip::ExcludedFEDListProducer::produce(), SiStripDaqInfo::readFedIds(), SiStripDetCabling::SiStripDetCabling(), TrackerMap::TrackerMap(), DaqScopeModeHistosUsingDb::update(), ApvTimingHistosUsingDb::update(), LatencyHistosUsingDb::update(), and FineDelayHistosUsingDb::update().
|
inline |
LEFT FOR COMPATIBILITY. SHOULD BE REPLACED BY PRINTDEBUG.
Definition at line 93 of file SiStripFedCabling.h.
References printDebug(), and contentValuesCheck::ss.
void SiStripFedCabling::printDebug | ( | std::stringstream & | ss, |
const TrackerTopology * | trackerTopo | ||
) | const |
Prints all connection information for this FED cabling object.
Definition at line 182 of file SiStripFedCabling.cc.
References SiStripFedCabling::ConnsRange::begin(), detected_, SiStripFedCabling::ConnsRange::end(), feds_, cuy::ii, sistrip::invalid_, findQualityFiles::jj, FEDNumbering::MINSiStripFEDID, range(), registry_, SiStripFedCabling::ConnsRange::size(), contentValuesCheck::ss, dqmMemoryStats::total, and undetected_.
Referenced by print().
void SiStripFedCabling::printSummary | ( | std::stringstream & | ss, |
const TrackerTopology * | trackerTopo | ||
) | const |
Prints summary information for this FED cabling object.
Definition at line 287 of file SiStripFedCabling.cc.
References SiStripFedCabling::ConnsRange::begin(), detected_, feds_, SiStripFedKey::feUnit(), cuy::ii, findQualityFiles::jj, FEDNumbering::MINSiStripFEDID, sistrip::mlCabling_, range(), registry_, SiStripFedCabling::ConnsRange::size(), contentValuesCheck::ss, compareTotals::tot, dqmMemoryStats::total, undetected_, unit(), and sistrip::valid_.
Referenced by summary().
|
inline |
Builds range of iterators from pair of offsets.
Definition at line 191 of file SiStripFedCabling.h.
References connections_, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by buildFedCabling(), fedConnections(), printDebug(), printSummary(), and terse().
|
private |
|
inline |
LEFT FOR COMPATIBILITY. SHOULD BE REPLACED BY PRINTSUMMARY.
Definition at line 101 of file SiStripFedCabling.h.
References printSummary(), and contentValuesCheck::ss.
Referenced by CommissioningHistosUsingDb::configure(), and sistrip::RawToDigiModule::updateCabling().
void SiStripFedCabling::terse | ( | std::stringstream & | ss | ) | const |
Prints terse information for this FED cabling object.
Definition at line 249 of file SiStripFedCabling.cc.
References SiStripFedCabling::ConnsRange::begin(), SiStripFedCabling::ConnsRange::end(), feds_, sistrip::invalid_, FEDNumbering::MINSiStripFEDID, range(), registry_, SiStripFedCabling::ConnsRange::size(), and contentValuesCheck::ss.
Referenced by CommissioningHistosUsingDb::configure(), and sistrip::RawToDigiModule::updateCabling().
|
inline |
Returns information for all "undetected" devices.
Definition at line 162 of file SiStripFedCabling.h.
References undetected_.
Referenced by SiStripDetCabling::SiStripDetCabling().
|
friend |
Definition at line 149 of file SiStripFedCabling.h.
|
friend |
Definition at line 149 of file SiStripFedCabling.h.
|
private |
Container of connection objects.
Definition at line 141 of file SiStripFedCabling.h.
Referenced by buildFedCabling(), and range().
|
private |
Connections to FE devices that are not detected.
Definition at line 144 of file SiStripFedCabling.h.
Referenced by detectedDevices(), printDebug(), and printSummary().
|
private |
"Active" FEDs that have connected FE devices
Definition at line 135 of file SiStripFedCabling.h.
Referenced by buildFedCabling(), fedIds(), printDebug(), printSummary(), and terse().
|
private |
Container of "ranges" indexed by FED id.
Definition at line 138 of file SiStripFedCabling.h.
Referenced by buildFedCabling(), fedConnections(), printDebug(), printSummary(), and terse().
|
private |
FE devices that are detected.
Definition at line 147 of file SiStripFedCabling.h.
Referenced by printDebug(), printSummary(), and undetectedDevices().