BOSS 7.0.9
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
 
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)
 
 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 bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtPdf.hh.

Member Typedef Documentation

◆ argument_type [1/2]

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

◆ argument_type [2/2]

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

◆ result_type [1/2]

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

◆ result_type [2/2]

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

Constructor & Destructor Documentation

◆ EvtPdfUnary() [1/6]

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

◆ EvtPdfUnary() [2/6]

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

Definition at line 183 of file bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtPdf.hh.

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

◆ EvtPdfUnary() [3/6]

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

◆ ~EvtPdfUnary() [1/2]

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

Definition at line 185 of file bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtPdf.hh.

185{ delete itsPdf; }

◆ EvtPdfUnary() [4/6]

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

Definition at line 182 of file BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtPdf.hh.

182{}

◆ EvtPdfUnary() [5/6]

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

Definition at line 183 of file BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtPdf.hh.

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

◆ EvtPdfUnary() [6/6]

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

Definition at line 184 of file BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtPdf.hh.

184: COPY_PTR(itsPdf) {}

◆ ~EvtPdfUnary() [2/2]

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

Definition at line 185 of file BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtPdf.hh.

185{ delete itsPdf; }

Member Function Documentation

◆ operator()() [1/2]

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

Definition at line 187 of file bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtPdf.hh.

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

◆ operator()() [2/2]

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

Definition at line 187 of file BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/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 files: