EvtPdfUnary< T > Class Template Reference

#include <EvtPdf.hh>

List of all members.

Public Types

typedef double result_type
typedef T argument_type

Public Member Functions

 EvtPdfUnary ()
 EvtPdfUnary (const EvtPdf< T > &thePdf)
 EvtPdfUnary (const EvtPdfUnary &other)
 ~EvtPdfUnary ()
result_type operator() (argument_type p)

Private Attributes

EvtPdf< T > * itsPdf


Detailed Description

template<class T>
class EvtPdfUnary< T >

Definition at line 177 of file EvtPdf.hh.


Member Typedef Documentation

template<class T>
typedef T EvtPdfUnary< T >::argument_type

Definition at line 180 of file EvtPdf.hh.

template<class T>
typedef double EvtPdfUnary< T >::result_type

Definition at line 179 of file EvtPdf.hh.


Constructor & Destructor Documentation

template<class T>
EvtPdfUnary< T >::EvtPdfUnary (  )  [inline]

Definition at line 182 of file EvtPdf.hh.

00182 {}

template<class T>
EvtPdfUnary< T >::EvtPdfUnary ( const EvtPdf< T > &  thePdf  )  [inline]

Definition at line 183 of file EvtPdf.hh.

00183 : itsPdf(thePdf.clone()) {}

template<class T>
EvtPdfUnary< T >::EvtPdfUnary ( const EvtPdfUnary< T > &  other  )  [inline]

Definition at line 184 of file EvtPdf.hh.

00184 : COPY_PTR(itsPdf) {}

template<class T>
EvtPdfUnary< T >::~EvtPdfUnary (  )  [inline]

Definition at line 185 of file EvtPdf.hh.

References EvtPdfUnary< T >::itsPdf.

00185 { delete itsPdf; }


Member Function Documentation

template<class T>
result_type EvtPdfUnary< T >::operator() ( argument_type  p  )  [inline]

Definition at line 187 of file EvtPdf.hh.

References EvtPdfUnary< T >::itsPdf.

00188   {
00189     assert(itsPdf);
00190     double ret = itsPdf->evaluate(p);
00191     return ret;    
00192   }


Member Data Documentation

template<class T>
EvtPdf<T>* EvtPdfUnary< T >::itsPdf [private]

Definition at line 196 of file EvtPdf.hh.

Referenced by EvtPdfUnary< T >::operator()(), and EvtPdfUnary< T >::~EvtPdfUnary().


Generated on Tue Nov 29 23:19:10 2016 for BOSS_7.0.2 by  doxygen 1.4.7