Changeset 17945


Ignore:
Timestamp:
08/01/14 12:03:44 (10 years ago)
Author:
tbretz
Message:
Some minor fixes - maybe incompatibility with neweer root versions.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cosy/tpoint/plot.C

    r12600 r17945  
    33#include <fstream>
    44
     5#include <TH1.h>
    56#include <TGraph.h>
    67#include <TCanvas.h>
     
    205206    DrawIndices(g0, *g2.GetHistogram());
    206207
    207     Double_t prob[4] = { 0.5, MMath::GaussProb(1), MMath::GaussProb(2), MMath::GaussProb(3) };
     208    double gauss1 = MMath::GaussProb(1);
     209    double gauss2 = MMath::GaussProb(2);
     210    double gauss3 = MMath::GaussProb(3);
     211
     212    Double_t prob[4] = { 0.5, gauss1, gauss2, gauss3 };
    208213    Double_t quant[4];
    209214
     
    256261    h0.SetFillColor(13);
    257262
    258     h2.SetTitle("Measured Residual-Distribution vs. Date");
     263    h2.SetTitle("");//Measured Residual-Distribution vs. Date");
    259264    h2.SetYTitle("Residual [arcmin]");
    260265    h2.SetStats(kFALSE);
Note: See TracChangeset for help on using the changeset viewer.