CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
funct::Exponential Struct Reference

#include <Exponential.h>

Public Member Functions

 Exponential (const Parameter &l)
 
 Exponential (boost::shared_ptr< double > l)
 
 Exponential (double 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.

10 : lambda(l.ptr()) { }
boost::shared_ptr< double > lambda
Definition: Exponential.h:14
funct::Exponential::Exponential ( boost::shared_ptr< double >  l)
inline

Definition at line 11 of file Exponential.h.

11 : lambda(l) { }
boost::shared_ptr< double > lambda
Definition: Exponential.h:14
funct::Exponential::Exponential ( double  l)
inline

Definition at line 12 of file Exponential.h.

12 : lambda(new double(l)) { }
boost::shared_ptr< double > lambda
Definition: Exponential.h:14

Member Function Documentation

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

Definition at line 13 of file Exponential.h.

References create_public_lumi_plots::exp, and lambda.

13 { return std::exp((*lambda)*x); }
boost::shared_ptr< double > lambda
Definition: Exponential.h:14
x
Definition: VDTMath.h:216

Member Data Documentation

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

Definition at line 14 of file Exponential.h.

Referenced by operator()().