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

#include <EvtPdf.hh>

Public Types

typedef T result_type
 
typedef T result_type
 

Public Member Functions

 EvtPdfGen ()
 
 EvtPdfGen (const EvtPdfGen< T > &other)
 
 EvtPdfGen (const EvtPdf< T > &pdf)
 
 ~EvtPdfGen ()
 
result_type operator() ()
 
 EvtPdfGen ()
 
 EvtPdfGen (const EvtPdfGen< T > &other)
 
 EvtPdfGen (const EvtPdf< T > &pdf)
 
 ~EvtPdfGen ()
 
result_type operator() ()
 

Detailed Description

template<class T>
class EvtPdfGen< T >

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

Member Typedef Documentation

◆ result_type [1/2]

template<class T >
typedef T EvtPdfGen< T >::result_type

◆ result_type [2/2]

template<class T >
typedef T EvtPdfGen< T >::result_type

Constructor & Destructor Documentation

◆ EvtPdfGen() [1/6]

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

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

119: _pdf(0) {}

◆ EvtPdfGen() [2/6]

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

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

120 :
121 _pdf(other._pdf ? other._pdf->clone() : 0)
122 {}

◆ EvtPdfGen() [3/6]

template<class T >
EvtPdfGen< T >::EvtPdfGen ( const EvtPdf< T > &  pdf)
inline

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

123 :
124 _pdf(pdf.clone())
125 {}
virtual EvtPdf< T > * clone() const =0

◆ ~EvtPdfGen() [1/2]

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

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

126{ delete _pdf;}

◆ EvtPdfGen() [4/6]

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

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

119: _pdf(0) {}

◆ EvtPdfGen() [5/6]

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

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

120 :
121 _pdf(other._pdf ? other._pdf->clone() : 0)
122 {}

◆ EvtPdfGen() [6/6]

template<class T >
EvtPdfGen< T >::EvtPdfGen ( const EvtPdf< T > &  pdf)
inline

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

123 :
124 _pdf(pdf.clone())
125 {}

◆ ~EvtPdfGen() [2/2]

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

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

126{ delete _pdf;}

Member Function Documentation

◆ operator()() [1/2]

template<class T >
result_type EvtPdfGen< T >::operator() ( )
inline

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

128{return _pdf->randomPoint();}

◆ operator()() [2/2]

template<class T >
result_type EvtPdfGen< T >::operator() ( )
inline

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

128{return _pdf->randomPoint();}

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