#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 |
std::vector< SiStripFecCrate > & | crates () |
void | dcuId (const FedChannelConnection &conn) |
void | detId (const FedChannelConnection &conn) |
const std::vector< SiStripFec > & | fecs () const |
const SiStripModule & | module (const FedChannelConnection &conn) const |
SiStripModule * | module (const FedChannelConnection &conn) |
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.
References addDevices(), buildFecCabling(), connections(), countDevices(), crates(), dcuId(), detId(), fecs(), module(), nApvPairs(), print(), and terse().
void SiStripFecCabling::addDevices | ( | const FedChannelConnection & | conn | ) |
Definition at line 63 of file SiStripFecCabling.cc.
References crates_, and FedChannelConnection::fecCrate().
Referenced by buildFecCabling(), SiStripFedCablingBuilderFromDb::buildFecCablingFromDetIds(), SiStripFedCablingBuilderFromDb::buildFecCablingFromDevices(), SiStripFedCablingBuilderFromDb::buildFecCablingFromFedConnections(), SiStripFedCablingFakeESSource::make(), and ~SiStripFecCabling().
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(), SiStripFecCabling(), and ~SiStripFecCabling().
void SiStripFecCabling::connections | ( | std::vector< FedChannelConnection > & | conns | ) | const |
Definition at line 75 of file SiStripFecCabling.cc.
References begin, FedChannelConnection::ccuAddr(), FedChannelConnection::ccuChan(), crates(), FedChannelConnection::fecCrate(), FedChannelConnection::fecRing(), fecs(), FedChannelConnection::fecSlot(), plotBeamSpotDB::first, LogTrace, sistrip::mlCabling_, electrons_cff::modules, and edm::second().
Referenced by SiStripFedCablingBuilderFromDb::getFedCabling(), SiStripFedCablingFakeESSource::make(), and ~SiStripFecCabling().
NumberOfDevices SiStripFecCabling::countDevices | ( | ) | const |
Definition at line 200 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(), SiStripFedCablingFakeESSource::make(), and ~SiStripFecCabling().
|
inline |
Definition at line 80 of file SiStripFecCabling.h.
References crates_.
Referenced by SiStripFedCablingBuilderFromDb::assignDcuAndDetIds(), SiStripCommissioningSource::beginRun(), buildFecCabling(), SiStripFedCablingBuilderFromDb::buildFecCablingFromDetIds(), SiStripFedCablingBuilderFromDb::buildFecCablingFromDevices(), connections(), countDevices(), SiStripCommissioningSource::createCablingTasks(), SiStripFedCablingFakeESSource::make(), module(), print(), terse(), TrackerMap::TrackerMap(), and ~SiStripFecCabling().
|
inline |
|
inline |
Definition at line 90 of file SiStripFecCabling.h.
References FedChannelConnection::dcuId(), funct::m, and module().
Referenced by SiStripFedCablingBuilderFromDb::buildFecCablingFromDevices(), and ~SiStripFecCabling().
|
inline |
Definition at line 95 of file SiStripFecCabling.h.
References FedChannelConnection::detId(), funct::m, and module().
Referenced by ~SiStripFecCabling().
|
inline |
Definition at line 84 of file SiStripFecCabling.h.
References crates_.
Referenced by connections(), and ~SiStripFecCabling().
const SiStripModule & SiStripFecCabling::module | ( | const FedChannelConnection & | conn | ) | const |
Definition at line 165 of file SiStripFecCabling.cc.
References crates().
Referenced by dcuId(), detId(), SiStripCommissioningSource::fillCablingHistos(), module(), nApvPairs(), and ~SiStripFecCabling().
SiStripModule * SiStripFecCabling::module | ( | const FedChannelConnection & | conn | ) |
Definition at line 175 of file SiStripFecCabling.cc.
References crates().
const SiStripModule & SiStripFecCabling::module | ( | const uint32_t & | dcu_id | ) | const |
Definition at line 182 of file SiStripFecCabling.cc.
References begin, crates(), and module().
|
inline |
Definition at line 100 of file SiStripFecCabling.h.
References funct::m, module(), and FedChannelConnection::nApvPairs().
Referenced by ~SiStripFecCabling().
void SiStripFecCabling::print | ( | std::stringstream & | ss | ) | const |
Definition at line 288 of file SiStripFecCabling.cc.
References begin, crates(), cuy::ii, sistrip::invalid_, findQualityFiles::jj, and pileupDistInMC::total.
Referenced by SiStripFedCablingBuilder::beginRun(), SiStripFedCablingReader::beginRun(), operator<<(), and ~SiStripFecCabling().
void SiStripFecCabling::terse | ( | std::stringstream & | ss | ) | const |
Definition at line 323 of file SiStripFecCabling.cc.
References begin, and crates().
Referenced by ~SiStripFecCabling().
|
private |
Definition at line 74 of file SiStripFecCabling.h.
Referenced by addDevices(), crates(), fecs(), and SiStripFecCabling().