#include <NCDataQualityPlot.h>
Public Member Functions | |
| NCDataQualityPlot () | |
| NCDataQualityPlot (int k, TString type) | |
| virtual | ~NCDataQualityPlot () |
| virtual void | Add (const TH1 *h1, Double_t c1=1) |
| Silently ignore adding null histogram. | |
| virtual void | Add (TF1 *f1, Double_t c1=1, Option_t *option="") |
| And thus need to override the other versions, otherwise we get compiler warnings about hiding them. | |
| virtual void | Add (const TH1 *h1, const TH1 *h2, Double_t c1=1, Double_t c2=1) |
Definition at line 146 of file NCDataQualityPlot.h.
|
|
Definition at line 149 of file NCDataQualityPlot.h. 00149 {} // Need a default constructor as held in an array
|
|
||||||||||||
|
Definition at line 22 of file NCDataQualityPlot.cxx. References DQDef::bins, kDQEventsVsTime, kDQMonths, kDQPOTVsTime, and kDQVars. 00022 : 00023 TH1D(kDQVars[k].name+type, "", kDQVars[k].bins, kDQVars[k].start, kDQVars[k].end) 00024 { 00025 GetXaxis()->SetTitle(kDQVars[k].title); 00026 GetYaxis()->SetTitle((k == kDQPOTVsTime) ? "10^{12} POT" : "Events"); 00027 00028 GetXaxis()->CenterTitle(); 00029 GetYaxis()->CenterTitle(); 00030 00031 const bool isFuncOfTime = (k == kDQEventsVsTime || k == kDQPOTVsTime); 00032 00033 if(isFuncOfTime){ 00034 for(int m = 0; m < kDQVars[k].bins; ++m) 00035 GetXaxis()->SetBinLabel(m+1, kDQMonths[m]); 00036 } 00037 }
|
|
|
Definition at line 151 of file NCDataQualityPlot.h. 00151 {};
|
|
||||||||||||||||||||
|
Definition at line 51 of file NCDataQualityPlot.cxx. 00052 {
00053 TH1::Add(h1, h2, c1, c2);
00054 }
|
|
||||||||||||||||
|
And thus need to override the other versions, otherwise we get compiler warnings about hiding them.
Definition at line 47 of file NCDataQualityPlot.cxx. References option. 00048 {
00049 TH1::Add(f1, c1, option);
00050 }
|
|
||||||||||||
|
Silently ignore adding null histogram.
Definition at line 41 of file NCDataQualityPlot.cxx. Referenced by NCDataQualityModule::CombineDataQualityPlots(), and NCDataQualityModule::DrawNearSpectra(). 00042 {
00043 if(h1) TH1::Add(h1, c1);
00044 }
|
1.3.9.1