Simple container class for counting devices. More...
#include <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] |
void NumberOfDevices::clear | ( | void | ) |
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().
{ nFecCrates_ = 0; nFecSlots_ = 0; nFecRings_ = 0; nCcuAddrs_ = 0; nCcuChans_ = 0; nApvs_ = 0; nDcuIds_ = 0; nDetIds_ = 0; nApvPairs_ = 0; nApvPairs0_ = 0; nApvPairs1_ = 0; nApvPairs2_ = 0; nApvPairs3_ = 0; nApvPairsX_ = 0; nFedCrates_ = 0; nFedSlots_ = 0; nFedIds_ = 0; nFedChans_ = 0; nDcus_ = 0; nMuxes_ = 0; nPlls_ = 0; nLlds_ = 0; }
void NumberOfDevices::print | ( | std::stringstream & | ss | ) | const |
Definition at line 35 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 SiStripFedCablingBuilderFromDb::buildFecCablingFromDevices(), SiStripFedCablingFakeESSource::make(), and operator<<().
{ ss << " FEC crates : " << nFecCrates_ << std::endl << " FEC slots : " << nFecSlots_ << std::endl << " FEC rings : " << nFecRings_ << std::endl << " CCU addrs : " << nCcuAddrs_ << std::endl << " CCU chans : " << nCcuChans_ << std::endl << " DCU ids : " << nDcuIds_ << std::endl << " DCUs : " << nDcus_ << std::endl << " MUXes : " << nMuxes_ << std::endl << " PLLs : " << nPlls_ << std::endl << " LLDs : " << nLlds_ << std::endl << " DET ids : " << nDetIds_ << std::endl << " APV pairs : " << nApvPairs_ << std::endl << " APVs : " << nApvs_ << std::endl << " FED crates : " << nFedCrates_ << std::endl << " FED slots : " << nFedSlots_ << std::endl << " FED ids : " << nFedIds_ << std::endl << " FED channels : " << nFedChans_ << std::endl << " Number of APV pairs (0/1/2/3/>3) per module : " << nApvPairs0_ << "/" << nApvPairs1_ << "/" << nApvPairs2_ << "/" << nApvPairs3_ << "/" << nApvPairsX_ << std::endl << " Total number of modules/channels (nApvPairs<=3) : " << ( nApvPairs0_ + nApvPairs1_ + nApvPairs2_ + nApvPairs3_ ) << "/" << ( 0*nApvPairs0_ + 1*nApvPairs1_ + 2*nApvPairs2_ + 3*nApvPairs3_ ); }
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().