NCDataQualityPlot2D Class Reference

Modification of a TH2D. More...

#include <NCDataQualityPlot2D.h>

List of all members.

Public Member Functions

 NCDataQualityPlot2D (int k, TString type)
 ~NCDataQualityPlot2D ()
TH2_ADD_RETTYPE Add (const TH1 *h1, Double_t c1=1)
 RWH 2012-04-17 return type changed.
TH2_ADD_RETTYPE Add (TF1 *f1, Double_t c1=1, Option_t *option="")
TH2_ADD_RETTYPE Add (const TH1 *h1, const TH1 *h2, Double_t c1=1, Double_t c2=1)

Detailed Description

Modification of a TH2D.

Definition at line 49 of file NCDataQualityPlot2D.h.


Constructor & Destructor Documentation

NCDataQualityPlot2D::NCDataQualityPlot2D ( int  k,
TString  type 
)

Definition at line 20 of file NCDataQualityPlot2D.cxx.

00020                                                            :
00021   TH2D(kDQVars2D[k].name+type,  kDQVars2D[k].title,
00022        kDQVars2D[k].binsx, kDQVars2D[k].startx, kDQVars2D[k].endx,
00023        kDQVars2D[k].binsy, kDQVars2D[k].starty, kDQVars2D[k].endy)
00024 {
00025   GetXaxis()->CenterTitle();
00026   GetYaxis()->CenterTitle();
00027 }

NCDataQualityPlot2D::~NCDataQualityPlot2D (  )  [inline]

Definition at line 53 of file NCDataQualityPlot2D.h.

00053 {};


Member Function Documentation

void NCDataQualityPlot2D::Add ( const TH1 *  h1,
const TH1 *  h2,
Double_t  c1 = 1,
Double_t  c2 = 1 
)

Definition at line 67 of file NCDataQualityPlot2D.cxx.

References Add().

00069 {
00070   TH1::Add(h1, h2, c1, c2);
00071 }

void NCDataQualityPlot2D::Add ( TF1 *  f1,
Double_t  c1 = 1,
Option_t *  option = "" 
)

Definition at line 63 of file NCDataQualityPlot2D.cxx.

References Add().

00064 {
00065   TH1::Add(f1, c1, option);
00066 }

void NCDataQualityPlot2D::Add ( const TH1 *  h1,
Double_t  c1 = 1 
)

RWH 2012-04-17 return type changed.

Silently ignore adding null histogram.

Definition at line 56 of file NCDataQualityPlot2D.cxx.

Referenced by Add().

00057 {
00058   if(h1) TH1::Add(h1, c1);
00059 }


The documentation for this class was generated from the following files:

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1