CMS 3D CMS Logo

funct::DefIntegral< F, MIN, MAX, Integrator, X > Struct Template Reference

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

List of all members.

Public Member Functions

 DefIntegral (const F &f, const MIN &min, const MAX &max, const Integrator &integrator)
double operator() () const

Private Attributes

f_
Integrator integrator_
MAX max_
MIN min_


Detailed Description

template<typename F, typename MIN, typename MAX, typename Integrator = no_var, typename X = no_var>
struct funct::DefIntegral< F, MIN, MAX, Integrator, X >

Definition at line 109 of file Integral.h.


Constructor & Destructor Documentation

template<typename F, typename MIN, typename MAX, typename Integrator = no_var, typename X = no_var>
funct::DefIntegral< F, MIN, MAX, Integrator, X >::DefIntegral ( const F &  f,
const MIN &  min,
const MAX &  max,
const Integrator &  integrator 
) [inline]

Definition at line 110 of file Integral.h.

00110                                                                                               : 
00111       f_(f), min_(min), max_(max), integrator_(integrator) { } 


Member Function Documentation

template<typename F, typename MIN, typename MAX, typename Integrator = no_var, typename X = no_var>
double funct::DefIntegral< F, MIN, MAX, Integrator, X >::operator() ( void   )  const [inline]

Definition at line 112 of file Integral.h.

References funct::DefIntegral< F, MIN, MAX, Integrator, X >::f_, funct::DefIntegral< F, MIN, MAX, Integrator, X >::integrator_, funct::DefIntegral< F, MIN, MAX, Integrator, X >::max_, and funct::DefIntegral< F, MIN, MAX, Integrator, X >::min_.

00112                               {
00113       return integral<X>(f_, min_(), max_(), integrator_);
00114     }


Member Data Documentation

template<typename F, typename MIN, typename MAX, typename Integrator = no_var, typename X = no_var>
F funct::DefIntegral< F, MIN, MAX, Integrator, X >::f_ [private]

Definition at line 116 of file Integral.h.

Referenced by funct::DefIntegral< F, MIN, MAX, no_var, no_var >::operator()(), funct::DefIntegral< F, MIN, MAX, no_var, X >::operator()(), funct::DefIntegral< F, MIN, MAX, Integrator, no_var >::operator()(), and funct::DefIntegral< F, MIN, MAX, Integrator, X >::operator()().

template<typename F, typename MIN, typename MAX, typename Integrator = no_var, typename X = no_var>
Integrator funct::DefIntegral< F, MIN, MAX, Integrator, X >::integrator_ [private]

Definition at line 119 of file Integral.h.

Referenced by funct::DefIntegral< F, MIN, MAX, Integrator, no_var >::operator()(), and funct::DefIntegral< F, MIN, MAX, Integrator, X >::operator()().

template<typename F, typename MIN, typename MAX, typename Integrator = no_var, typename X = no_var>
MAX funct::DefIntegral< F, MIN, MAX, Integrator, X >::max_ [private]

Definition at line 118 of file Integral.h.

Referenced by funct::DefIntegral< F, MIN, MAX, no_var, no_var >::operator()(), funct::DefIntegral< F, MIN, MAX, no_var, X >::operator()(), funct::DefIntegral< F, MIN, MAX, Integrator, no_var >::operator()(), and funct::DefIntegral< F, MIN, MAX, Integrator, X >::operator()().

template<typename F, typename MIN, typename MAX, typename Integrator = no_var, typename X = no_var>
MIN funct::DefIntegral< F, MIN, MAX, Integrator, X >::min_ [private]

Definition at line 117 of file Integral.h.

Referenced by funct::DefIntegral< F, MIN, MAX, no_var, no_var >::operator()(), funct::DefIntegral< F, MIN, MAX, no_var, X >::operator()(), funct::DefIntegral< F, MIN, MAX, Integrator, no_var >::operator()(), and funct::DefIntegral< F, MIN, MAX, Integrator, X >::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