CMS 3D CMS Logo

funct::CosStruct< T > Struct Template Reference

#include <PhysicsTools/Utilities/interface/Cos.h>

List of all members.

Public Member Functions

 CosStruct (const T &t)
double operator() () const

Public Attributes

_


Detailed Description

template<typename T>
struct funct::CosStruct< T >

Definition at line 9 of file Cos.h.


Constructor & Destructor Documentation

template<typename T>
funct::CosStruct< T >::CosStruct ( const T &  t  )  [inline]

Definition at line 10 of file Cos.h.

00010 : _(t) { }


Member Function Documentation

template<typename T>
double funct::CosStruct< T >::operator() ( void   )  const [inline]

Definition at line 11 of file Cos.h.

References funct::CosStruct< T >::_, and funct::cos().

00011 { return ::cos(_()); }


Member Data Documentation

template<typename T>
T funct::CosStruct< T >::_

Definition at line 12 of file Cos.h.

Referenced by funct::CosStruct< T >::operator()().


The documentation for this struct was generated from the following file:
Generated on Tue Jun 9 18:47:01 2009 for CMSSW by  doxygen 1.5.4