Subversion Repositories f9daq

Compare Revisions

Ignore whitespace Rev 146 → Rev 167

/lab/sipmscan/trunk/src/sipmscan.cpp
14,6 → 14,10
 
char *cTemp;
 
// Prepare the default open directory (basedir)
currentOpenDir = new char[1024];
sprintf(currentOpenDir, "%s/results", rootdir);
 
// CAMAC and Scope objects
gDaq = new daq();
gScopeDaq = new daqscope();
1155,6 → 1159,14
if(editSelHist->TGLabelButton(analysisLayout[3], subgroup[0], 30, "Edit selected histograms:", "Edit", "center"))
analysisLayout[3]->AddFrame(editSelHist->outsidebox, f1expandXpad);
 
// Select position units to use for ploting (micrometer, table position units)
if(DBGSIG > 1) printf("AppLayout(): Creating TSubStructure *posUnitsPlot -> Dropdown menu for selecting the position units for ploting\n");
posUnitsPlot = new TSubStructure();
selnames[0] = "table units"; selnames[1] = "micrometers";
sprintf(selected, "table units");
if(posUnitsPlot->TGLabelDrop(analysisLayout[3], 2.*subgroup[0]/3., 30, "Position units for plots:", 2, selnames, selected))
analysisLayout[3]->AddFrame(posUnitsPlot->outsidebox, f0centerX);
 
// Actions for histogram controls pane //TODO
for(int i = 0; i < 2; i++)
{