Changeset 12053 for trunk/FACT++/gui/RawEventsViewer
- Timestamp:
- 09/09/11 10:09:58 (13 years ago)
- Location:
- trunk/FACT++/gui/RawEventsViewer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/RawEventsViewer/RawEventsViewer.cc
r12015 r12053 19 19 #define VALUES_SPAN 4096 20 20 21 #include <Q tGui/QFileDialog>22 23 #include <qwt -qt4/qwt_plot_grid.h>24 #include <qwt -qt4/qwt_symbol.h>21 #include <QFileDialog> 22 23 #include <qwt_plot_grid.h> 24 #include <qwt_symbol.h> 25 25 26 26 #include "src/Configuration.h" 27 #include "externals/fits.h" 28 29 using namespace std; 27 30 28 31 #undef ACTUAL_NUM_PIXELS -
trunk/FACT++/gui/RawEventsViewer/RawEventsViewer.h
r11933 r12053 15 15 //#define LOAD_RAW 16 16 17 #include <Q tCore/QObject>18 #include <Q tCore/QTimer>19 #include <Q tGui/QLabel>20 #include <Q tGui/QListWidget>21 #include <Q tGui/QMainWindow>22 #include <Q tGui/QPushButton>17 #include <QObject> 18 #include <QTimer> 19 #include <QLabel> 20 #include <QListWidget> 21 #include <QMainWindow> 22 #include <QPushButton> 23 23 24 24 //#include <QtOpenGL/QGLWidget> 25 25 #include "../BasicGlCamera.h" 26 26 27 #include <Q tGui/QMouseEvent>28 #include <Q tGui/QColorDialog>29 #include <Q tGui/QApplication>30 #include <Q tGui/QSpinBox>31 #include <Q tGui/QDoubleSpinBox>32 #include <Q tGui/QRadioButton>33 #include <Q tGui/QCheckBox>27 #include <QMouseEvent> 28 #include <QColorDialog> 29 #include <QApplication> 30 #include <QSpinBox> 31 #include <QDoubleSpinBox> 32 #include <QRadioButton> 33 #include <QCheckBox> 34 34 #include <iostream> 35 35 #include <GL/gl.h> 36 36 37 #include <qwt -qt4/qwt_plot.h>37 #include <qwt_plot.h> 38 38 //#include "qwt_plot_histogram.h" 39 #include <qwt -qt4/qwt_plot_curve.h>40 41 #include <qwt -qt4/qwt_plot_zoomer.h>39 #include <qwt_plot_curve.h> 40 41 #include <qwt_plot_zoomer.h> 42 42 43 43 #include <valarray> … … 45 45 #include <string> 46 46 47 #include "externals/fits.h" 47 namespace std 48 { 49 class fits; 50 } 48 51 49 52 /************************************************* … … 58 61 RawDataViewer(QWidget *parent = 0); 59 62 ~RawDataViewer(); 60 void openFile(st ring& file);61 void openCalibFile(st ring& file);63 void openFile(std::string& file); 64 void openCalibFile(std::string& file); 62 65 63 66 … … 132 135 int nBoards; 133 136 int nPixels; 134 st ring timeSystem;135 st ring creationDate;137 std::string timeSystem; 138 std::string creationDate; 136 139 int nightInt; 137 st ring camera;138 st ring daq;140 std::string camera; 141 std::string daq; 139 142 float adcCount; 140 143 int nbOk; … … 149 152 GLfloat patchesColor[160][3]; 150 153 // vector<edge> patchesIndices[160]; 151 fits* inputFile;152 fits* calibInputFile;154 std::fits* inputFile; 155 std::fits* calibInputFile; 153 156 float baseLineMean[1440*1024]; 154 157 float gainMean[1440*1024]; … … 249 252 RawDataViewer* viewer; 250 253 QTimer timer; 251 st ring currentFile;252 st ring currentCalibFile;254 std::string currentFile; 255 std::string currentCalibFile; 253 256 int crateID; 254 257 int boardID;
Note:
See TracChangeset
for help on using the changeset viewer.