QIGUIBoloModelFit.hh
Go to the documentation of this file.00001
00007 #ifndef _QIGUIBOLOMODELFIT_HH
00008 #define _QIGUIBOLOMODELFIT_HH
00009
00010 #include <QEventDisplay.hh>
00011 #include "TPad.h"
00012 #include "QEventR.hh"
00013 #include "QEventAuxDataR.hh"
00014
00015 class TH1D;
00016 class TPaveText;
00017
00018 class QIGUIBoloModelFit : public QEventDisplay
00019 {
00020
00021 public:
00022
00024 QIGUIBoloModelFit(std::string name="BoloModel Fit");
00025
00026 ~QIGUIBoloModelFit();
00027
00028 virtual void Draw(TPad &pad, QEventR* ev, QEventAuxDataR* aux, QRunDataR* run);
00029
00030 void InitDisplayObjects(QIGUIDianaSessionHandler *);
00031
00032 private:
00033 TH1D* GetHisto(const QVectorR* timeline, int counter,double conv = 1., double baseline = 0., double binw = 1.);
00034 TH1D* GetHisto(const QVectorIR* timeline, int counter, double conv = 1., double baseline = 0., double binw = 1.);
00035 void DataNotAvalaible();
00036
00037 TPaveText* fNotAv;
00038 TPaveText* fFitData;
00039 };
00040
00041
00042 #endif
00043