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

BinWidthNormalizer Class Reference

#include <HVisitors.h>

Inheritance diagram for BinWidthNormalizer:

Inheritance graph
[legend]
Collaboration diagram for BinWidthNormalizer:

Collaboration graph
[legend]
List of all members.

Detailed Description

An HVisitor that normalizes all TH1 objects to a constant bin width in x.

For histograms with unequidistant binning, this class can be used to normalize all bin contents such that they correspond to the number of entries per abscissa distance.

Definition at line 75 of file HVisitors.h.

Public Member Functions

 BinWidthNormalizer (Double_t width_=1)
 Constructor.

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


Private Attributes

Double_t width
 The nominal bin width.


Constructor & Destructor Documentation

BinWidthNormalizer::BinWidthNormalizer Double_t  width_ = 1  )  [inline]
 

Constructor.

Parameters:
width_  The nominal bin width

Definition at line 78 of file HVisitors.h.

References width.


Member Function Documentation

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

The visit function.

Parameters:
h  The object to be visited

Implements ConstHVisitor.

Definition at line 82 of file HVisitors.h.

References width.


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