18#ifndef EVT_AMP_FACTORY_HH
19#define EVT_AMP_FACTORY_HH
63 printf(
"Amplitude with %d terms\n",parser.
getNAmp());
65 for(i=0;i<parser.
getNAmp();i++) {
67 std::vector<std::string>
v = parser.
amp(i);
72 printf(
"Conj. amplitude with %d terms\n",parser.
getNAmpConj());
75 std::vector<std::string>
v = parser.
ampConj(i);
80 printf(
"Calculating pole compensator integrals %d steps\n",nItg);
81 if(nItg > 0)
_pc->getItg(nItg);
83 printf(
"End build\n");
89 inline double dm()
const {
return _dm; }
Evt3Rank3C conj(const Evt3Rank3C &t2)
double imag(const EvtComplex &c)
double real(const EvtComplex &c)
double abs2(const EvtComplex &c)
**********Class see also m_nmax DOUBLE PRECISION m_amel DOUBLE PRECISION m_x2 DOUBLE PRECISION m_alfinv DOUBLE PRECISION m_Xenph INTEGER m_KeyWtm INTEGER m_idyfs DOUBLE PRECISION m_zini DOUBLE PRECISION m_q2 DOUBLE PRECISION m_Wt_KF DOUBLE PRECISION m_WtCut INTEGER m_KFfin *COMMON c_KarLud $ !Input CMS energy[GeV] $ !CMS energy after beam spread beam strahlung[GeV] $ !Beam energy spread[GeV] $ !z boost due to beam spread $ !electron beam mass *ff pair spectrum $ !minimum v
EvtAmpFactory(const EvtAmpFactory< T > &other)
EvtAmplitude< T > * getAmp(int i) const
virtual void build(const EvtMultiChannelParser &parser, int nItg)
EvtComplex getCoeff(int i) const
EvtAmplitudeSum< T > * getAmpConj() const
double getTermCoeff(int i) const
EvtPdf< T > * getPC(int i) const
EvtAmplitudeSum< T > * _ampConj
EvtAmplitudeSum< T > * _amp
const char * compName(int i) const
EvtPdfSum< T > * getPC() const
virtual EvtAmpFactory< T > * clone() const =0
virtual void processAmp(EvtComplex c, std::vector< std::string > v, bool conj=false)=0
std::vector< std::string > _names
double getTermCoeff(int type, int i, int j) const
EvtAmplitudeSum< T > * getAmp() const
std::vector< std::string > ampConj(int i) const
EvtComplex ampConjCoef(int i) const
std::vector< std::string > amp(int i) const
EvtComplex ampCoef(int i) const