23 #ifndef KFParticleDatabase_H
24 #define KFParticleDatabase_H
56 case 11: pdgIndex = 0;
break;
57 case 13: pdgIndex = 1;
break;
58 case 19: pdgIndex = 1;
break;
59 case 211: pdgIndex = 2;
break;
60 case 321: pdgIndex = 3;
break;
61 case 2212: pdgIndex = 4;
break;
62 case 1000010020: pdgIndex = 5;
break;
63 case 1000010030: pdgIndex = 6;
break;
64 case 1000020030: pdgIndex = 7;
break;
65 case 1000020040: pdgIndex = 8;
break;
66 case 3112: pdgIndex = 9;
break;
67 case 3222: pdgIndex = 10;
break;
68 case 3312: pdgIndex = 11;
break;
69 case 3334: pdgIndex = 12;
break;
70 default: pdgIndex = 2;
break;
73 return fMass[pdgIndex];
82 Vc::int_v pdgIndex(2);
83 pdgIndex(Vc::abs(pdg) == 11) = 0;
84 pdgIndex(Vc::abs(pdg) == 13) = 1;
85 pdgIndex(Vc::abs(pdg) == 19) = 1;
86 pdgIndex(Vc::abs(pdg) == 211) = 2;
87 pdgIndex(Vc::abs(pdg) == 321) = 3;
88 pdgIndex(Vc::abs(pdg) == 2212) = 4;
89 pdgIndex(Vc::abs(pdg) == 1000010020) = 5;
90 pdgIndex(Vc::abs(pdg) == 1000010030) = 6;
91 pdgIndex(Vc::abs(pdg) == 1000020030) = 7;
92 pdgIndex(Vc::abs(pdg) == 1000020040) = 8;
93 pdgIndex(Vc::abs(pdg) == 3112) = 9;
94 pdgIndex(Vc::abs(pdg) == 3222) = 10;
95 pdgIndex(Vc::abs(pdg) == 3312) = 11;
96 pdgIndex(Vc::abs(pdg) == 3334) = 12;
101 void GetMotherMass(
const Vc::int_v&
pdg, Vc::float_v& massMotherPDG, Vc::float_v& massMotherPDGSigma)
const
111 Vc::int_v pdgIndex(0);
112 pdgIndex(pdg == 310) = 0;
113 pdgIndex(Vc::abs(pdg) == 3122) = 1;
114 pdgIndex(Vc::abs(pdg) == 3312) = 2;
115 pdgIndex(pdg == 22) = 3;
116 pdgIndex(Vc::abs(pdg) == 3334) = 4;
117 pdgIndex(Vc::abs(pdg) == 3004) = 5;
118 pdgIndex(Vc::abs(pdg) == 3006) = 6;
119 pdgIndex(Vc::abs(pdg) == 3007) = 7;
138 case 310: pdgIndex = 0;
break;
139 case 3122: pdgIndex = 1;
break;
140 case 3312: pdgIndex = 2;
break;
141 case 22: pdgIndex = 3;
break;
142 case 3334: pdgIndex = 4;
break;
143 case 3004: pdgIndex = 5;
break;
144 case 3006: pdgIndex = 6;
break;
145 case 3007: pdgIndex = 7;
break;
146 default: pdgIndex = 0;
break;