11 Meson::Meson(
double mass,
double lifetime = 5.e29,
double decayconst = 0.,
12 double lambdaM = 0.,
double gegenalpha1 = 0.,
double gegenalpha2 = 0.)
38 if (
name.compare(
"P_0") == 0) {
39 ModelParamMap.insert(std::make_pair(
"MP0", std::cref(
mass)));
40 ModelParamMap.insert(std::make_pair(
"tP0", std::cref(
lifetime)));
41 ModelParamMap.insert(std::make_pair(
"FP0", std::cref(
decayconst)));
44 if (
name.compare(
"P_P") == 0) {
45 ModelParamMap.insert(std::make_pair(
"MPp", std::cref(
mass)));
46 ModelParamMap.insert(std::make_pair(
"tPp", std::cref(
lifetime)));
47 ModelParamMap.insert(std::make_pair(
"FPp", std::cref(
decayconst)));
50 if (
name.compare(
"K_0") == 0) {
51 ModelParamMap.insert(std::make_pair(
"MK0", std::cref(
mass)));
52 ModelParamMap.insert(std::make_pair(
"tKl", std::cref(
lifetime)));
53 ModelParamMap.insert(std::make_pair(
"FK", std::cref(
decayconst)));
56 if (
name.compare(
"K_P") == 0) {
57 ModelParamMap.insert(std::make_pair(
"MKp", std::cref(
mass)));
58 ModelParamMap.insert(std::make_pair(
"tKp", std::cref(
lifetime)));
59 ModelParamMap.insert(std::make_pair(
"FK", std::cref(
decayconst)));
60 ModelParamMap.insert(std::make_pair(
"alpha1kp", std::cref(
gegenalpha[0])));
61 ModelParamMap.insert(std::make_pair(
"alpha2kp", std::cref(
gegenalpha[1])));
64 if (
name.compare(
"D_0") == 0) {
65 ModelParamMap.insert(std::make_pair(
"MD0", std::cref(
mass)));
66 ModelParamMap.insert(std::make_pair(
"tD0", std::cref(
lifetime)));
67 ModelParamMap.insert(std::make_pair(
"FD", std::cref(
decayconst)));
70 if (
name.compare(
"D_P") == 0) {
71 ModelParamMap.insert(std::make_pair(
"MDP", std::cref(
mass)));
72 ModelParamMap.insert(std::make_pair(
"tDP", std::cref(
lifetime)));
73 ModelParamMap.insert(std::make_pair(
"FDP", std::cref(
decayconst)));
76 if (
name.compare(
"B_D") == 0) {
77 ModelParamMap.insert(std::make_pair(
"MBd", std::cref(
mass)));
78 ModelParamMap.insert(std::make_pair(
"tBd", std::cref(
lifetime)));
79 ModelParamMap.insert(std::make_pair(
"FBd", std::cref(
decayconst)));
80 ModelParamMap.insert(std::make_pair(
"FBsoFBd", std::cref(
FBsoFBd)));
81 ModelParamMap.insert(std::make_pair(
"lambdaB", std::cref(
lambdaM)));
84 if (
name.compare(
"B_P") == 0) {
85 ModelParamMap.insert(std::make_pair(
"MBp", std::cref(
mass)));
86 ModelParamMap.insert(std::make_pair(
"tBp", std::cref(
lifetime)));
87 ModelParamMap.insert(std::make_pair(
"FBp", std::cref(
decayconst)));
88 ModelParamMap.insert(std::make_pair(
"FBsoFBd", std::cref(
FBsoFBd)));
89 ModelParamMap.insert(std::make_pair(
"lambdaB", std::cref(
lambdaM)));
92 if (
name.compare(
"B_S") == 0) {
93 ModelParamMap.insert(std::make_pair(
"MBs", std::cref(
mass)));
94 ModelParamMap.insert(std::make_pair(
"tBs", std::cref(
lifetime)));
95 ModelParamMap.insert(std::make_pair(
"FBs", std::cref(
decayconst)));
96 ModelParamMap.insert(std::make_pair(
"lambdaB", std::cref(
lambdaM)));
97 ModelParamMap.insert(std::make_pair(
"DGs_Gs", std::cref(
Dgamma_gamma)));
100 if (
name.compare(
"B_C") == 0) {
101 ModelParamMap.insert(std::make_pair(
"MBc", std::cref(
mass)));
102 ModelParamMap.insert(std::make_pair(
"tBc", std::cref(
lifetime)));
103 ModelParamMap.insert(std::make_pair(
"FBc", std::cref(
decayconst)));
106 if (
name.compare(
"PHI") == 0) {
107 ModelParamMap.insert(std::make_pair(
"Mphi", std::cref(
mass)));
108 ModelParamMap.insert(std::make_pair(
"tphi", std::cref(
lifetime)));
109 ModelParamMap.insert(std::make_pair(
"Fphi", std::cref(
decayconst)));
110 ModelParamMap.insert(std::make_pair(
"Fphip", std::cref(
decayconst_p)));
111 ModelParamMap.insert(std::make_pair(
"alpha2phi", std::cref(
gegenalpha[1])));
114 if (
name.compare(
"K_star") == 0) {
115 ModelParamMap.insert(std::make_pair(
"MKstar", std::cref(
mass)));
116 ModelParamMap.insert(std::make_pair(
"tKstar", std::cref(
lifetime)));
117 ModelParamMap.insert(std::make_pair(
"FKstar", std::cref(
decayconst)));
118 ModelParamMap.insert(std::make_pair(
"FKstarp", std::cref(
decayconst_p)));
119 ModelParamMap.insert(std::make_pair(
"alpha1kst", std::cref(
gegenalpha[0])));
120 ModelParamMap.insert(std::make_pair(
"alpha2kst", std::cref(
gegenalpha[1])));
123 if (
name.compare(
"K_star_P") == 0) {
124 ModelParamMap.insert(std::make_pair(
"MKstarP", std::cref(
mass)));
125 ModelParamMap.insert(std::make_pair(
"tKstarP", std::cref(
lifetime)));
126 ModelParamMap.insert(std::make_pair(
"FKstar", std::cref(
decayconst)));
127 ModelParamMap.insert(std::make_pair(
"FKstarp", std::cref(
decayconst_p)));
128 ModelParamMap.insert(std::make_pair(
"alpha1kst", std::cref(
gegenalpha[0])));
129 ModelParamMap.insert(std::make_pair(
"alpha2kst", std::cref(
gegenalpha[1])));
132 if (
name.compare(
"D_star_P") == 0) {
133 ModelParamMap.insert(std::make_pair(
"MDstarP", std::cref(
mass)));
134 ModelParamMap.insert(std::make_pair(
"tDstarP", std::cref(
lifetime)));
135 ModelParamMap.insert(std::make_pair(
"FDstarP", std::cref(
decayconst)));
138 if (
name.compare(
"RHO") == 0) {
139 ModelParamMap.insert(std::make_pair(
"Mrho", std::cref(
mass)));
140 ModelParamMap.insert(std::make_pair(
"trho", std::cref(
lifetime)));
141 ModelParamMap.insert(std::make_pair(
"Frho", std::cref(
decayconst)));
144 if (
name.compare(
"RHO_P") == 0) {
145 ModelParamMap.insert(std::make_pair(
"MrhoP", std::cref(
mass)));
146 ModelParamMap.insert(std::make_pair(
"trho", std::cref(
lifetime)));
147 ModelParamMap.insert(std::make_pair(
"Frho", std::cref(
decayconst)));
150 if (
name.compare(
"OMEGA") == 0) {
151 ModelParamMap.insert(std::make_pair(
"Momega", std::cref(
mass)));
152 ModelParamMap.insert(std::make_pair(
"tomega", std::cref(
lifetime)));
153 ModelParamMap.insert(std::make_pair(
"Fomega", std::cref(
decayconst)));
155 }
else throw std::runtime_error(
name +
" is not implemented in Meson class");
163 if (name_i.compare(
"K_P") == 0)
return make_vector<std::string>() <<
"MKp" <<
"tKp" <<
"FK" <<
"alpha1kp" <<
"alpha2kp";
168 if (name_i.compare(
"B_S") == 0)
return make_vector<std::string>() <<
"MBs" <<
"tBs" <<
"FBs" <<
"lambdaB" <<
"DGs_Gs";
170 if (name_i.compare(
"PHI") == 0)
return make_vector<std::string>() <<
"Mphi" <<
"tphi" <<
"Fphi" <<
"Fphip" <<
"alpha2phi";
171 if (name_i.compare(
"K_star") == 0)
return make_vector<std::string>() <<
"MKstar" <<
"tKstar" <<
"FKstar" <<
"FKstarp" <<
"alpha1kst" <<
"alpha2kst";
172 if (name_i.compare(
"K_star_P") == 0)
return make_vector<std::string>() <<
"MKstarP" <<
"tKstar" <<
"FKstar" <<
"FKstarp" <<
"alpha1kst" <<
"alpha2kst";
177 else throw std::runtime_error(name_i +
" is not implemented in Meson class");
182 if (
name.compare(
"P_0") == 0) {
183 if (name_i.compare(
"MP0") == 0) {
187 if (name_i.compare(
"tP0") == 0) {
191 if (name_i.compare(
"FP0") == 0) {
196 if (
name.compare(
"P_P") == 0) {
197 if (name_i.compare(
"MPp") == 0) {
201 if (name_i.compare(
"tPp") == 0) {
205 if (name_i.compare(
"FPp") == 0) {
210 if (
name.compare(
"K_0") == 0) {
211 if (name_i.compare(
"MK0") == 0) {
215 if (name_i.compare(
"tKl") == 0) {
219 if (name_i.compare(
"FK") == 0) {
224 if (
name.compare(
"K_P") == 0) {
225 if (name_i.compare(
"MKp") == 0) {
229 if (name_i.compare(
"tKp") == 0) {
233 if (name_i.compare(
"FK") == 0) {
237 if (name_i.compare(
"alpha1kp") == 0) {
241 if (name_i.compare(
"alpha2kp") == 0) {
246 if (
name.compare(
"D_0") == 0) {
247 if (name_i.compare(
"MD") == 0) {
251 if (name_i.compare(
"tD") == 0) {
255 if (name_i.compare(
"FD") == 0) {
260 if (
name.compare(
"D_P") == 0) {
261 if (name_i.compare(
"MDP") == 0) {
265 if (name_i.compare(
"tDP") == 0) {
269 if (name_i.compare(
"FDP") == 0) {
274 if (
name.compare(
"B_D") == 0) {
275 if (name_i.compare(
"MBd") == 0) {
279 if (name_i.compare(
"tBd") == 0) {
283 if (name_i.compare(
"FBsoFBd") == 0) {
287 if (name_i.compare(
"lambdaB") == 0) {
292 if (
name.compare(
"B_P") == 0) {
293 if (name_i.compare(
"MBp") == 0) {
297 if (name_i.compare(
"tBp") == 0) {
301 if (name_i.compare(
"FBsoFBd") == 0) {
305 if (name_i.compare(
"lambdaB") == 0) {
310 if (
name.compare(
"B_S") == 0) {
311 if (name_i.compare(
"MBs") == 0) {
315 if (name_i.compare(
"tBs") == 0) {
319 if (name_i.compare(
"FBs") == 0) {
323 if (name_i.compare(
"lambdaB") == 0) {
327 if (name_i.compare(
"DGs_Gs") == 0) {
332 if (
name.compare(
"B_C") == 0) {
333 if (name_i.compare(
"MBc") == 0) {
337 if (name_i.compare(
"tBc") == 0) {
341 if (name_i.compare(
"FBc") == 0) {
346 if (
name.compare(
"PHI") == 0) {
347 if (name_i.compare(
"Mphi") == 0) {
351 if (name_i.compare(
"tphi") == 0) {
355 if (name_i.compare(
"Fphi") == 0) {
359 if (name_i.compare(
"Fphip") == 0) {
363 if (name_i.compare(
"alpha2phi") == 0) {
368 if (
name.compare(
"K_star") == 0) {
369 if (name_i.compare(
"MKstar") == 0) {
373 if (name_i.compare(
"tKstar") == 0) {
377 if (name_i.compare(
"FKstar") == 0) {
381 if (name_i.compare(
"FKstarp") == 0) {
385 if (name_i.compare(
"alpha1kst") == 0) {
389 if (name_i.compare(
"alpha2kst") == 0) {
394 if (
name.compare(
"K_star_P") == 0) {
395 if (name_i.compare(
"MKstarP") == 0) {
399 if (name_i.compare(
"tKstar") == 0) {
403 if (name_i.compare(
"FKstar") == 0) {
407 if (name_i.compare(
"FKstarp") == 0) {
411 if (name_i.compare(
"alpha1kst") == 0) {
415 if (name_i.compare(
"alpha2kst") == 0) {
420 if (
name.compare(
"D_star_P") == 0) {
421 if (name_i.compare(
"MDstarP") == 0) {
425 if (name_i.compare(
"tDstarP") == 0) {
429 if (name_i.compare(
"FDstarP") == 0) {
434 if (
name.compare(
"RHO") == 0) {
435 if (name_i.compare(
"Mrho") == 0) {
439 if (name_i.compare(
"trho") == 0) {
443 if (name_i.compare(
"Frho") == 0) {
448 if (
name.compare(
"RHO_P") == 0) {
449 if (name_i.compare(
"MrhoP") == 0) {
453 if (name_i.compare(
"trho") == 0) {
457 if (name_i.compare(
"Frho") == 0) {
462 if (
name.compare(
"OMEGA") == 0) {
463 if (name_i.compare(
"Momega") == 0) {
467 if (name_i.compare(
"tomega") == 0) {
471 if (name_i.compare(
"Fomega") == 0) {