#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.
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(), 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(), HcalMonitorModule_cfi::feds, 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(), plotBeamSpotDB::first, LogTrace, sistrip::mlCabling_, and edm::second().
Referenced by SiStripFedCablingBuilderFromDb::getFedCabling(), and SiStripFedCablingFakeESSource::make().
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(), and SiStripFedCablingFakeESSource::make().
|
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(), and TrackerMap::TrackerMap().
|
inline |
|
inline |
Definition at line 90 of file SiStripFecCabling.h.
References FedChannelConnection::dcuId(), visualization-live-secondInstance_cfg::m, and module().
Referenced by SiStripFedCablingBuilderFromDb::buildFecCablingFromDevices().
|
inline |
Definition at line 95 of file SiStripFecCabling.h.
References FedChannelConnection::detId(), visualization-live-secondInstance_cfg::m, and module().
|
inline |
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(), and nApvPairs().
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 visualization-live-secondInstance_cfg::m, module(), and FedChannelConnection::nApvPairs().
void SiStripFecCabling::print | ( | std::stringstream & | ss | ) | const |
Definition at line 288 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 323 of file SiStripFecCabling.cc.
References begin, and crates().
|
private |
Definition at line 74 of file SiStripFecCabling.h.
Referenced by addDevices(), crates(), fecs(), and SiStripFecCabling().