11 #define NBOARDS 40 // max. number of boards 12 #define NPIX 1440 // max. number of pixels 13 #define NTMARK 160 // max. number of timeMarker signals 20 #include "../BasicGlCamera.h" 22 #include <qwt_plot_curve.h> 27 #include "../../src/DataCalib.h" 28 #include "../../externals/ofits.h" 57 const vector<T>& inputData,
210 QRectF scaleBoundingRectangle(QRectF rectangle,
float scale);
215 void initHistograms();
222 void fileSelected(QString file);
223 void calibFileSelected(QString file);
226 void slicesPerSecondChanged(
double value);
227 void nextSlicePlease();
228 void currentSliceHasChanged(
int slice);
229 void currentEventHasChanged(
int event);
231 void on_playPauseButton_clicked();
232 void on_loadNewFileButton_clicked();
233 void on_loadDRSCalibButton_clicked();
235 void on_drawPatchCheckBox_stateChanged(
int);
236 void on_drawImpulseCheckBox_stateChanged(
int);
237 void on_drawBlurCheckBox_stateChanged(
int);
238 void on_loopOverCurrentEventBox_stateChanged(
int);
240 void on_colorRange0_valueChanged(
double);
241 void on_colorRange1_valueChanged(
double);
242 void on_colorRange2_valueChanged(
double);
243 void on_colorRange3_valueChanged(
double);
244 void on_colorRange4_valueChanged(
double);
245 void on_redValue0_valueChanged(
double);
246 void on_redValue1_valueChanged(
double);
247 void on_redValue2_valueChanged(
double);
248 void on_redValue3_valueChanged(
double);
249 void on_redValue4_valueChanged(
double);
250 void on_greenValue0_valueChanged(
double);
251 void on_greenValue1_valueChanged(
double);
252 void on_greenValue2_valueChanged(
double);
253 void on_greenValue3_valueChanged(
double);
254 void on_greenValue4_valueChanged(
double);
255 void on_blueValue0_valueChanged(
double);
256 void on_blueValue1_valueChanged(
double);
257 void on_blueValue2_valueChanged(
double);
258 void on_blueValue3_valueChanged(
double);
259 void on_blueValue4_valueChanged(
double);
261 void on_slicesPerSecValue_valueChanged(
double);
263 void pixelChanged(
int);
267 void on_HwIDBox_valueChanged(
int = 0);
268 void on_SwIDBox_valueChanged(
int);
274 void on_autoScaleColor_clicked();
278 void slicesPlusPlus();
279 void slicesMinusMinus();
281 void on_calibratedCheckBox_stateChanged(
int state);
282 void on_displayingSliceBox_valueChanged(
int);
283 void on_displayingEventBox_valueChanged(
int);
285 void displaySliceValue();
void on_pixelIDBox_valueChanged(int)
QwtPlotCurve pixelValueCurveItem
void assignPixelMapFile(const string &map="")
void SetupConfiguration(Configuration &conf)
void signalCurrentSlice(int slice)
void signalCurrentPixel(int pixel)
bool setCorrectSlice(QMouseEvent *event)
QwtPlotCurve startCellHistoItem
valarray< double > RMSvalues
void signalAutoScaleNeeded()
valarray< double > Maxvalues
void on_boardIDBox_valueChanged(int)
QwtPlotZoomer * boardsTimeHistoZoom
void calcBlurColor(int pixel, int vertex)
valarray< double > PosOfMaxvalues
void getCalibrationDataForDisplay(const CalibDataTypes calibTypes, const vector< T > &inputData, const int roi, const int roiTM)
QwtPlotCurve meanCurveItem
uint32_t boardTime[NBOARDS]
QwtPlotZoomer * triggerDelayHistoZoom
void openFile(std::string &file)
void drawCamera(bool alsoWire)
void mousePressEvent(QMouseEvent *event)
bool updateSpinnerDisplay
void signalCurrentEvent(int event)
void openCalibFile(std::string &file)
void mouseMoveEvent(QMouseEvent *event)
QwtPlotZoomer * startCellHistoZoom
QwtPlotZoomer * curveZoom
void calcMidBlurColor(int pixel, int vertex)
void drawBlurryHexagon(int index)
bool drawCalibrationLoaded
void allocateZeroArray()
Used to load zero data in case of missing fits columns.
void mouseDoubleClickEvent(QMouseEvent *event)
void on_patchIDBox_valueChanged(int)
void eventStepping(bool plus)
QwtPlotCurve startTimeMarkHistoItem
QwtPlotZoomer * startTimeMarkHistoZoom
QwtPlotCurve aMeanCurveItem
QwtPlotCurve pixelAverageCurveItem
void setCurrentPixel(int)
Commandline parsing, resource file parsing and database access.
void on_entireCameraScale_toggled(bool)
void on_crateIDBox_valueChanged(int)
RawDataViewer(QWidget *parent=0)
QwtPlotCurve vCorrCurveItem
valarray< double > Meanvalues
std::string currentCalibFile
QwtPlotZoomer * averageCurveZoom
GLfloat patchesColor[160][3]
QwtPlotCurve triggerDelayHistoItem
void computePulsesStatistics()
void on_currentPixelScale_toggled(bool)
void setEventStep(int step)
QwtPlotCurve boardsTimeHistoItem