evtgen is hosted by Hepforge, IPPP Durham
EvtGen  2.0.0
Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons.

#include <EvtGenBase/EvtAmplitudeSum.hh>

Inheritance diagram for EvtAmplitudeSum< T >:
EvtAmplitude< T >

Public Member Functions

 EvtAmplitudeSum ()
 
 EvtAmplitudeSum (const EvtAmplitudeSum< T > &other)
 
virtual ~EvtAmplitudeSum ()
 
EvtAmplitudeSum< T > * clone () const override
 
void addTerm (EvtComplex c, const EvtAmplitude< T > &amp)
 
void addOwnedTerm (EvtComplex c, std::unique_ptr< EvtAmplitude< T >> amp)
 
int nTerms () const
 
void print () const
 
EvtComplex c (int i) const
 
EvtAmplitude< T > * getTerm (int i) const
 
- Public Member Functions inherited from EvtAmplitude< T >
 EvtAmplitude ()=default
 
 EvtAmplitude (const EvtAmplitude &)=default
 
 EvtAmplitude (EvtAmplitude &&)=default
 
EvtAmplitudeoperator= (const EvtAmplitude &)=default
 
EvtAmplitudeoperator= (EvtAmplitude &&)=default
 
virtual ~EvtAmplitude ()=default
 
EvtComplex evaluate (const T &p) const
 

Protected Member Functions

EvtComplex amplitude (const T &p) const override
 

Private Attributes

std::vector< EvtComplex_c
 
std::vector< EvtAmplitude< T > * > _term
 

Detailed Description

template<class T>
class EvtAmplitudeSum< T >

Definition at line 31 of file EvtAmplitudeSum.hh.

Constructor & Destructor Documentation

◆ EvtAmplitudeSum() [1/2]

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

Definition at line 33 of file EvtAmplitudeSum.hh.

◆ EvtAmplitudeSum() [2/2]

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

Definition at line 34 of file EvtAmplitudeSum.hh.

◆ ~EvtAmplitudeSum()

template<class T>
virtual EvtAmplitudeSum< T >::~EvtAmplitudeSum ( )
inlinevirtual

Definition at line 49 of file EvtAmplitudeSum.hh.

Member Function Documentation

◆ addOwnedTerm()

template<class T>
void EvtAmplitudeSum< T >::addOwnedTerm ( EvtComplex  c,
std::unique_ptr< EvtAmplitude< T >>  amp 
)
inline

Definition at line 67 of file EvtAmplitudeSum.hh.

◆ addTerm()

template<class T>
void EvtAmplitudeSum< T >::addTerm ( EvtComplex  c,
const EvtAmplitude< T > &  amp 
)
inline

Definition at line 61 of file EvtAmplitudeSum.hh.

◆ amplitude()

template<class T>
EvtComplex EvtAmplitudeSum< T >::amplitude ( const T &  p) const
inlineoverrideprotectedvirtual

Implements EvtAmplitude< T >.

Definition at line 91 of file EvtAmplitudeSum.hh.

◆ c()

template<class T>
EvtComplex EvtAmplitudeSum< T >::c ( int  i) const
inline

Definition at line 87 of file EvtAmplitudeSum.hh.

◆ clone()

template<class T>
EvtAmplitudeSum<T>* EvtAmplitudeSum< T >::clone ( ) const
inlineoverridevirtual

Implements EvtAmplitude< T >.

Definition at line 56 of file EvtAmplitudeSum.hh.

◆ getTerm()

template<class T>
EvtAmplitude<T>* EvtAmplitudeSum< T >::getTerm ( int  i) const
inline

Definition at line 88 of file EvtAmplitudeSum.hh.

◆ nTerms()

template<class T>
int EvtAmplitudeSum< T >::nTerms ( ) const
inline

Definition at line 74 of file EvtAmplitudeSum.hh.

◆ print()

template<class T>
void EvtAmplitudeSum< T >::print ( ) const
inline

Definition at line 76 of file EvtAmplitudeSum.hh.

Member Data Documentation

◆ _c

template<class T>
std::vector<EvtComplex> EvtAmplitudeSum< T >::_c
private

Definition at line 105 of file EvtAmplitudeSum.hh.

◆ _term

template<class T>
std::vector<EvtAmplitude<T>*> EvtAmplitudeSum< T >::_term
private

Definition at line 106 of file EvtAmplitudeSum.hh.


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