StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
EvtPdfSum< T > Class Template Reference
Inheritance diagram for EvtPdfSum< T >:
EvtPdf< T >

Public Member Functions

 EvtPdfSum (const EvtPdfSum< T > &other)
virtual EvtPdf< T > * clone () const
void addTerm (double c, const EvtPdf< T > &pdf)
void addOwnedTerm (double c, EvtPdf< T > *pdf)
size_t nTerms () const
double c (int i) const
EvtPdf< T > * getPdf (int i) const
virtual EvtValError compute_integral () const
virtual EvtValError compute_integral (int N) const
virtual T randomPoint ()
- Public Member Functions inherited from EvtPdf< T >
 EvtPdf (const EvtPdf &other)
double evaluate (const T &p) const
EvtPdfMax< T > findMax (const EvtPdf< T > &pc, int N)
EvtValError findGenEff (const EvtPdf< T > &pc, int N, int nFindMax)
void setItg (EvtValError itg)
EvtValError getItg () const
EvtValError getItg (int N) const
EvtValError compute_mc_integral (const EvtPdf< T > &pc, int N)
EvtPredGen< EvtPdfGen< T >
, EvtPdfPred< T > > 
accRejGen (const EvtPdf< T > &pc, int nMax, double factor=1.)

Protected Member Functions

virtual double pdf (const T &p) const

Protected Attributes

vector< double > _c
vector< EvtPdf< T > * > _term
- Protected Attributes inherited from EvtPdf< T >
EvtValError _itg

Detailed Description

template<class T>
class EvtPdfSum< T >

Definition at line 21 of file EvtPdfSum.hh.

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