#include <CalibFormats/SiStripObjects/interface/NumberOfDevices.h>
Public Member Functions | |
void | clear () |
NumberOfDevices () | |
void | print (std::stringstream &) const |
Public Attributes | |
uint32_t | nApvPairs0_ |
uint32_t | nApvPairs1_ |
uint32_t | nApvPairs2_ |
uint32_t | nApvPairs3_ |
uint32_t | nApvPairs_ |
uint32_t | nApvPairsX_ |
uint32_t | nApvs_ |
uint32_t | nCcuAddrs_ |
uint32_t | nCcuChans_ |
uint32_t | nDcuIds_ |
uint32_t | nDcus_ |
uint32_t | nDetIds_ |
uint32_t | nFecCrates_ |
uint32_t | nFecRings_ |
uint32_t | nFecSlots_ |
uint32_t | nFedChans_ |
uint32_t | nFedCrates_ |
uint32_t | nFedIds_ |
uint32_t | nFedSlots_ |
uint32_t | nLlds_ |
uint32_t | nMuxes_ |
uint32_t | nPlls_ |
Simple container class for counting devices.
Definition at line 15 of file NumberOfDevices.h.
NumberOfDevices::NumberOfDevices | ( | ) | [inline] |
Definition at line 8 of file NumberOfDevices.cc.
References nApvPairs0_, nApvPairs1_, nApvPairs2_, nApvPairs3_, nApvPairs_, nApvPairsX_, nApvs_, nCcuAddrs_, nCcuChans_, nDcuIds_, nDcus_, nDetIds_, nFecCrates_, nFecRings_, nFecSlots_, nFedChans_, nFedCrates_, nFedIds_, nFedSlots_, nLlds_, nMuxes_, and nPlls_.
Referenced by NumberOfDevices().
00008 { 00009 nFecCrates_ = 0; 00010 nFecSlots_ = 0; 00011 nFecRings_ = 0; 00012 nCcuAddrs_ = 0; 00013 nCcuChans_ = 0; 00014 nApvs_ = 0; 00015 nDcuIds_ = 0; 00016 nDetIds_ = 0; 00017 nApvPairs_ = 0; 00018 nApvPairs0_ = 0; 00019 nApvPairs1_ = 0; 00020 nApvPairs2_ = 0; 00021 nApvPairs3_ = 0; 00022 nApvPairsX_ = 0; 00023 nFedCrates_ = 0; 00024 nFedSlots_ = 0; 00025 nFedIds_ = 0; 00026 nFedChans_ = 0; 00027 nDcus_ = 0; 00028 nMuxes_ = 0; 00029 nPlls_ = 0; 00030 nLlds_ = 0; 00031 }
void NumberOfDevices::print | ( | std::stringstream & | ss | ) | const |
Definition at line 35 of file NumberOfDevices.cc.
References lat::endl(), nApvPairs0_, nApvPairs1_, nApvPairs2_, nApvPairs3_, nApvPairs_, nApvPairsX_, nApvs_, nCcuAddrs_, nCcuChans_, nDcuIds_, nDcus_, nDetIds_, nFecCrates_, nFecRings_, nFecSlots_, nFedChans_, nFedCrates_, nFedIds_, nFedSlots_, nLlds_, nMuxes_, and nPlls_.
Referenced by SiStripFedCablingBuilderFromDb::buildFecCablingFromDevices(), SiStripFedCablingFakeESSource::make(), SiStripFedCablingTrivialBuilder::makeFedCabling(), and operator<<().
00035 { 00036 ss << " FEC crates : " << nFecCrates_ << std::endl 00037 << " FEC slots : " << nFecSlots_ << std::endl 00038 << " FEC rings : " << nFecRings_ << std::endl 00039 << " CCU addrs : " << nCcuAddrs_ << std::endl 00040 << " CCU chans : " << nCcuChans_ << std::endl 00041 << " DCU ids : " << nDcuIds_ << std::endl 00042 << " DCUs : " << nDcus_ << std::endl 00043 << " MUXes : " << nMuxes_ << std::endl 00044 << " PLLs : " << nPlls_ << std::endl 00045 << " LLDs : " << nLlds_ << std::endl 00046 << " DET ids : " << nDetIds_ << std::endl 00047 << " APV pairs : " << nApvPairs_ << std::endl 00048 << " APVs : " << nApvs_ << std::endl 00049 << " FED crates : " << nFedCrates_ << std::endl 00050 << " FED slots : " << nFedSlots_ << std::endl 00051 << " FED ids : " << nFedIds_ << std::endl 00052 << " FED channels : " << nFedChans_ << std::endl 00053 << " Number of APV pairs (0/1/2/3/>3) per module : " 00054 << nApvPairs0_ << "/" 00055 << nApvPairs1_ << "/" 00056 << nApvPairs2_ << "/" 00057 << nApvPairs3_ << "/" 00058 << nApvPairsX_ << std::endl 00059 << " Total number of modules/channels (nApvPairs<=3) : " 00060 << ( nApvPairs0_ + nApvPairs1_ + nApvPairs2_ + nApvPairs3_ ) << "/" 00061 << ( 0*nApvPairs0_ + 1*nApvPairs1_ + 2*nApvPairs2_ + 3*nApvPairs3_ ); 00062 }
uint32_t NumberOfDevices::nApvPairs0_ |
Definition at line 28 of file NumberOfDevices.h.
Referenced by clear(), SiStripFecCabling::countDevices(), and print().
uint32_t NumberOfDevices::nApvPairs1_ |
Definition at line 29 of file NumberOfDevices.h.
Referenced by clear(), SiStripFecCabling::countDevices(), and print().
uint32_t NumberOfDevices::nApvPairs2_ |
Definition at line 29 of file NumberOfDevices.h.
Referenced by clear(), SiStripFecCabling::countDevices(), and print().
uint32_t NumberOfDevices::nApvPairs3_ |
Definition at line 29 of file NumberOfDevices.h.
Referenced by clear(), SiStripFecCabling::countDevices(), and print().
uint32_t NumberOfDevices::nApvPairs_ |
Definition at line 30 of file NumberOfDevices.h.
Referenced by clear(), SiStripFecCabling::countDevices(), and print().
uint32_t NumberOfDevices::nApvPairsX_ |
Definition at line 28 of file NumberOfDevices.h.
Referenced by clear(), SiStripFecCabling::countDevices(), and print().
uint32_t NumberOfDevices::nApvs_ |
Definition at line 27 of file NumberOfDevices.h.
Referenced by clear(), SiStripFecCabling::countDevices(), and print().
uint32_t NumberOfDevices::nCcuAddrs_ |
Definition at line 27 of file NumberOfDevices.h.
Referenced by clear(), SiStripFecCabling::countDevices(), and print().
uint32_t NumberOfDevices::nCcuChans_ |
Definition at line 27 of file NumberOfDevices.h.
Referenced by clear(), SiStripFecCabling::countDevices(), and print().
uint32_t NumberOfDevices::nDcuIds_ |
Definition at line 27 of file NumberOfDevices.h.
Referenced by clear(), SiStripFecCabling::countDevices(), and print().
uint32_t NumberOfDevices::nDcus_ |
Definition at line 33 of file NumberOfDevices.h.
Referenced by clear(), SiStripFecCabling::countDevices(), and print().
uint32_t NumberOfDevices::nDetIds_ |
Definition at line 30 of file NumberOfDevices.h.
Referenced by clear(), SiStripFecCabling::countDevices(), and print().
uint32_t NumberOfDevices::nFecCrates_ |
Definition at line 26 of file NumberOfDevices.h.
Referenced by clear(), SiStripFecCabling::countDevices(), and print().
uint32_t NumberOfDevices::nFecRings_ |
Definition at line 26 of file NumberOfDevices.h.
Referenced by clear(), SiStripFecCabling::countDevices(), and print().
uint32_t NumberOfDevices::nFecSlots_ |
Definition at line 26 of file NumberOfDevices.h.
Referenced by clear(), SiStripFecCabling::countDevices(), and print().
uint32_t NumberOfDevices::nFedChans_ |
Definition at line 32 of file NumberOfDevices.h.
Referenced by clear(), SiStripFecCabling::countDevices(), and print().
uint32_t NumberOfDevices::nFedCrates_ |
Definition at line 31 of file NumberOfDevices.h.
Referenced by clear(), SiStripFecCabling::countDevices(), and print().
uint32_t NumberOfDevices::nFedIds_ |
Definition at line 32 of file NumberOfDevices.h.
Referenced by clear(), SiStripFecCabling::countDevices(), and print().
uint32_t NumberOfDevices::nFedSlots_ |
Definition at line 31 of file NumberOfDevices.h.
Referenced by clear(), SiStripFecCabling::countDevices(), and print().
uint32_t NumberOfDevices::nLlds_ |
Definition at line 33 of file NumberOfDevices.h.
Referenced by clear(), SiStripFecCabling::countDevices(), and print().
uint32_t NumberOfDevices::nMuxes_ |
Definition at line 33 of file NumberOfDevices.h.
Referenced by clear(), SiStripFecCabling::countDevices(), and print().
uint32_t NumberOfDevices::nPlls_ |
Definition at line 33 of file NumberOfDevices.h.
Referenced by clear(), SiStripFecCabling::countDevices(), and print().