Changeset 19266 for trunk/Mars/fact/plots/quality.C
- Timestamp:
- 10/22/18 20:50:24 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/fact/plots/quality.C
r18260 r19266 1 #ifndef __CLING__ 1 2 #include <algorithm> 2 3 #include <functional> 4 #include <vector> 5 #include <pair> 6 #endif 3 7 4 8 Bool_t Contains(TArrayD **vec, Double_t t0, Double_t range=0) … … 71 75 return 0; 72 76 } 73 74 #include <vector>75 #include <pair>76 77 77 78 vector<pair<double, Nova::EquPosn>> vecp; … … 948 949 TCanvas *c = NULL; 949 950 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); 956 960 } 957 961 … … 983 987 gPad->SetLeftMargin(0.04); 984 988 cout << PlotRate(runs, fname) << endl; 985 cout << PlotRateQC(night, serv) << endl;989 PlotRateQC(night, serv); 986 990 987 991 gROOT->SetSelectedPad(0);
Note:
See TracChangeset
for help on using the changeset viewer.