Subversion Repositories f9daq

Rev

Rev 146 | Rev 172 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
146 f9daq 1
#include "../include/sipmscan.h"
2
#include "../include/workstation.h"
3
 
4
#include <stdio.h>
5
#include <stdlib.h>
6
 
7
void TGAppMainFrame::ToolTipSet()
8
{
9
   // Measurement ----------------------------------------------------------------------
10
   // Settings pane tooltips
11
   scansOn->widgetChBox[0]->
12
           SetToolTipText("If checked, perform scan over a range of voltages, set by V(min),\nV(max) and V(step) in the \"Main measurement window\".\nIf no scans are selected, a single measurement is performed.");
13
   scansOn->widgetChBox[1]->
14
           SetToolTipText("If checked, perform surface scan over the samples\nby moving the laser in X and Y directions.\nIf no scans are selected, a single measurement is performed.");
15
   scansOn->widgetChBox[2]->
16
           SetToolTipText("If checked, perform scan over a range of Z axis values, set by\nZ(min), Z(max) and Z(step) in the \"Main measurement window\".\nIf no scans are selected, a single measurement is performed.");
17
   scansOn->widgetChBox[3]->
18
           SetToolTipText("If checked, perform scan over a range of incidence angle values, set by\nAngle(min), Angle(max) and Angle(step) in the \"Main measurement window\".\nIf no scans are selected, a single measurement is performed.");
19
   vHardlimit->widgetNE[0]->GetNumberEntry()->
20
           SetToolTipText("Maximal limit for \"Output Voltage\" to\navoid any unwanted bias voltages.");
21
   NCH->widgetNE[0]->GetNumberEntry()->
22
           SetToolTipText("Number of channels to be acquired (limited to 8).");
23
//   posUnits->widgetCB->SetToolTipText("Table controllers use their own units (1 = 0.3595 microns).\nSelect units you wish to use.");
24
   oscConnect->widgetTE->
25
           SetToolTipText("Enable use of an oscilloscope that is\nconnected to the network with VXI11.");
26
   oscConnect->widgetTB[0]->
27
           SetToolTipText("Enable use of an oscilloscope that is\nconnected to the network with VXI11.");
28
   laserInfo->widgetTE->
29
           SetToolTipText("Additional information (laser, in particular)\nthat will be written to header of output files.");
30
   chtemp->widgetNE[0]->GetNumberEntry()->
31
           SetToolTipText("Temperature inside the chamber (this value\nis written to header of output files).");
32
   liveDisp->widgetChBox[0]->
33
           SetToolTipText("If checked, update the measured ADC histogram during\na measurement in the below \"Display window\".");
34
 
35
   // Main measurement pane tooltips
36
   vOutOpt->widgetChBox[0]->
37
           SetToolTipText("If checked, the polarity of bias voltage\nwill be reversed (only negative values).");
38
   vOutOpt->widgetChBox[1]->
39
           SetToolTipText("If checked, the supplied bias voltage\nwill be enabled after pressing \"Set\".");
40
   vOut->widgetNE[0]->GetNumberEntry()->
41
           SetToolTipText("Bias voltage supplied to the sample (will be changed after pressing \"Set\").\nFor safety, the maximal value is set by \"Voltage limit\" in the \"Settings pane\").");
42
   vOutButtons->widgetTB[0]->
43
           SetToolTipText("Set the value of \"Output voltage\" to the currently selected\n\"Output channel\" for the supplied bias voltage.");
44
   vOutButtons->widgetTB[1]->
45
           SetToolTipText("Get the current value of bias voltage for\nthe currently selected \"Output channel\".");
46
   vOutButtons->widgetTB[2]->
47
           SetToolTipText("Reset the currently selected \"Output channel\". Only use, if there is a problem\nwith the bias voltage supply (interlock state on http://f9mpod.ijs.si).");
48
   vOutStart->widgetNE[0]->GetNumberEntry()->
49
           SetToolTipText("Starting bias voltage for a voltage scan.");
50
   vOutStop->widgetNE[0]->GetNumberEntry()->
51
           SetToolTipText("Finishing bias voltage for a voltage scan.");
52
   vOutStep->widgetNE[0]->GetNumberEntry()->
53
           SetToolTipText("Bias voltage step for a voltage scan. If \"V(max)-V(min)\" is not a multiple of V(step),\nthe finishing bias voltage will always be lower. If V(step) is 0, only a single\nmeasurement will be performed.\nFor more information, check under \"Voltage supply\" in the \"Help\" file.");
54
 
55
   xPos->widgetNE[0]->GetNumberEntry()->
56
           SetToolTipText("X axis position of the movement table (in units\nset by \"Position units\" in the \"Settings pane\").");
57
   yPos->widgetNE[0]->GetNumberEntry()->
58
           SetToolTipText("Y axis position of the movement table (in units\nset by \"Position units\" in the \"Settings pane\").");
59
   zPos->widgetNE[0]->GetNumberEntry()->
60
           SetToolTipText("Z axis position of the movement table (in units\nset by \"Position units\" in the \"Settings pane\").");
61
   xPosMin->widgetNE[0]->GetNumberEntry()->
62
           SetToolTipText("Starting X axis movement table position for a surface scan.");
63
   xPosMax->widgetNE[0]->GetNumberEntry()->
64
           SetToolTipText("Finishing X axis movement table position for a surface scan.");
65
   xPosStep->widgetNE[0]->GetNumberEntry()->
66
           SetToolTipText("X axis step for a surface scan. If \"X(max)-X(min)\" is not a multiple of X(step), the\nfinishing X axis position will always be lower. If X(step) is 0, only a single\nmeasurement will be performed.");
67
   yPosMin->widgetNE[0]->GetNumberEntry()->
68
           SetToolTipText("Starting Y axis movement table position for a surface scan.");
69
   yPosMax->widgetNE[0]->GetNumberEntry()->
70
           SetToolTipText("Finishing Y axis movement table position for a surface scan.");
71
   yPosStep->widgetNE[0]->GetNumberEntry()->
72
           SetToolTipText("Y axis step for a surface scan. If \"Y(max)-Y(min)\" is not a multiple of Y(step), the\nfinishing Y axis position will always be lower. If Y(step) is 0, only a single\nmeasurement will be performed.");
73
   zPosMin->widgetNE[0]->GetNumberEntry()->
74
           SetToolTipText("Starting Z axis movement table position for a Z-axis scan.");
75
   zPosMax->widgetNE[0]->GetNumberEntry()->
76
           SetToolTipText("Finishing Z axis movement table position for a Z-axis scan.");
77
   zPosStep->widgetNE[0]->GetNumberEntry()->
78
           SetToolTipText("Z axis step for a Z-axis scan. If \"Z(max)-Z(min)\" is not a multiple of Z(step), the\nfinishing Z axis position will always be lower. If Z(step) is 0, only a single\nmeasurement will be performed.");
79
   posButtons->widgetTB[0]->
80
           SetToolTipText("Set the position (X, Y and Z) of the movement table.");
81
   posButtons->widgetTB[1]->
82
           SetToolTipText("Get the current position (X, Y and Z) of the movement table.");
83
   posButtons->widgetTB[2]->
84
           SetToolTipText("Move the movement table to its predetermined initial position (home).");
85
   posButtons->widgetTB[3]->
86
           SetToolTipText("Reset, initialize and home all controllers for the movement table. Only use,\nif there is a problem with moving the table. If further problems\noccur, check under \"Movement table\" in the \"Help\" file.");
87
 
88
   rotPos->widgetNE[0]->GetNumberEntry()->
89
           SetToolTipText("Incidence angle of the laser onto the sample (in units set by \"Rotation units\" in the\n\"Settings pane\"). 0 degrees corresponds to perpendicular laser light onto the surface.");
90
   rotPosMin->widgetNE[0]->GetNumberEntry()->
91
          SetToolTipText("Starting incidence angle for a rotation scan.");
92
   rotPosMax->widgetNE[0]->GetNumberEntry()->
93
          SetToolTipText("Finishing incidence angle for a rotation scan.");
94
   rotPosStep->widgetNE[0]->GetNumberEntry()->
95
           SetToolTipText("Incidence angle step for a rotation scan. If \"Angle(max)-Angle(min)\" is not a multiple of\nAngle(step), the finishing incidence angle will always be lower. If Angle(step) is 0,\nonly a single measurement will be performed.");
96
   rotButtons->widgetTB[0]->
97
        SetToolTipText("Set the incidence angle of the rotation sample holder.");
98
   rotButtons->widgetTB[1]->
99
        SetToolTipText("Get the current incidence angle of the rotation sample holder.");
100
   rotButtons->widgetTB[2]->
101
        SetToolTipText("Move the rotation sample holder to angle 0 deg.");
102
   rotButtons->widgetTB[3]->
103
           SetToolTipText("Reposition to 0 deg, reset and initialize controller for the rotation sample holder.\nOnly use, if there is a problem with moving the table. If further problems\noccur, check under \"Movement table\" in the \"Help\" file.");
104
 
105
   evtNum->widgetNE[0]->GetNumberEntry()->
106
           SetToolTipText("Number of events to obtain before stopping data acquisition.");
107
   timeStamp->widgetTE->
108
           SetToolTipText("Timestamp (date and time of measurement) at start of measurement\n(this value is written to header of output files).");
109
   fileName->widgetTE->
110
           SetToolTipText("Filename where the current measurement will be saved to (output file).\nScans will have a sequential number appended to the filename.");
111
   fileName->widgetTB[0]->
112
           SetToolTipText("Change the filename of output file.");
113
 
114
   measProgress->widgetTB[0]->
115
           SetToolTipText("Start a new measurement. Stopping a measurement before finishing is\nonly possible for single measurements (not for scans).");
116
 
117
   // Analysis -------------------------------------------------------------------------
118
   // Histogram file selection pane
119
   selectDir->widgetTB[0]->
120
           SetToolTipText("Select a single or multiple files to use them for analysis.");
121
   multiSelect->widgetChBox[0]->
122
           SetToolTipText("If checked, multiple files can be selected in the above list.");
123
   multiSelect->widgetChBox[1]->
124
           SetToolTipText("If checked, all files on the above list are selected.");
125
   fileListCtrl->widgetTB[0]->
126
           SetToolTipText("Move to the previous file on the above list.");
127
   fileListCtrl->widgetTB[1]->
128
           SetToolTipText("Move to the next file on the above list.");
129
   fileListCtrl->widgetTB[2]->
130
           SetToolTipText("Open a new tab that enables header editing for any file on the above list.");
131
   fileListCtrl->widgetTB[3]->
132
           SetToolTipText("Empties the above list of files.");
133
   dispTime->widgetTE->
134
           SetToolTipText("Measurement time for the selected file from above list.\nOnly works, when \"Multiple file select\" is not checked.");
135
   dispBias->widgetNE[0]->GetNumberEntry()->
136
           SetToolTipText("Bias voltage for the selected file from above list.\nOnly works, when \"Multiple file select\" is not checked.");
137
   dispPos->widgetTE->
138
           SetToolTipText("Movement table position (x, Y, Z) of the selected file from above list.\nOnly works, when \"Multiple file select\" is not checked.");
139
   dispTemp->widgetNE[0]->GetNumberEntry()->
140
           SetToolTipText("Chamber temperature for the selected file from above list.\nOnly works, when \"Multiple file select\" is not checked.");
141
   dispAngle->widgetNE[0]->GetNumberEntry()->
142
           SetToolTipText("Incidence angle for the selected file from above list.\nOnly works, when \"Multiple file select\" is not checked.");
143
   dispLaser->widgetTE->
144
           SetToolTipText("Additional information (laser, in particular) of the selected file from above list.\nOnly works, when \"Multiple file select\" is not checked.");
145
 
146
   // Analysis pane
147
   intSpect->widgetChBox[0]->
148
           SetToolTipText("Perform an integration of the ADC spectrum inside the \"ADC range\"\nfor various X-axis values. Used for edge scans in X-axis direction.");
149
   intSpect->widgetChBox[1]->
150
           SetToolTipText("Perform an integration of the ADC spectrum inside the \"ADC range\"\nfor various Y-axis values. Used for edge scans in Y-axis direction.");
151
   intSpect->widgetChBox[2]->
152
           SetToolTipText("Normalize the ADC integral to the number of events ([ADC integral]/[Nr. of events]).");
153
   resol2d->widgetNE[0]->GetNumberEntry()->
154
           SetToolTipText("Number of pixels in a 2D contour plot parallel to the X axis\n(determines the resolution of the actual image, not the measurement).");
155
   resol2d->widgetNE[1]->GetNumberEntry()->
156
           SetToolTipText("Number of pixels in a 2D contour plot parallel to the Y axis\n(determines the resolution of the actual image, not the measurement).");
157
   intSpectButtons->widgetTB[0]->
158
           SetToolTipText("Start the \"Integrate spectrum\" analysis and save\nresults to same folder as selected input files.");
159
   intSpectButtons->widgetTB[1]->
160
           SetToolTipText("Start the \"Integrate spectrum\" analysis and open results for further edit.");
161
   intSpectButtons->widgetTB[2]->
162
           SetToolTipText("Replace the current \"Integrate spectrum\" settings with default settings.");
163
 
164
   relPde->widgetChBox[0]->
167 f9daq 165
           SetToolTipText("Normalize the ADC integral so that it is in a range between 0 and 1.");
146 f9daq 166
   midPeak->widgetChBox[0]->
167
           SetToolTipText("Instead of taking the complete pedestal peak as noise, take only half of the peak.");
168
   darkRun->widgetTE->
169
           SetToolTipText("Filename of the dark run histogram (run with no incident light on the sample).\nMake sure this was measured right before or after the angle scan.");
170
   darkRun->widgetTB[0]->
171
           SetToolTipText("Select the file that holds the dark run histogram.");
172
   zeroAngle->widgetNE[0]->GetNumberEntry()->
173
           SetToolTipText("The angle offset of the dark run histogram from perpendicular position (0 degrees).");
174
   intSpectButtons->widgetTB[0]->
175
           SetToolTipText("Start the \"Relative PDE\" analysis and save\nresults to same folder as selected input files.");
176
   intSpectButtons->widgetTB[1]->
177
           SetToolTipText("Start the \"Relative PDE\" analysis and open results for further edit.");
178
   intSpectButtons->widgetTB[2]->
179
           SetToolTipText("Replace the current \"Relative PDE\" settings with default settings.");
180
 
181
   minPeak->widgetNE[0]->GetNumberEntry()->
182
           SetToolTipText("Minimal number of peaks visible to perform analysis\non a measurement (not counting the pedestal peak).");
183
   peakSepCalc->widgetNE[0]->GetNumberEntry()->
184
           SetToolTipText("Determines which peak separation to take for breakdown voltage analysis (most common is separation between 1 pe and 2 pe).");
185
   brDownButtons->widgetTB[0]->
186
           SetToolTipText("Start the \"Breakdown voltage\" analysis and save\nresults to same folder as selected input files.");
187
   brDownButtons->widgetTB[1]->
188
           SetToolTipText("Start the \"Breakdown voltage\" analysis and open results for further edit.");
189
   brDownButtons->widgetTB[2]->
190
           SetToolTipText("Replace the current \"Breakdown voltage\" settings with default settings.");
191
 
192
   surfScanOpt->widgetChBox[0]->
167 f9daq 193
           SetToolTipText("Normalize the ADC integral so that it is in a range between 0 and 1.");
146 f9daq 194
   surfScanOpt->widgetChBox[1]->
195
           SetToolTipText("Start the X and Y axis values from zero in the bottom left corner of the 2D plot,\ninstead of taking the actual position of the table.");
196
   resolSurf->widgetNE[0]->GetNumberEntry()->
197
           SetToolTipText("Number of pixels in a 2D contour plot parallel to the X axis\n(determines the resolution of the actual image, not the measurement).");
198
   resolSurf->widgetNE[1]->GetNumberEntry()->
199
           SetToolTipText("Number of pixels in a 2D contour plot parallel to the Y axis\n(determines the resolution of the actual image, not the measurement).");
200
   surfButtons->widgetTB[0]->
201
           SetToolTipText("Start the \"Surface scan\" analysis and save\nresults to same folder as selected input files.");
202
   surfButtons->widgetTB[1]->
203
           SetToolTipText("Start the \"Surface scan\" analysis and open results for further edit.");
204
   surfButtons->widgetTB[2]->
205
           SetToolTipText("Replace the current \"Surface scan\" settings with default settings.");
206
 
207
   fitSigma->widgetNE[0]->GetNumberEntry()->
208
           SetToolTipText("Sigma value of the peak (peaks are approximated\nto be Gaussians on top of background).");
209
   fitTresh->widgetNE[0]->GetNumberEntry()->
210
           SetToolTipText("The relative treshold between a peak and noise, below\nwhich jumps on spectrum are no longer considered as peaks.");
211
   fitInter->widgetNE[0]->GetNumberEntry()->
212
           SetToolTipText("The interpolation order for background estimation. Lower orders\nunderestimate the background, higher orders overestimate the background.");
213
   adcOffset->widgetNE[0]->GetNumberEntry()->
214
           SetToolTipText("If needed, the spectrum can be shifted by a small amount so that\nthe mean values are closer to X.0 values. Useful whenever we\nare estimating the peak with an integer number.");
215
   accError->widgetNE[0]->GetNumberEntry()->
216
           SetToolTipText("The maximal accepted error to still fit a peak. Whenever, the\nfraction of [peak mean error]/[peak mean] is above this value, the\nestimation of that peak is discarded.");
217
   pedesLow->widgetNE[0]->GetNumberEntry()->
218
           SetToolTipText("The lowest ADC channel value of, where we still search for\nthe pedestal peak. Used to discard and sudden jumps in the spectrum\nbefore the actual pedestal peak starts.");
219
   fitChecks->widgetChBox[0]->
220
           SetToolTipText("If checked, subtract the estimated background before\nfitting peaks. Otherwise, no subtraction is performed.");
221
   fitChecks->widgetChBox[1]->
222
           SetToolTipText("If checked, export fitted spectra for each selected file.");
223
 
224
   // Histogram controls pane
225
   adcRange->widgetNE[0]->GetNumberEntry()->
226
           SetToolTipText("The lower limit of the ADC range. When both lower and upper\nare set to 0, the range is automatic. This range is regarded\nin the \"Histogram\" window and when performing analysis.");
227
   adcRange->widgetNE[1]->GetNumberEntry()->
228
           SetToolTipText("The upper limit of the ADC range. When both lower and upper\nare set to 0, the range is automatic. This range is regarded\nin the \"Histogram\" window and when performing analysis.");
229
   tdcRange->widgetNE[0]->GetNumberEntry()->
230
           SetToolTipText("The lower limit of the TDC range. When both lower and upper are set\nto 0, the range is automatic. This range determines the events used\nfor plotting the ADC spectrum (events with a certain time delay to laser).");
231
   tdcRange->widgetNE[1]->GetNumberEntry()->
232
           SetToolTipText("The upper limit of the TDC range. When both lower and upper are set\nto 0, the range is automatic. This range determines the events used\nfor plotting the ADC spectrum (events with a certain time delay to laser).");
233
   yRange->widgetNE[0]->GetNumberEntry()->
234
           SetToolTipText("The lower limit of the Y axis range. When both lower\nand upper are set to 0, the range is automatic.");
235
   yRange->widgetNE[1]->GetNumberEntry()->
236
           SetToolTipText("The upper limit of the Y axis range. When both lower\nand upper are set to 0, the range is automatic.");
237
   selectCh->widgetNE[0]->GetNumberEntry()->
238
           SetToolTipText("Channel number to plot, when opening a multichannel measurement file.");
239
   plotType->widgetTB[0]->
240
           SetToolTipText("Change plot type in the \"Histogram\" window to ADC\n(Analog-to-Digital-Converter channels versus number\nof events).");
241
   plotType->widgetTB[1]->
242
           SetToolTipText("Change plot type in the \"Histogram\" window to TDC\n(Time-to-Digital-Converter in nanoseconds versus number\nof events).");
243
   plotType->widgetTB[2]->
244
           SetToolTipText("Change plot type in the \"Histogram\" window to ADC versus TDC.");
245
   histOpt->widgetChBox[0]->
246
           SetToolTipText("If checked, change the Y axis to logarithmic scale.\nOtherwise, plot in a linear scale.");
247
   histOpt->widgetChBox[1]->
248
           SetToolTipText("If checked, the plot information is hidden (such as\nplot title, fitting information, statistical information).");
249
   exportHist->widgetTB[0]->
250
           SetToolTipText("Export the currently selected histogram (ADC, TDC or\nADC/TDC from selected files) into the .pdf format.");
251
   editSelHist->widgetTB[0]->
252
           SetToolTipText("Open the currently visible plot in the \"Histogram\"\nwindow in a new tab to enable further editing.");
167 f9daq 253
//   posUnitsPlot->widgetTB[0]->SetToolTipText("Open the currently visible plot in the \"Histogram\"\nwindow in a new tab to enable further editing.");
146 f9daq 254
}