Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

NCDataQualityPlot2D Class Reference

Modification of a TH2D. More...

#include <NCDataQualityPlot2D.h>

List of all members.

Public Member Functions

 NCDataQualityPlot2D (int k, TString type)
 ~NCDataQualityPlot2D ()
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="")
virtual void 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.

References kDQVars2D.

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
[virtual]
 

Definition at line 41 of file NCDataQualityPlot2D.cxx.

00042 {
00043   TH1::Add(h1, h2, c1, c2);
00044 }

void NCDataQualityPlot2D::Add TF1 *  f1,
Double_t  c1 = 1,
Option_t *  option = ""
[virtual]
 

Definition at line 37 of file NCDataQualityPlot2D.cxx.

References option.

00038 {
00039   TH1::Add(f1, c1, option);
00040 }

void NCDataQualityPlot2D::Add const TH1 *  h1,
Double_t  c1 = 1
[virtual]
 

Silently ignore adding null histogram.

Definition at line 31 of file NCDataQualityPlot2D.cxx.

Referenced by NCDataQualityModule::CombineDataQualityPlots().

00032 {
00033   if(h1) TH1::Add(h1, c1);
00034 }


The documentation for this class was generated from the following files:
Generated on Mon Feb 15 11:09:39 2010 for loon by  doxygen 1.3.9.1