EvtGen 2.2.0
Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons.
Loading...
Searching...
No Matches
EvtAmpFactory< T > Class Template Referenceabstract

#include <EvtGenBase/EvtAmpFactory.hh>

Public Member Functions

 EvtAmpFactory ()=default
virtual ~EvtAmpFactory ()=default
virtual EvtAmpFactory< T > * clone () const =0
virtual void build (const EvtMultiChannelParser &parser, int nItg)
virtual void processAmp (EvtComplex c, std::vector< std::string > v, bool conj=false)=0
bool isCPModel () const
double dm () const
double mixAmpli () const
double mixPhase () const
void setVerbose ()
EvtAmplitudeSum< T > * getAmp () const
EvtAmplitudeSum< T > * getAmpConj () const
EvtPdfSum< T > * getPC () const
EvtAmplitude< T > * getAmp (int i) const
EvtPdf< T > * getPC (int i) const
const char * compName (int i) const
EvtComplex getCoeff (int i) const
double getTermCoeff (int i) const
double getTermCoeff (int type, int i, int j) const

Protected Member Functions

 EvtAmpFactory (EvtAmpFactory< T > &&)=default
 EvtAmpFactory (const EvtAmpFactory< T > &other)

Protected Attributes

std::unique_ptr< EvtAmplitudeSum< T > > m_amp
std::unique_ptr< EvtAmplitudeSum< T > > m_ampConj
std::unique_ptr< EvtPdfSum< T > > m_pc
std::vector< std::string > m_names
double m_dm = 0
double m_mixPhase
double m_mixAmpli
bool m_verbose = false

Detailed Description

template<class T>
class EvtAmpFactory< T >

Definition at line 40 of file EvtAmpFactory.hh.

Constructor & Destructor Documentation

◆ EvtAmpFactory() [1/3]

template<class T>
EvtAmpFactory< T >::EvtAmpFactory ( )
default

◆ EvtAmpFactory() [2/3]

template<class T>
EvtAmpFactory< T >::EvtAmpFactory ( EvtAmpFactory< T > && )
protecteddefault

◆ EvtAmpFactory() [3/3]

template<class T>
EvtAmpFactory< T >::EvtAmpFactory ( const EvtAmpFactory< T > & other)
inlineprotected

Definition at line 46 of file EvtAmpFactory.hh.

◆ ~EvtAmpFactory()

template<class T>
virtual EvtAmpFactory< T >::~EvtAmpFactory ( )
virtualdefault

Member Function Documentation

◆ build()

template<class T>
virtual void EvtAmpFactory< T >::build ( const EvtMultiChannelParser & parser,
int nItg )
inlinevirtual

Definition at line 62 of file EvtAmpFactory.hh.

◆ clone()

template<class T>
virtual EvtAmpFactory< T > * EvtAmpFactory< T >::clone ( ) const
pure virtual

Implemented in EvtPto3PAmpFactory.

◆ compName()

template<class T>
const char * EvtAmpFactory< T >::compName ( int i) const
inline

Definition at line 111 of file EvtAmpFactory.hh.

◆ dm()

template<class T>
double EvtAmpFactory< T >::dm ( ) const
inline

Definition at line 100 of file EvtAmpFactory.hh.

◆ getAmp() [1/2]

template<class T>
EvtAmplitudeSum< T > * EvtAmpFactory< T >::getAmp ( ) const
inline

Definition at line 106 of file EvtAmpFactory.hh.

◆ getAmp() [2/2]

template<class T>
EvtAmplitude< T > * EvtAmpFactory< T >::getAmp ( int i) const
inline

Definition at line 109 of file EvtAmpFactory.hh.

◆ getAmpConj()

template<class T>
EvtAmplitudeSum< T > * EvtAmpFactory< T >::getAmpConj ( ) const
inline

Definition at line 107 of file EvtAmpFactory.hh.

◆ getCoeff()

template<class T>
EvtComplex EvtAmpFactory< T >::getCoeff ( int i) const
inline

Definition at line 113 of file EvtAmpFactory.hh.

◆ getPC() [1/2]

template<class T>
EvtPdfSum< T > * EvtAmpFactory< T >::getPC ( ) const
inline

Definition at line 108 of file EvtAmpFactory.hh.

◆ getPC() [2/2]

template<class T>
EvtPdf< T > * EvtAmpFactory< T >::getPC ( int i) const
inline

Definition at line 110 of file EvtAmpFactory.hh.

◆ getTermCoeff() [1/2]

template<class T>
double EvtAmpFactory< T >::getTermCoeff ( int i) const
inline

Definition at line 115 of file EvtAmpFactory.hh.

◆ getTermCoeff() [2/2]

template<class T>
double EvtAmpFactory< T >::getTermCoeff ( int type,
int i,
int j ) const
inline

Definition at line 116 of file EvtAmpFactory.hh.

◆ isCPModel()

template<class T>
bool EvtAmpFactory< T >::isCPModel ( ) const
inline

Definition at line 96 of file EvtAmpFactory.hh.

◆ mixAmpli()

template<class T>
double EvtAmpFactory< T >::mixAmpli ( ) const
inline

Definition at line 101 of file EvtAmpFactory.hh.

◆ mixPhase()

template<class T>
double EvtAmpFactory< T >::mixPhase ( ) const
inline

Definition at line 102 of file EvtAmpFactory.hh.

◆ processAmp()

template<class T>
virtual void EvtAmpFactory< T >::processAmp ( EvtComplex c,
std::vector< std::string > v,
bool conj = false )
pure virtual

Implemented in EvtPto3PAmpFactory.

◆ setVerbose()

template<class T>
void EvtAmpFactory< T >::setVerbose ( )
inline

Definition at line 104 of file EvtAmpFactory.hh.

Member Data Documentation

◆ m_amp

template<class T>
std::unique_ptr<EvtAmplitudeSum<T> > EvtAmpFactory< T >::m_amp
protected

Definition at line 135 of file EvtAmpFactory.hh.

◆ m_ampConj

template<class T>
std::unique_ptr<EvtAmplitudeSum<T> > EvtAmpFactory< T >::m_ampConj
protected

Definition at line 136 of file EvtAmpFactory.hh.

◆ m_dm

template<class T>
double EvtAmpFactory< T >::m_dm = 0
protected

Definition at line 140 of file EvtAmpFactory.hh.

◆ m_mixAmpli

template<class T>
double EvtAmpFactory< T >::m_mixAmpli
protected

Definition at line 142 of file EvtAmpFactory.hh.

◆ m_mixPhase

template<class T>
double EvtAmpFactory< T >::m_mixPhase
protected

Definition at line 141 of file EvtAmpFactory.hh.

◆ m_names

template<class T>
std::vector<std::string> EvtAmpFactory< T >::m_names
protected

Definition at line 138 of file EvtAmpFactory.hh.

◆ m_pc

template<class T>
std::unique_ptr<EvtPdfSum<T> > EvtAmpFactory< T >::m_pc
protected

Definition at line 137 of file EvtAmpFactory.hh.

◆ m_verbose

template<class T>
bool EvtAmpFactory< T >::m_verbose = false
protected

Definition at line 143 of file EvtAmpFactory.hh.


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