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.
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 > > _amp
 
std::unique_ptr< EvtAmplitudeSum< T > > _ampConj
 
std::unique_ptr< EvtPdfSum< T > > _pc
 
std::vector< std::string > _names
 
double _dm = 0
 
double _mixPhase
 
double _mixAmpli
 
bool _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

◆ _amp

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

Definition at line 133 of file EvtAmpFactory.hh.

◆ _ampConj

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

Definition at line 134 of file EvtAmpFactory.hh.

◆ _dm

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

Definition at line 138 of file EvtAmpFactory.hh.

◆ _mixAmpli

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

Definition at line 140 of file EvtAmpFactory.hh.

◆ _mixPhase

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

Definition at line 139 of file EvtAmpFactory.hh.

◆ _names

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

Definition at line 136 of file EvtAmpFactory.hh.

◆ _pc

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

Definition at line 135 of file EvtAmpFactory.hh.

◆ _verbose

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

Definition at line 141 of file EvtAmpFactory.hh.


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