BOSS 7.0.5
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 177 of file EvtPdf.hh.

Member Typedef Documentation

◆ argument_type

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

Definition at line 180 of file EvtPdf.hh.

◆ result_type

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

Definition at line 179 of file EvtPdf.hh.

Constructor & Destructor Documentation

◆ EvtPdfUnary() [1/3]

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

Definition at line 182 of file EvtPdf.hh.

182{}

◆ EvtPdfUnary() [2/3]

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

Definition at line 183 of file EvtPdf.hh.

183: itsPdf(thePdf.clone()) {}
virtual EvtPdf< T > * clone() const =0

◆ EvtPdfUnary() [3/3]

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

Definition at line 184 of file EvtPdf.hh.

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

◆ ~EvtPdfUnary()

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

Definition at line 185 of file EvtPdf.hh.

185{ delete itsPdf; }

Member Function Documentation

◆ operator()()

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

Definition at line 187 of file EvtPdf.hh.

188 {
189 assert(itsPdf);
190 double ret = itsPdf->evaluate(p);
191 return ret;
192 }

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