Algorithm::TH1_wrapper Struct Reference

#include <Convolver.h>

List of all members.

Public Member Functions

 TH1_wrapper (const TH1 *hist, double scale=1.)
TH1_c_iterator begin (int skip=0) const
TH1_c_iterator end (int skip=0) const

Private Attributes

const TH1 * fHisto
double fScale

Detailed Description

Definition at line 77 of file Convolver.h.


Constructor & Destructor Documentation

Algorithm::TH1_wrapper::TH1_wrapper ( const TH1 *  hist,
double  scale = 1. 
) [inline]

Definition at line 78 of file Convolver.h.

00078 : fHisto(hist), fScale(scale){};


Member Function Documentation

TH1_c_iterator Algorithm::TH1_wrapper::begin ( int  skip = 0  )  const [inline]

Definition at line 79 of file Convolver.h.

References fHisto, and fScale.

Referenced by Algorithm::Pedestal_iterator< InputIterator >::AddHistogram().

00079 {return TH1_c_iterator(fHisto,1+skip,fScale);}

TH1_c_iterator Algorithm::TH1_wrapper::end ( int  skip = 0  )  const [inline]

Definition at line 80 of file Convolver.h.

References fHisto, and fScale.

Referenced by Algorithm::Pedestal_iterator< InputIterator >::AddHistogram().

00080 {return TH1_c_iterator(fHisto,fHisto->GetNbinsX()-skip,fScale);}


Member Data Documentation

const TH1* Algorithm::TH1_wrapper::fHisto [private]

Definition at line 83 of file Convolver.h.

Referenced by begin(), and end().

Definition at line 84 of file Convolver.h.

Referenced by begin(), and end().


The documentation for this struct was generated from the following file:

Generated on 15 Jun 2016 for AlcapDAQ by  doxygen 1.6.1