CMS 3D CMS Logo

funct::Exponential Struct Reference

#include <PhysicsTools/Utilities/interface/Exponential.h>

List of all members.

Public Member Functions

 Exponential (double l)
 Exponential (boost::shared_ptr< double > l)
 Exponential (const Parameter &l)
double operator() (double x) const

Public Attributes

boost::shared_ptr< double > lambda


Detailed Description

Definition at line 9 of file Exponential.h.


Constructor & Destructor Documentation

funct::Exponential::Exponential ( const Parameter l  )  [inline]

Definition at line 10 of file Exponential.h.

00010 : lambda(l.ptr()) { }

funct::Exponential::Exponential ( boost::shared_ptr< double >  l  )  [inline]

Definition at line 11 of file Exponential.h.

00011 : lambda(l) { }

funct::Exponential::Exponential ( double  l  )  [inline]

Definition at line 12 of file Exponential.h.

00012 : lambda(new double(l)) { }


Member Function Documentation

double funct::Exponential::operator() ( double  x  )  const [inline]

Definition at line 13 of file Exponential.h.

References funct::exp(), and lambda.

00013 { return exp((*lambda)*x); }


Member Data Documentation

boost::shared_ptr<double> funct::Exponential::lambda

Definition at line 14 of file Exponential.h.

Referenced by operator()().


The documentation for this struct was generated from the following file:
Generated on Tue Jun 9 18:47:01 2009 for CMSSW by  doxygen 1.5.4