CMS 3D CMS Logo

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

#include <Expression.h>

Inheritance diagram for funct::ExpressionT< F >:
funct::AbsExpression

Public Member Functions

AbsExpressionclone () const override
 
 ExpressionT (const F &f)
 
double operator() () const override
 
std::ostream & print (std::ostream &cout) const override
 
 ~ExpressionT () override
 
- Public Member Functions inherited from funct::AbsExpression
virtual ~AbsExpression ()
 

Private Attributes

F _f
 

Detailed Description

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

Definition at line 17 of file Expression.h.

Constructor & Destructor Documentation

◆ ExpressionT()

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

Definition at line 18 of file Expression.h.

18 : _f(f) {}

◆ ~ExpressionT()

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

Definition at line 19 of file Expression.h.

19 {}

Member Function Documentation

◆ clone()

template<typename F >
AbsExpression* funct::ExpressionT< F >::clone ( void  ) const
inlineoverridevirtual

Implements funct::AbsExpression.

Definition at line 21 of file Expression.h.

21 { return new ExpressionT<F>(_f); }

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

◆ operator()()

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

Implements funct::AbsExpression.

Definition at line 20 of file Expression.h.

20 { return _f(); }

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

◆ print()

template<typename F >
std::ostream& funct::ExpressionT< F >::print ( std::ostream &  cout) const
inlineoverridevirtual

Implements funct::AbsExpression.

Definition at line 22 of file Expression.h.

22 { return cout << _f; }

References funct::ExpressionT< F >::_f, and gather_cfg::cout.

Member Data Documentation

◆ _f

template<typename F >
F funct::ExpressionT< F >::_f
private
f
double f[11][100]
Definition: MuScleFitUtils.cc:78
gather_cfg.cout
cout
Definition: gather_cfg.py:144
funct::ExpressionT::_f
F _f
Definition: Expression.h:25