Ignore:
Timestamp:
09/09/11 10:09:58 (13 years ago)
Author:
tbretz
Message:
Removed the errornous subdirectory form the include of the Qwt classes; moved include of fits to the source file; removed a global namespace definition from the header
Location:
trunk/FACT++/gui/RawEventsViewer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/gui/RawEventsViewer/RawEventsViewer.cc

    r12015 r12053  
    1919#define VALUES_SPAN 4096
    2020
    21 #include <QtGui/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>
    2525
    2626#include "src/Configuration.h"
     27#include "externals/fits.h"
     28
     29using namespace std;
    2730
    2831#undef ACTUAL_NUM_PIXELS
  • trunk/FACT++/gui/RawEventsViewer/RawEventsViewer.h

    r11933 r12053  
    1515//#define LOAD_RAW
    1616
    17 #include <QtCore/QObject>
    18 #include <QtCore/QTimer>
    19 #include <QtGui/QLabel>
    20 #include <QtGui/QListWidget>
    21 #include <QtGui/QMainWindow>
    22 #include <QtGui/QPushButton>
     17#include <QObject>
     18#include <QTimer>
     19#include <QLabel>
     20#include <QListWidget>
     21#include <QMainWindow>
     22#include <QPushButton>
    2323
    2424//#include <QtOpenGL/QGLWidget>
    2525#include "../BasicGlCamera.h"
    2626
    27 #include <QtGui/QMouseEvent>
    28 #include <QtGui/QColorDialog>
    29 #include <QtGui/QApplication>
    30 #include <QtGui/QSpinBox>
    31 #include <QtGui/QDoubleSpinBox>
    32 #include <QtGui/QRadioButton>
    33 #include <QtGui/QCheckBox>
     27#include <QMouseEvent>
     28#include <QColorDialog>
     29#include <QApplication>
     30#include <QSpinBox>
     31#include <QDoubleSpinBox>
     32#include <QRadioButton>
     33#include <QCheckBox>
    3434#include <iostream>
    3535#include <GL/gl.h>
    3636
    37 #include <qwt-qt4/qwt_plot.h>
     37#include <qwt_plot.h>
    3838//#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>
    4242
    4343#include <valarray>
     
    4545#include <string>
    4646
    47 #include "externals/fits.h"
     47namespace std
     48{
     49    class fits;
     50}
    4851
    4952/*************************************************
     
    5861    RawDataViewer(QWidget *parent = 0);
    5962    ~RawDataViewer();
    60     void openFile(string& file);
    61     void openCalibFile(string& file);
     63    void openFile(std::string& file);
     64    void openCalibFile(std::string& file);
    6265
    6366
     
    132135    int nBoards;
    133136    int nPixels;
    134     string timeSystem;
    135     string creationDate;
     137    std::string timeSystem;
     138    std::string creationDate;
    136139    int nightInt;
    137     string camera;
    138     string daq;
     140    std::string camera;
     141    std::string daq;
    139142    float adcCount;
    140143    int nbOk;
     
    149152    GLfloat patchesColor[160][3];
    150153//    vector<edge> patchesIndices[160];
    151     fits* inputFile;
    152     fits* calibInputFile;
     154    std::fits* inputFile;
     155    std::fits* calibInputFile;
    153156    float baseLineMean[1440*1024];
    154157    float gainMean[1440*1024];
     
    249252    RawDataViewer* viewer;
    250253    QTimer timer;
    251     string currentFile;
    252     string currentCalibFile;
     254    std::string currentFile;
     255    std::string currentCalibFile;
    253256    int crateID;
    254257    int boardID;
Note: See TracChangeset for help on using the changeset viewer.