BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtPdfUnary< T > Class Template Reference

#include <EvtPdf.hh>

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)

Detailed Description

template<class T>
class EvtPdfUnary< T >

Definition at line 170 of file EvtPdf.hh.

Member Typedef Documentation

◆ argument_type

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

Definition at line 173 of file EvtPdf.hh.

◆ result_type

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

Definition at line 172 of file EvtPdf.hh.

Constructor & Destructor Documentation

◆ EvtPdfUnary() [1/3]

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

Definition at line 175 of file EvtPdf.hh.

175{}

Referenced by EvtPdfUnary().

◆ EvtPdfUnary() [2/3]

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

Definition at line 176 of file EvtPdf.hh.

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

◆ EvtPdfUnary() [3/3]

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

Definition at line 177 of file EvtPdf.hh.

177: COPY_PTR( itsPdf ) {}
#define COPY_PTR(X)
Definition EvtMacros.hh:15

◆ ~EvtPdfUnary()

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

Definition at line 178 of file EvtPdf.hh.

178{ delete itsPdf; }

Member Function Documentation

◆ operator()()

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

Definition at line 180 of file EvtPdf.hh.

180 {
181 assert( itsPdf );
182 double ret = itsPdf->evaluate( p );
183 return ret;
184 }

The documentation for this class was generated from the following file: