6 : theMaster(m), theLinkBoardNumInLink(l), theCode(n) { }
16 typedef std::vector<FebConnectorSpec>::const_iterator
IT;
18 if(febInputNum==it->linkBoardInputNum())
return &(*it);
25 std::ostringstream lbName;
26 std::string char1Val[2]={
"B",
"E"};
27 std::string char2Val[3]={
"N",
"M",
"P"};
28 std::string char4Val[9]={
"0",
"1",
"2",
"3",
"A",
"B",
"C",
"D",
"E"};
33 int wheel=(
theCode%100000)/10000;
34 if(n2==0)wheel=-wheel;
38 lbName <<
"LB_R"<<char1Val[n1-1]<<sign<<wheel<<
"_S"<<sector<<
"_"<<char1Val[n1-1]<<char2Val[n2]<<num3<<char4Val[n3]<<
"_CH"<<
theLinkBoardNumInLink;
44 std::ostringstream str;
46 str <<
" LinkBoardSpec: " << std::endl
51 typedef std::vector<FebConnectorSpec>::const_iterator
IT;
52 for (IT it=
theFebs.begin(); it !=
theFebs.end(); it++) str << (*it).print(depth);
void add(const FebConnectorSpec &feb)
attach feb
std::string print(int depth=0) const
debud printout
int theLinkBoardNumInLink
const FebConnectorSpec * feb(int febInputNum) const
get Feb by its connection number to this board
std::vector< LinkConnSpec >::const_iterator IT
std::string linkBoardName() const
LB name as in OMDS.
std::vector< FebConnectorSpec > theFebs