CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
funct::FunctExpressionT< F > Struct Template Reference

#include <Expression.h>

Inheritance diagram for funct::FunctExpressionT< F >:
funct::AbsFunctExpression

Public Member Functions

AbsFunctExpressionclone () const override
 
 FunctExpressionT (const F &f)
 
double operator() (double x) const override
 
 ~FunctExpressionT () override
 
- Public Member Functions inherited from funct::AbsFunctExpression
virtual ~AbsFunctExpression ()
 

Private Attributes

F _f
 

Detailed Description

template<typename F>
struct funct::FunctExpressionT< F >

Definition at line 56 of file Expression.h.

Constructor & Destructor Documentation

◆ FunctExpressionT()

template<typename F >
funct::FunctExpressionT< F >::FunctExpressionT ( const F f)
inline

Definition at line 57 of file Expression.h.

57 : _f(f) {}

◆ ~FunctExpressionT()

template<typename F >
funct::FunctExpressionT< F >::~FunctExpressionT ( )
inlineoverride

Definition at line 58 of file Expression.h.

58 {}

Member Function Documentation

◆ clone()

template<typename F >
AbsFunctExpression* funct::FunctExpressionT< F >::clone ( void  ) const
inlineoverridevirtual

Implements funct::AbsFunctExpression.

Definition at line 60 of file Expression.h.

60 { return new FunctExpressionT<F>(_f); }

References funct::FunctExpressionT< F >::_f.

◆ operator()()

template<typename F >
double funct::FunctExpressionT< F >::operator() ( double  x) const
inlineoverridevirtual

Implements funct::AbsFunctExpression.

Definition at line 59 of file Expression.h.

59 { return _f(x); }

References funct::FunctExpressionT< F >::_f.

Member Data Documentation

◆ _f

template<typename F >
F funct::FunctExpressionT< F >::_f
private
f
double f[11][100]
Definition: MuScleFitUtils.cc:78
DDAxes::x
funct::FunctExpressionT::_f
F _f
Definition: Expression.h:63