18#ifndef EVT_AMP_FACTORY_HH
19#define EVT_AMP_FACTORY_HH
24#include "EvtGenBase/EvtAmplitudeSum.hh"
25#include "EvtGenBase/EvtPdfSum.hh"
26#include "EvtGenBase/EvtMultiChannelParser.hh"
27#include "EvtGenBase/EvtAmpPdf.hh"
28#include "EvtGenBase/EvtPdfMax.hh"
29#include "EvtGenBase/EvtMacros.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; }
121 std::vector<std::string>
_names;
**********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
Evt3Rank3C conj(const Evt3Rank3C &t2)
double imag(const EvtComplex &c)
double abs2(const EvtComplex &c)
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
const char * compName(int i) const
EvtAmplitudeSum< T > * _amp
EvtPdfSum< T > * getPC() const
EvtAmplitudeSum< T > * _ampConj
virtual EvtAmpFactory< T > * clone() const =0
std::vector< std::string > _names
virtual void processAmp(EvtComplex c, std::vector< std::string > v, bool conj=false)=0
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