19#ifndef EVT_MULTI_CHANNEL_PARSER
20#define EVT_MULTI_CHANNEL_PARSER
40 void parse(
const char*
file,
const char* model);
41 void parse(
const std::vector<std::string>&
v);
45 static double parseRealCoef(
int& i,
const std::vector<std::string>&
v);
48 inline double pdfMax()
const {
return _pdfMax; }
49 inline int nScan()
const {
return _nScan; }
50 inline double dm()
const {
return _dm; }
52 inline std::vector<std::string>
amp(
int i)
const {
return _amp[i]; }
53 inline std::vector<std::string>
ampConj(
int i)
const {
return _ampConj[i]; }
57 inline int coefFormat(
int i)
const {
return _coefFormat[i]; }
60 inline int getNAmp()
const {
return _amp.size(); }
69 std::vector<std::vector<std::string> > _amp;
70 std::vector<std::vector<std::string> > _ampConj;
71 std::vector<EvtComplex> _ampCoef;
72 std::vector<int> _coefFormat;
73 std::vector<EvtComplex> _ampConjCoef;
74 std::vector<int> _coefConjFormat;
**********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
static EvtDecayMode getDecayMode(const char *file)
void parse(const char *file, const char *model)
int coefConjFormat(int i) const
static void parseComplexCoef(int &i, const std::vector< std::string > &v, EvtComplex &c, int &format)
static bool isKeyword(const std::string &s)
std::vector< std::string > ampConj(int i) const
EvtComplex ampConjCoef(int i) const
std::vector< std::string > amp(int i) const
int coefFormat(int i) const
EvtComplex ampCoef(int i) const
static double parseRealCoef(int &i, const std::vector< std::string > &v)