CMS 3D CMS Logo

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
 
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.

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().

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

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.

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

Definition at line 209 of file Expressions.h.