CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Attributes
reco::BinOp< A, Operation, B > Class Template Reference

#include <Expressions.h>

Public Types

typedef A::ArgType ArgType
 
typedef Operation::RetType RetType
 

Public Member Functions

 BinOp (const A &A, const B &B)
 
RetType operator() (const ArgType &x) const
 

Private Attributes

mA
 
B mB
 

Detailed Description

template<class A, class Operation, class B>
class reco::BinOp< A, Operation, B >

Definition at line 196 of file Expressions.h.

Member Typedef Documentation

template<class A , class Operation , class B >
typedef A::ArgType reco::BinOp< A, Operation, B >::ArgType

Definition at line 199 of file Expressions.h.

template<class A , class Operation , class B >
typedef Operation::RetType reco::BinOp< A, Operation, B >::RetType

Definition at line 198 of file Expressions.h.

Constructor & Destructor Documentation

template<class A , class Operation , class B >
reco::BinOp< A, Operation, B >::BinOp ( const A &  A,
const B B 
)
inline

Definition at line 201 of file Expressions.h.

201  :mA(A), mB(B)
202  { };

Member Function Documentation

template<class A , class Operation , class B >
RetType reco::BinOp< A, Operation, B >::operator() ( const ArgType x) const
inline

Definition at line 204 of file Expressions.h.

References apply(), reco::BinOp< A, Operation, B >::mA, and reco::BinOp< A, Operation, B >::mB.

205  {return Operation::apply( mA(x), mB(x) );}
Definition: DDAxes.h:10
Vec apply(Vec v, F f)
Definition: ExtVec.h:44

Member Data Documentation

template<class A , class Operation , class B >
A reco::BinOp< A, Operation, B >::mA
private

Definition at line 208 of file Expressions.h.

Referenced by reco::BinOp< A, Operation, B >::operator()().

template<class A , class Operation , class B >
B reco::BinOp< A, Operation, B >::mB
private

Definition at line 209 of file Expressions.h.

Referenced by reco::BinOp< A, Operation, B >::operator()().