#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 25 of file SiStripFecCabling.h.
SiStripFecCabling::SiStripFecCabling | ( | const SiStripFedCabling & | fed_cabling | ) |
Definition at line 14 of file SiStripFecCabling.cc.
References buildFecCabling(), crates_, LogTrace, and sistrip::mlCabling_.
|
inline |
Definition at line 34 of file SiStripFecCabling.h.
|
inline |
Definition at line 36 of file SiStripFecCabling.h.
void SiStripFecCabling::addDevices | ( | const FedChannelConnection & | conn | ) |
Definition at line 66 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 26 of file SiStripFecCabling.cc.
References addDevices(), begin, SiStripFedCabling::connections(), crates(), SiStripFedCabling::feds(), sistrip::invalid_, LogTrace, and sistrip::mlCabling_.
Referenced by SiStripFedCablingBuilderFromDb::getFecCabling(), and SiStripFecCabling().
void SiStripFecCabling::connections | ( | std::vector< FedChannelConnection > & | conns | ) | const |
Definition at line 78 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 188 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 79 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 88 of file SiStripFecCabling.h.
References FedChannelConnection::dcuId(), and module().
Referenced by SiStripFedCablingBuilderFromDb::buildFecCablingFromDevices().
|
inline |
Definition at line 92 of file SiStripFecCabling.h.
References FedChannelConnection::detId(), and module().
|
inline |
const SiStripModule & SiStripFecCabling::module | ( | const FedChannelConnection & | conn | ) | const |
Definition at line 120 of file SiStripFecCabling.cc.
References FedChannelConnection::ccuAddr(), FedChannelConnection::ccuChan(), crates(), end, FedChannelConnection::fecCrate(), FedChannelConnection::fecRing(), FedChannelConnection::fecSlot(), sistrip::mlCabling_, and groupFilesInBlocks::temp.
Referenced by dcuId(), detId(), SiStripCommissioningSource::fillCablingHistos(), module(), and nApvPairs().
const SiStripModule & SiStripFecCabling::module | ( | const uint32_t & | dcu_id | ) | const |
Definition at line 169 of file SiStripFecCabling.cc.
References begin, crates(), module(), and groupFilesInBlocks::temp.
|
inline |
Definition at line 96 of file SiStripFecCabling.h.
References module(), and FedChannelConnection::nApvPairs().
void SiStripFecCabling::print | ( | std::stringstream & | ss | ) | const |
Definition at line 276 of file SiStripFecCabling.cc.
References begin, crates(), sistrip::invalid_, findQualityFiles::jj, pileupDistInMC::total, and TrackValidation_HighPurity_cff::valid.
Referenced by operator<<().
void SiStripFecCabling::terse | ( | std::stringstream & | ss | ) | const |
Definition at line 311 of file SiStripFecCabling.cc.
References begin, and crates().
|
private |
Definition at line 73 of file SiStripFecCabling.h.
Referenced by addDevices(), crates(), fecs(), and SiStripFecCabling().