#include <SiStripFecCabling.h>
Public Member Functions | |
void | addDevices (const FedChannelConnection &conn) |
void | buildFecCabling (const SiStripFedCabling &) |
void | connections (std::vector< FedChannelConnection > &) const |
NumberOfDevices | countDevices () const |
const std::vector < SiStripFecCrate > & | crates () const |
void | dcuId (const FedChannelConnection &conn) |
void | detId (const FedChannelConnection &conn) |
const std::vector< SiStripFec > & | fecs () const |
const SiStripModule & | module (const FedChannelConnection &conn) const |
const SiStripModule & | module (const uint32_t &dcu_id) const |
void | nApvPairs (const FedChannelConnection &conn) |
void | print (std::stringstream &) const |
SiStripFecCabling (const SiStripFedCabling &) | |
SiStripFecCabling () | |
void | terse (std::stringstream &) const |
~SiStripFecCabling () | |
Private Attributes | |
std::vector< SiStripFecCrate > | crates_ |
Definition at line 24 of file SiStripFecCabling.h.
SiStripFecCabling::SiStripFecCabling | ( | const SiStripFedCabling & | fed_cabling | ) |
Definition at line 13 of file SiStripFecCabling.cc.
References buildFecCabling(), crates_, LogTrace, and sistrip::mlCabling_.
|
inline |
Definition at line 33 of file SiStripFecCabling.h.
|
inline |
Definition at line 35 of file SiStripFecCabling.h.
void SiStripFecCabling::addDevices | ( | const FedChannelConnection & | conn | ) |
Definition at line 63 of file SiStripFecCabling.cc.
References SiStripFecCrate::addDevices(), crates(), crates_, end, and FedChannelConnection::fecCrate().
Referenced by buildFecCabling(), SiStripFedCablingBuilderFromDb::buildFecCablingFromDetIds(), SiStripFedCablingBuilderFromDb::buildFecCablingFromDevices(), SiStripFedCablingBuilderFromDb::buildFecCablingFromFedConnections(), and SiStripFedCablingFakeESSource::make().
void SiStripFecCabling::buildFecCabling | ( | const SiStripFedCabling & | fed_cabling | ) |
Definition at line 25 of file SiStripFecCabling.cc.
References addDevices(), begin, crates(), SiStripFedCabling::fedConnections(), SiStripFedCabling::fedIds(), sistrip::invalid_, LogTrace, and sistrip::mlCabling_.
Referenced by SiStripFedCablingBuilderFromDb::getFecCabling(), and SiStripFecCabling().
void SiStripFecCabling::connections | ( | std::vector< FedChannelConnection > & | conns | ) | const |
Definition at line 75 of file SiStripFecCabling.cc.
References begin, crates(), first, LogTrace, sistrip::mlCabling_, and edm::second().
Referenced by SiStripFedCablingBuilderFromDb::getFedCabling(), and SiStripFedCablingFakeESSource::make().
NumberOfDevices SiStripFecCabling::countDevices | ( | ) | const |
Definition at line 183 of file SiStripFecCabling.cc.
References begin, crates(), spr::find(), NumberOfDevices::nApvPairs0_, NumberOfDevices::nApvPairs1_, NumberOfDevices::nApvPairs2_, NumberOfDevices::nApvPairs3_, NumberOfDevices::nApvPairs_, NumberOfDevices::nApvPairsX_, NumberOfDevices::nApvs_, NumberOfDevices::nCcuAddrs_, NumberOfDevices::nCcuChans_, NumberOfDevices::nDcuIds_, NumberOfDevices::nDcus_, NumberOfDevices::nDetIds_, NumberOfDevices::nFecCrates_, NumberOfDevices::nFecRings_, NumberOfDevices::nFecSlots_, NumberOfDevices::nFedChans_, NumberOfDevices::nFedCrates_, NumberOfDevices::nFedIds_, NumberOfDevices::nFedSlots_, NumberOfDevices::nLlds_, NumberOfDevices::nMuxes_, and NumberOfDevices::nPlls_.
Referenced by SiStripFedCablingBuilderFromDb::buildFecCabling(), SiStripFedCablingBuilderFromDb::buildFecCablingFromDevices(), and SiStripFedCablingFakeESSource::make().
|
inline |
Definition at line 78 of file SiStripFecCabling.h.
References crates_.
Referenced by addDevices(), SiStripFedCablingBuilderFromDb::assignDcuAndDetIds(), SiStripCommissioningSource::beginRun(), buildFecCabling(), SiStripFedCablingBuilderFromDb::buildFecCablingFromDetIds(), SiStripFedCablingBuilderFromDb::buildFecCablingFromDevices(), connections(), countDevices(), SiStripCommissioningSource::createCablingTasks(), SiStripFedCablingFakeESSource::make(), module(), print(), terse(), and TrackerMap::TrackerMap().
|
inline |
Definition at line 87 of file SiStripFecCabling.h.
References FedChannelConnection::dcuId(), and module().
Referenced by SiStripFedCablingBuilderFromDb::buildFecCablingFromDevices().
|
inline |
Definition at line 91 of file SiStripFecCabling.h.
References FedChannelConnection::detId(), and module().
|
inline |
const SiStripModule & SiStripFecCabling::module | ( | const FedChannelConnection & | conn | ) | const |
Definition at line 117 of file SiStripFecCabling.cc.
References FedChannelConnection::ccuAddr(), FedChannelConnection::ccuChan(), crates(), end, FedChannelConnection::fecCrate(), FedChannelConnection::fecRing(), FedChannelConnection::fecSlot(), sistrip::mlCabling_, and contentValuesCheck::ss.
Referenced by dcuId(), detId(), SiStripCommissioningSource::fillCablingHistos(), module(), and nApvPairs().
const SiStripModule & SiStripFecCabling::module | ( | const uint32_t & | dcu_id | ) | const |
Definition at line 165 of file SiStripFecCabling.cc.
References begin, crates(), and module().
|
inline |
Definition at line 95 of file SiStripFecCabling.h.
References module(), and FedChannelConnection::nApvPairs().
void SiStripFecCabling::print | ( | std::stringstream & | ss | ) | const |
Definition at line 271 of file SiStripFecCabling.cc.
References begin, crates(), cuy::ii, sistrip::invalid_, findQualityFiles::jj, pileupDistInMC::total, and TrackValidation_HighPurity_cff::valid.
Referenced by operator<<().
void SiStripFecCabling::terse | ( | std::stringstream & | ss | ) | const |
Definition at line 306 of file SiStripFecCabling.cc.
References begin, and crates().
|
private |
Definition at line 72 of file SiStripFecCabling.h.
Referenced by addDevices(), crates(), fecs(), and SiStripFecCabling().