FACT++  1.0
void ConnectionBias::PrintLineA ( int  b,
int  ch 
)
inline

Definition at line 1344 of file biasctrl.cc.

References id, kGreen, BIAS::kNumChannelsPerBoard, and kRed.

1345  {
1346  Out() << setw(2) << b << "|";
1347 
1348  for (int c=ch; c<ch+8; c++)
1349  {
1350  const int id = c+kNumChannelsPerBoard*b;
1351  Out() << (fCurrent[id]<0?kRed:kGreen);
1352  Out() << " " << setw(7) << abs(fCurrent[id])*5000/4096.;
1353  }
1354  Out() << endl;
1355 
1356  }
vector< int16_t > fCurrent
Definition: biasctrl.cc:72
Set color Green.
Definition: WindowLog.h:18
Set color Red.
Definition: WindowLog.h:17
char id[4]
Definition: FITS.h:71
std::ostream & Out()
Definition: ConnectionUSB.h:47