50 int oPP,oCon,oCh,i1PP,i2PP,totalCh;
53 std::istringstream
line(buf);
54 line>>inLabel>>totalCh;
64 while(
file.getline(buf,
BufferSize)&&(isspace(buf[0])||isdigit(buf[0]))){
68 std::istringstream
line2(buf);
69 line2 >> oPP >> oCon >> oCh >> i1PP >> iCon >> iCh;
71 if((i1PP!=-1)&&(PP->
getId()==oPP)){
72 if(PP->
getId()==i1PP){
90 #ifdef TGCDEBUG_CONNECTION
91 std::cout <<
"TGCConnectionInPP: " <<
label <<
" PPIn= " << i1PP
94 <<
" PPOut= " << oPP <<
" " << oCon <<
" " << oCh;
98 line2 >> i2PP >> iCon >> iCh;
101 if((i2PP>0)||(iCon!=0)||(iCh!=0)){
110 #ifdef TGCDEBUG_CONNECTION
115 if(PP->
getId()==i2PP){
131 #ifdef TGCDEBUG_CONNECTION
132 std::cout << std::endl;
155 file.setf(std::ios::right);
158 for(
int j=0; j<
m_nCh[
i]; j+=1){
267 if(
this != &right ) {
355 const std::vector<const TGCPatchPanel*>& oldPatchPanels)
361 if(oldPatchPanels.size()!=3)
return false;
366 for(
int iCh=0; iCh<nPPOutCh; iCh++) {
383 for(
int iCh=0; iCh<nPPOutCh; iCh++) {