npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
npstat::DensityFunctor1D Class Reference

#include <AbsDistribution1D.hh>

Inheritance diagram for npstat::DensityFunctor1D:
npstat::Functor1< double, double >

Public Member Functions

 DensityFunctor1D (const AbsDistribution1D &fcn, const double normfactor=1.0)
 
virtual double operator() (const double &a) const
 

Additional Inherited Members

- Public Types inherited from npstat::Functor1< double, double >
typedef double result_type
 
typedef double first_argument_type
 

Detailed Description

A functor for the density function of the given 1-d distribution. For this and subsequent functors, the distribution is not copied, only a reference is used. It is a responsibility of the user to make sure that the lifetime of the distribution object exceeds the lifetime of the functor.


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