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

#include <EvtPdf.hh>

Public Types

typedef T result_type
 

Public Member Functions

 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 EvtPdf.hh.

Member Typedef Documentation

◆ result_type

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

Definition at line 117 of file EvtPdf.hh.

Constructor & Destructor Documentation

◆ EvtPdfGen() [1/3]

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

Definition at line 119 of file EvtPdf.hh.

119: _pdf(0) {}

◆ EvtPdfGen() [2/3]

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

Definition at line 120 of file EvtPdf.hh.

120 :
121 _pdf(other._pdf ? other._pdf->clone() : 0)
122 {}
Index other(Index i, Index j)
Definition: EvtCyclic3.cc:118

◆ EvtPdfGen() [3/3]

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

Definition at line 123 of file EvtPdf.hh.

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

◆ ~EvtPdfGen()

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

Definition at line 126 of file EvtPdf.hh.

126{ delete _pdf;}

Member Function Documentation

◆ operator()()

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

Definition at line 128 of file EvtPdf.hh.

128{return _pdf->randomPoint();}

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