CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
List of all members | Public Member Functions | Public Attributes
funct::CompositionStruct< A, B > Struct Template Reference

#include <Composition.h>

Public Member Functions

 CompositionStruct (const A &a, const B &b)
 
 operator double () const
 
double operator() () const
 
double operator() (double x) const
 
double operator() (double x, double y) const
 

Public Attributes

A _1
 
B _2
 

Detailed Description

template<typename A, typename B>
struct funct::CompositionStruct< A, B >

Definition at line 6 of file Composition.h.

Constructor & Destructor Documentation

◆ CompositionStruct()

template<typename A , typename B >
funct::CompositionStruct< A, B >::CompositionStruct ( const A a,
const B b 
)
inline

Definition at line 7 of file Composition.h.

7 : _1(a), _2(b) {}
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

Member Function Documentation

◆ operator double()

template<typename A , typename B >
funct::CompositionStruct< A, B >::operator double ( ) const
inline

◆ operator()() [1/3]

template<typename A , typename B >
double funct::CompositionStruct< A, B >::operator() ( ) const
inline

◆ operator()() [2/3]

template<typename A , typename B >
double funct::CompositionStruct< A, B >::operator() ( double  x) const
inline

◆ operator()() [3/3]

template<typename A , typename B >
double funct::CompositionStruct< A, B >::operator() ( double  x,
double  y 
) const
inline

Member Data Documentation

◆ _1

template<typename A , typename B >
A funct::CompositionStruct< A, B >::_1

◆ _2

template<typename A , typename B >
B funct::CompositionStruct< A, B >::_2