11 #include <boost/cstdint.hpp> 22 typedef std::vector<PixelROC>
ROCs;
28 void add(
const ROCs & rocs);
38 {
return (
id > 0 &&
id <=
theROCs.size() ) ? &
theROCs[
id-1] :
nullptr; }
void add(const ROCs &rocs)
add connection (defined by connection spec and ROCs)
const PixelROC * roc(unsigned int id) const
return ROC identified by id. ROC ids are ranged [1,numberOfROCs]
unsigned int id() const
link id
unsigned int numberOfROCs() const
number of ROCs in fed
void addItem(const PixelROC &roc)
PixelFEDLink(unsigned int id=0)
ctor with id of link and parent FED
std::string printForMap() const
bool checkRocNumbering() const
std::vector< PixelROC > ROCs
ROCs served be this link.
std::string print(int depth=0) const