Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members | Related Pages

Normalizer Class Reference

#include <HVisitors.h>

Inheritance diagram for Normalizer:

Inheritance graph
[legend]
Collaboration diagram for Normalizer:

Collaboration graph
[legend]
List of all members.

Detailed Description

An HVisitor that normalizes all TH1 objects to a constant.

If overflow bins are to be included, this works currently only for 1D histograms

Definition at line 42 of file HVisitors.h.

Public Member Functions

 Normalizer (Double_t c_=1, bool includeOverflow_=true)
 Constructor.

virtual void visit (RegO &h) const
 The visit function.


Private Attributes

Double_t c
 The new norm.

bool includeOverflow
 Include overflows?


Constructor & Destructor Documentation

Normalizer::Normalizer Double_t  c_ = 1,
bool  includeOverflow_ = true
[inline]
 

Constructor.

Parameters:
c_  The new norm
includeOverflow_  Include overflows?

Definition at line 45 of file HVisitors.h.

References c, and includeOverflow.


Member Function Documentation

virtual void Normalizer::visit RegO h  )  const [inline, virtual]
 

The visit function.

Parameters:
h  The object to be visited

Implements ConstHVisitor.

Definition at line 50 of file HVisitors.h.

References c, and includeOverflow.


The documentation for this class was generated from the following file:
Generated on Thu Oct 26 12:54:54 2006 for SFH by doxygen 1.3.2