5#ifndef LMVM_SIM_PARAM_H
6#define LMVM_SIM_PARAM_H
16 static Double_t
GetWeight(
const std::string& energy,
const std::string& particle)
20 if (energy ==
"8gev" || energy ==
"12gev") {
22 if (particle ==
"omegaepem" || particle ==
"w")
return 2.28721 * 7.36e-5;
23 if (particle ==
"omegadalitz" || particle ==
"wdalitz")
return 2.28721 * 7.7e-4;
24 if (particle ==
"phi")
return 0.311619 * 2.97e-4;
25 if (particle ==
"inmed" || particle ==
"rho0")
return 0.0304706;
26 if (particle ==
"qgp" || particle ==
"qgp_epem")
return 4.52941e-4;
28 else if (energy ==
"25gev") {
29 if (particle ==
"rho0")
return 23 * 4.7e-5;
30 if (particle ==
"omegaepem" || particle ==
"w")
return 38 * 7.28e-5;
31 if (particle ==
"omegadalitz" || particle ==
"wdalitz")
return 38 * 7.7e-4;
32 if (particle ==
"phi")
return 1.28 * 2.97e-4;
33 if (particle ==
"inmed")
return 4.45e-2;
34 if (particle ==
"qgp" || particle ==
"qgp_epem")
return 1.15e-2;
36 else if (energy ==
"3.5gev") {
37 if (particle ==
"rho0")
return 1.0 * 4.7e-5;
38 if (particle ==
"omegaepem" || particle ==
"w")
return 1.2 * 7.28e-5;
39 if (particle ==
"omegadalitz" || particle ==
"wdalitz")
return 1.2 * 7.7e-5;
40 if (particle ==
"phi")
return 0.1 * 2.97e-4;
42 else if (energy ==
"4.5gev") {
43 if (particle ==
"omegadalitz" || particle ==
"wdalitz")
return 1.2 * 7.7e-5;
44 if (particle ==
"omegaepem" || particle ==
"w")
return 1.2 * 7.28e-6;
45 if (particle ==
"phi")
return 1.2 * 2.97e-6;
46 if (particle ==
"inmed")
return 2.4 * 10e-3;
49 LOG(fatal) <<
"LmvmSimParam::SetEnergyAndParticle energy or particle is not correct, energy:" << energy
50 <<
" particle:" << particle;
static Double_t GetWeight(const std::string &energy, const std::string &particle)