Ignore:
Timestamp:
10/22/18 20:50:24 (6 years ago)
Author:
tbretz
Message:
Fixed some minor issues with the cling based interpreter - this should not have any effect at runtime maybe except stability
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/fact/plots/quality.C

    r18260 r19266  
     1#ifndef __CLING__
    12#include <algorithm>
    23#include <functional>
     4#include <vector>
     5#include <pair>
     6#endif
    37
    48Bool_t Contains(TArrayD **vec, Double_t t0, Double_t range=0)
     
    7175    return 0;
    7276}
    73 
    74 #include <vector>
    75 #include <pair>
    7677
    7778vector<pair<double, Nova::EquPosn>> vecp;
     
    948949    TCanvas *c = NULL;
    949950    TString datestring = Form("%04d%02d%02d", y, m, d);
    950     if( datestring.Atoi() > 20140723 ) {
    951       TCanvas *c = new TCanvas("quality", Form("Quality %04d/%02d/%02d", y, m, d), 1280, 1280);
    952       c->Divide(1, 8, 1e-5, 1e-5);
    953     }else{
    954       TCanvas *c = new TCanvas("quality", Form("Quality %04d/%02d/%02d", y, m, d), 1280, 1120);
    955       c->Divide(1, 7, 1e-5, 1e-5);
     951    if (datestring.Atoi() > 20140723)
     952    {
     953        c = new TCanvas("quality", Form("Quality %04d/%02d/%02d", y, m, d), 1280, 1280);
     954        c->Divide(1, 8, 1e-5, 1e-5);
     955    }
     956    else
     957    {
     958        c = new TCanvas("quality", Form("Quality %04d/%02d/%02d", y, m, d), 1280, 1120);
     959        c->Divide(1, 7, 1e-5, 1e-5);
    956960    }
    957961
     
    983987    gPad->SetLeftMargin(0.04);
    984988    cout << PlotRate(runs, fname) << endl;
    985     cout << PlotRateQC(night, serv) << endl;
     989    PlotRateQC(night, serv);
    986990
    987991    gROOT->SetSelectedPad(0);
Note: See TracChangeset for help on using the changeset viewer.