a step further towards difference plots

This commit is contained in:
nemu
2008-08-21 14:14:32 +00:00
parent b48ec8515e
commit 5362814727
4 changed files with 240 additions and 87 deletions

View File

@@ -78,14 +78,14 @@ using namespace std;
#define MSR_FITTYPE_SINGLE_HISTO 0
#define MSR_FITTYPE_ASYM 2
#define MSR_FITTYPE_ASYM_RRF 4
#define MSR_FITTYPE_NO_MUSR 8
#define MSR_FITTYPE_NON_MUSR 8
//-------------------------------------------------------------
// msr plot type tags
#define MSR_PLOT_SINGLE_HISTO 0
#define MSR_PLOT_ASYM 2
#define MSR_PLOT_ASYM_RRF 4
#define MSR_PLOT_NO_MUSR 8
#define MSR_PLOT_NON_MUSR 8
//-------------------------------------------------------------
// map and fun offsets for parameter parsing

View File

@@ -142,6 +142,7 @@ class PMusrCanvas : public TObject, public TQObject
private:
Bool_t fValid;
Bool_t fDifferencePlot; /// flag showing is a difference plot is shown
Int_t fPlotType;
Int_t fPlotNumber;
TStyle *fStyle;
@@ -173,6 +174,12 @@ class PMusrCanvas : public TObject, public TQObject
virtual void HandleNonMusrDataSet(unsigned int plotNo, unsigned int runNo, PRunData *data);
virtual void HandleDifference();
virtual double CalculateDiff(const double x, const double y, TH1F *theo);
virtual void PlotData();
virtual void PlotDifference();
virtual void PlotFourier(int fourierType);
ClassDef(PMusrCanvas, 1)
};