CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
funct::Exponential Struct Reference

#include <Exponential.h>

Public Member Functions

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

Public Attributes

std::shared_ptr< double > lambda
 

Detailed Description

Definition at line 9 of file Exponential.h.

Constructor & Destructor Documentation

◆ Exponential() [1/3]

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

Definition at line 10 of file Exponential.h.

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

◆ Exponential() [2/3]

funct::Exponential::Exponential ( std::shared_ptr< double >  l)
inline

Definition at line 11 of file Exponential.h.

11 : lambda(l) {}

◆ Exponential() [3/3]

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

Definition at line 12 of file Exponential.h.

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

Member Function Documentation

◆ operator()()

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

Definition at line 13 of file Exponential.h.

13 { return std::exp((*lambda) * x); }

References JetChargeProducer_cfi::exp, and lambda.

Member Data Documentation

◆ lambda

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

Definition at line 14 of file Exponential.h.

Referenced by operator()().

DDAxes::x
cmsLHEtoEOSManager.l
l
Definition: cmsLHEtoEOSManager.py:204
funct::Exponential::lambda
std::shared_ptr< double > lambda
Definition: Exponential.h:14
JetChargeProducer_cfi.exp
exp
Definition: JetChargeProducer_cfi.py:6