CMS 3D CMS Logo

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 7 of file Composition.h.

Constructor & Destructor Documentation

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

Definition at line 8 of file Composition.h.

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

Member Function Documentation

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

Member Data Documentation

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