#include #include #include #include "jctbDac.h" #include "jctbDacs.h" #include "multiSlsDetector.h" #include "sls_detector_defs.h" using namespace std; jctbDacs::jctbDacs(TGVerticalFrame *page, multiSlsDetector *det) : TGGroupFrame(page,"DACs",kVerticalFrame) , myDet(det){ SetTitlePos(TGGroupFrame::kLeft); page->AddFrame(this,new TGLayoutHints( kLHintsTop | kLHintsExpandX , 10,10,10,10)); MapWindow(); // cout << "window mapped " << endl; for (int idac=0; idac=0 && issetLabel(tit,mv); return is; } string jctbDacs::getDacAlias() { ostringstream line; for (int i=0; igetLabel() << endl; return line.str(); } string jctbDacs::getDacParameters() { ostringstream line; for (int i=0; igetValue << endl; line << "dac:" << i << " " << dacs[i]->getValue() << endl; } return line.str(); } void jctbDacs::update() { for (int idac=0; idacgetValue(); } }