Belle II Software development
GenBplusTag.cc
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8
9#include <analysis/utility/GenBplusTag.h>
10#include <analysis/utility/CheckDecayUtils.h>
11
12using namespace Belle2;
13
14GenBplusTag::GenBplusTag() = default;
15
16bool GenBplusTag::PcheckDecay(std::vector<int>gp, int da1, int da2)
17{
18 int ndau = gp.size();
19 if (ndau == 2) { m_nPhotos = 0; return CheckDecay::CheckDecay(gp, da1, da2);}
20 else if (ndau == 3) { m_nPhotos = 1; return CheckDecay::CheckDecay(gp, da1, da2, 22);}
21 else if (ndau == 4) { m_nPhotos = 2; return CheckDecay::CheckDecay(gp, da1, da2, 22, 22);}
22 else if (ndau == 5) { m_nPhotos = 3; return CheckDecay::CheckDecay(gp, da1, da2, 22, 22, 22);}
23 else if (ndau == 6) { m_nPhotos = 4; return CheckDecay::CheckDecay(gp, da1, da2, 22, 22, 22, 22);}
24 else return false;
25}
26
27bool GenBplusTag::PcheckDecay(std::vector<int>gp, int da1, int da2, int da3)
28{
29 int ndau = gp.size();
30 if (ndau == 3) { m_nPhotos = 0; return CheckDecay::CheckDecay(gp, da1, da2, da3);}
31 else if (ndau == 4) { m_nPhotos = 1; return CheckDecay::CheckDecay(gp, da1, da2, da3, 22);}
32 else if (ndau == 5) { m_nPhotos = 2; return CheckDecay::CheckDecay(gp, da1, da2, da3, 22, 22);}
33 else if (ndau == 6) { m_nPhotos = 3; return CheckDecay::CheckDecay(gp, da1, da2, da3, 22, 22, 22);}
34 else if (ndau == 7) { m_nPhotos = 4; return CheckDecay::CheckDecay(gp, da1, da2, da3, 22, 22, 22, 22);}
35 else return false;
36}
37
38bool GenBplusTag::PcheckDecay(std::vector<int>gp, int da1, int da2, int da3, int da4)
39{
40 int ndau = gp.size();
41 if (ndau == 4) { m_nPhotos = 0; return CheckDecay::CheckDecay(gp, da1, da2, da3, da4);}
42 else if (ndau == 5) { m_nPhotos = 1; return CheckDecay::CheckDecay(gp, da1, da2, da3, da4, 22);}
43 else if (ndau == 6) { m_nPhotos = 2; return CheckDecay::CheckDecay(gp, da1, da2, da3, da4, 22, 22);}
44 else if (ndau == 7) { m_nPhotos = 3; return CheckDecay::CheckDecay(gp, da1, da2, da3, da4, 22, 22, 22);}
45 else if (ndau == 8) { m_nPhotos = 4; return CheckDecay::CheckDecay(gp, da1, da2, da3, da4, 22, 22, 22, 22);}
46 else return false;
47}
48
49bool GenBplusTag::PcheckDecay(std::vector<int>gp, int da1, int da2, int da3, int da4, int da5)
50{
51 int ndau = gp.size();
52 if (ndau == 5) { m_nPhotos = 0; return CheckDecay::CheckDecay(gp, da1, da2, da3, da4, da5);}
53 else if (ndau == 6) { m_nPhotos = 1; return CheckDecay::CheckDecay(gp, da1, da2, da3, da4, da5, 22);}
54 else if (ndau == 7) { m_nPhotos = 2; return CheckDecay::CheckDecay(gp, da1, da2, da3, da4, da5, 22, 22);}
55 else if (ndau == 8) { m_nPhotos = 3; return CheckDecay::CheckDecay(gp, da1, da2, da3, da4, da5, 22, 22, 22);}
56 else if (ndau == 9) { m_nPhotos = 4; return CheckDecay::CheckDecay(gp, da1, da2, da3, da4, da5, 22, 22, 22, 22);}
57 else return false;
58}
59
60bool GenBplusTag::PcheckDecay(std::vector<int>gp, int da1, int da2, int da3, int da4, int da5, int da6)
61{
62 int ndau = gp.size();
63 if (ndau == 6) { m_nPhotos = 0; return CheckDecay::CheckDecay(gp, da1, da2, da3, da4, da5, da6);}
64 else if (ndau == 7) { m_nPhotos = 1; return CheckDecay::CheckDecay(gp, da1, da2, da3, da4, da5, da6, 22);}
65 else if (ndau == 8) { m_nPhotos = 2; return CheckDecay::CheckDecay(gp, da1, da2, da3, da4, da5, da6, 22, 22);}
66 else if (ndau == 9) { m_nPhotos = 3; return CheckDecay::CheckDecay(gp, da1, da2, da3, da4, da5, da6, 22, 22, 22);}
67 else if (ndau == 10) { m_nPhotos = 4; return CheckDecay::CheckDecay(gp, da1, da2, da3, da4, da5, da6, 22, 22, 22, 22);}
68 else return false;
69}
70
71bool GenBplusTag::PcheckDecay(std::vector<int>gp, int da1, int da2, int da3, int da4, int da5, int da6, int da7)
72{
73 int ndau = gp.size();
74 if (ndau == 7) { m_nPhotos = 0; return CheckDecay::CheckDecay(gp, da1, da2, da3, da4, da5, da6, da7);}
75 else if (ndau == 8) { m_nPhotos = 1; return CheckDecay::CheckDecay(gp, da1, da2, da3, da4, da5, da6, da7, 22);}
76 else if (ndau == 9) { m_nPhotos = 2; return CheckDecay::CheckDecay(gp, da1, da2, da3, da4, da5, da6, da7, 22, 22);}
77 else if (ndau == 10) { m_nPhotos = 3; return CheckDecay::CheckDecay(gp, da1, da2, da3, da4, da5, da6, da7, 22, 22, 22);}
78 else if (ndau == 11) { m_nPhotos = 4; return CheckDecay::CheckDecay(gp, da1, da2, da3, da4, da5, da6, da7, 22, 22, 22, 22);}
79 else return false;
80}
81
82bool GenBplusTag::PcheckDecay(std::vector<int>gp, int da1, int da2, int da3, int da4, int da5, int da6, int da7, int da8)
83{
84 int ndau = gp.size();
85 if (ndau == 8) { m_nPhotos = 0; return CheckDecay::CheckDecay(gp, da1, da2, da3, da4, da5, da6, da7, da8);}
86 else if (ndau == 9) { m_nPhotos = 1; return CheckDecay::CheckDecay(gp, da1, da2, da3, da4, da5, da6, da7, da8, 22);}
87 else if (ndau == 10) { m_nPhotos = 2; return CheckDecay::CheckDecay(gp, da1, da2, da3, da4, da5, da6, da7, da8, 22, 22);}
88 else if (ndau == 11) { m_nPhotos = 3; return CheckDecay::CheckDecay(gp, da1, da2, da3, da4, da5, da6, da7, da8, 22, 22, 22);}
89 else if (ndau == 12) { m_nPhotos = 4; return CheckDecay::CheckDecay(gp, da1, da2, da3, da4, da5, da6, da7, da8, 22, 22, 22, 22);}
90 else return false;
91}
92
93//All the tag number for various decay mode is defined here
94
95int GenBplusTag::Mode_B_plus(std::vector<int>genpart)
96{
97 if (GenBplusTag::PcheckDecay(genpart, -423, -11, 12)) {
98 return +1 * (100000 * m_nPhotos + 1001);
99 }//B+ decays to anti-D*0 e+ nu_e
100 if (GenBplusTag::PcheckDecay(genpart, -421, -11, 12)) {
101 return +1 * (100000 * m_nPhotos + 1002);
102 }//B+ decays to anti-D0 e+ nu_e
103 if (GenBplusTag::PcheckDecay(genpart, -10423, -11, 12)) {
104 return +1 * (100000 * m_nPhotos + 1003);
105 }//B+ decays to anti-D_10 e+ nu_e
106 if (GenBplusTag::PcheckDecay(genpart, -10421, -11, 12)) {
107 return +1 * (100000 * m_nPhotos + 1004);
108 }//B+ decays to anti-D_0*0 e+ nu_e
109 if (GenBplusTag::PcheckDecay(genpart, -20423, -11, 12)) {
110 return +1 * (100000 * m_nPhotos + 1005);
111 }//B+ decays to anti-D'_10 e+ nu_e
112 if (GenBplusTag::PcheckDecay(genpart, -425, -11, 12)) {
113 return +1 * (100000 * m_nPhotos + 1006);
114 }//B+ decays to anti-D_2*0 e+ nu_e
115 if (GenBplusTag::PcheckDecay(genpart, -413, 211, -11, 12)) {
116 return +1 * (100000 * m_nPhotos + 1007);
117 }//B+ decays to D*- pi+ e+ nu_e
118 if (GenBplusTag::PcheckDecay(genpart, -423, 111, -11, 12)) {
119 return +1 * (100000 * m_nPhotos + 1008);
120 }//B+ decays to anti-D*0 pi0 e+ nu_e
121 if (GenBplusTag::PcheckDecay(genpart, -411, 211, -11, 12)) {
122 return +1 * (100000 * m_nPhotos + 1009);
123 }//B+ decays to D- pi+ e+ nu_e
124 if (GenBplusTag::PcheckDecay(genpart, -421, 111, -11, 12)) {
125 return +1 * (100000 * m_nPhotos + 1010);
126 }//B+ decays to anti-D0 pi0 e+ nu_e
127 if (GenBplusTag::PcheckDecay(genpart, -421, 211, -211, -11, 12)) {
128 return +1 * (100000 * m_nPhotos + 1011);
129 }//B+ decays to anti-D0 pi+ pi- e+ nu_e
130 if (GenBplusTag::PcheckDecay(genpart, -411, 211, 111, -11, 12)) {
131 return +1 * (100000 * m_nPhotos + 1012);
132 }//B+ decays to D- pi+ pi0 e+ nu_e
133 if (GenBplusTag::PcheckDecay(genpart, -421, 111, 111, -11, 12)) {
134 return +1 * (100000 * m_nPhotos + 1013);
135 }//B+ decays to anti-D0 pi0 pi0 e+ nu_e
136 if (GenBplusTag::PcheckDecay(genpart, -423, 211, -211, -11, 12)) {
137 return +1 * (100000 * m_nPhotos + 1014);
138 }//B+ decays to anti-D*0 pi+ pi- e+ nu_e
139 if (GenBplusTag::PcheckDecay(genpart, -413, 211, 111, -11, 12)) {
140 return +1 * (100000 * m_nPhotos + 1015);
141 }//B+ decays to D*- pi+ pi0 e+ nu_e
142 if (GenBplusTag::PcheckDecay(genpart, -423, 111, 111, -11, 12)) {
143 return +1 * (100000 * m_nPhotos + 1016);
144 }//B+ decays to anti-D*0 pi0 pi0 e+ nu_e
145 if (GenBplusTag::PcheckDecay(genpart, -433, 321, -11, 12)) {
146 return +1 * (100000 * m_nPhotos + 1017);
147 }//B+ decays to D_s*- K+ e+ nu_e
148 if (GenBplusTag::PcheckDecay(genpart, -431, 321, -11, 12)) {
149 return +1 * (100000 * m_nPhotos + 1018);
150 }//B+ decays to D_s- K+ e+ nu_e
151 if (GenBplusTag::PcheckDecay(genpart, -421, 221, -11, 12)) {
152 return +1 * (100000 * m_nPhotos + 1019);
153 }//B+ decays to anti-D0 eta e+ nu_e
154 if (GenBplusTag::PcheckDecay(genpart, -423, 221, -11, 12)) {
155 return +1 * (100000 * m_nPhotos + 1020);
156 }//B+ decays to anti-D*0 eta e+ nu_e
157 if (GenBplusTag::PcheckDecay(genpart, -423, -13, 14)) {
158 return +1 * (100000 * m_nPhotos + 1021);
159 }//B+ decays to anti-D*0 mu+ nu_mu
160 if (GenBplusTag::PcheckDecay(genpart, -421, -13, 14)) {
161 return +1 * (100000 * m_nPhotos + 1022);
162 }//B+ decays to anti-D0 mu+ nu_mu
163 if (GenBplusTag::PcheckDecay(genpart, -10423, -13, 14)) {
164 return +1 * (100000 * m_nPhotos + 1023);
165 }//B+ decays to anti-D_10 mu+ nu_mu
166 if (GenBplusTag::PcheckDecay(genpart, -10421, -13, 14)) {
167 return +1 * (100000 * m_nPhotos + 1024);
168 }//B+ decays to anti-D_0*0 mu+ nu_mu
169 if (GenBplusTag::PcheckDecay(genpart, -20423, -13, 14)) {
170 return +1 * (100000 * m_nPhotos + 1025);
171 }//B+ decays to anti-D'_10 mu+ nu_mu
172 if (GenBplusTag::PcheckDecay(genpart, -425, -13, 14)) {
173 return +1 * (100000 * m_nPhotos + 1026);
174 }//B+ decays to anti-D_2*0 mu+ nu_mu
175 if (GenBplusTag::PcheckDecay(genpart, -413, 211, -13, 14)) {
176 return +1 * (100000 * m_nPhotos + 1027);
177 }//B+ decays to D*- pi+ mu+ nu_mu
178 if (GenBplusTag::PcheckDecay(genpart, -423, 111, -13, 14)) {
179 return +1 * (100000 * m_nPhotos + 1028);
180 }//B+ decays to anti-D*0 pi0 mu+ nu_mu
181 if (GenBplusTag::PcheckDecay(genpart, -411, 211, -13, 14)) {
182 return +1 * (100000 * m_nPhotos + 1029);
183 }//B+ decays to D- pi+ mu+ nu_mu
184 if (GenBplusTag::PcheckDecay(genpart, -421, 111, -13, 14)) {
185 return +1 * (100000 * m_nPhotos + 1030);
186 }//B+ decays to anti-D0 pi0 mu+ nu_mu
187 if (GenBplusTag::PcheckDecay(genpart, -421, 211, -211, -13, 14)) {
188 return +1 * (100000 * m_nPhotos + 1031);
189 }//B+ decays to anti-D0 pi+ pi- mu+ nu_mu
190 if (GenBplusTag::PcheckDecay(genpart, -411, 211, 111, -13, 14)) {
191 return +1 * (100000 * m_nPhotos + 1032);
192 }//B+ decays to D- pi+ pi0 mu+ nu_mu
193 if (GenBplusTag::PcheckDecay(genpart, -421, 111, 111, -13, 14)) {
194 return +1 * (100000 * m_nPhotos + 1033);
195 }//B+ decays to anti-D0 pi0 pi0 mu+ nu_mu
196 if (GenBplusTag::PcheckDecay(genpart, -423, 211, -211, -13, 14)) {
197 return +1 * (100000 * m_nPhotos + 1034);
198 }//B+ decays to anti-D*0 pi+ pi- mu+ nu_mu
199 if (GenBplusTag::PcheckDecay(genpart, -413, 211, 111, -13, 14)) {
200 return +1 * (100000 * m_nPhotos + 1035);
201 }//B+ decays to D*- pi+ pi0 mu+ nu_mu
202 if (GenBplusTag::PcheckDecay(genpart, -423, 111, 111, -13, 14)) {
203 return +1 * (100000 * m_nPhotos + 1036);
204 }//B+ decays to anti-D*0 pi0 pi0 mu+ nu_mu
205 if (GenBplusTag::PcheckDecay(genpart, -433, 321, -13, 14)) {
206 return +1 * (100000 * m_nPhotos + 1037);
207 }//B+ decays to D_s*- K+ mu+ nu_mu
208 if (GenBplusTag::PcheckDecay(genpart, -431, 321, -13, 14)) {
209 return +1 * (100000 * m_nPhotos + 1038);
210 }//B+ decays to D_s- K+ mu+ nu_mu
211 if (GenBplusTag::PcheckDecay(genpart, -421, 221, -13, 14)) {
212 return +1 * (100000 * m_nPhotos + 1039);
213 }//B+ decays to anti-D0 eta mu+ nu_mu
214 if (GenBplusTag::PcheckDecay(genpart, -423, 221, -13, 14)) {
215 return +1 * (100000 * m_nPhotos + 1040);
216 }//B+ decays to anti-D*0 eta mu+ nu_mu
217 if (GenBplusTag::PcheckDecay(genpart, -423, -15, 16)) {
218 return +1 * (100000 * m_nPhotos + 1041);
219 }//B+ decays to anti-D*0 tau+ nu_tau
220 if (GenBplusTag::PcheckDecay(genpart, -421, -15, 16)) {
221 return +1 * (100000 * m_nPhotos + 1042);
222 }//B+ decays to anti-D0 tau+ nu_tau
223 if (GenBplusTag::PcheckDecay(genpart, -10423, -15, 16)) {
224 return +1 * (100000 * m_nPhotos + 1043);
225 }//B+ decays to anti-D_10 tau+ nu_tau
226 if (GenBplusTag::PcheckDecay(genpart, -10421, -15, 16)) {
227 return +1 * (100000 * m_nPhotos + 1044);
228 }//B+ decays to anti-D_0*0 tau+ nu_tau
229 if (GenBplusTag::PcheckDecay(genpart, -20423, -15, 16)) {
230 return +1 * (100000 * m_nPhotos + 1045);
231 }//B+ decays to anti-D'_10 tau+ nu_tau
232 if (GenBplusTag::PcheckDecay(genpart, -425, -15, 16)) {
233 return +1 * (100000 * m_nPhotos + 1046);
234 }//B+ decays to anti-D_2*0 tau+ nu_tau
235 if (GenBplusTag::PcheckDecay(genpart, 111, -11, 12)) {
236 return +1 * (100000 * m_nPhotos + 1047);
237 }//B+ decays to pi0 e+ nu_e
238 if (GenBplusTag::PcheckDecay(genpart, 221, -11, 12)) {
239 return +1 * (100000 * m_nPhotos + 1048);
240 }//B+ decays to eta e+ nu_e
241 if (GenBplusTag::PcheckDecay(genpart, 113, -11, 12)) {
242 return +1 * (100000 * m_nPhotos + 1049);
243 }//B+ decays to rho0 e+ nu_e
244 if (GenBplusTag::PcheckDecay(genpart, 223, -11, 12)) {
245 return +1 * (100000 * m_nPhotos + 1050);
246 }//B+ decays to omega e+ nu_e
247 if (GenBplusTag::PcheckDecay(genpart, 331, -11, 12)) {
248 return +1 * (100000 * m_nPhotos + 1051);
249 }//B+ decays to eta' e+ nu_e
250 if (GenBplusTag::PcheckDecay(genpart, -100421, -11, 12)) {
251 return +1 * (100000 * m_nPhotos + 1052);
252 }//B+ decays to anti-D(2S)0 e+ nu_e
253 if (GenBplusTag::PcheckDecay(genpart, -100423, -11, 12)) {
254 return +1 * (100000 * m_nPhotos + 1053);
255 }//B+ decays to anti-D*(2S)0 e+ nu_e
256 if (GenBplusTag::PcheckDecay(genpart, 61, -11, 12)) {
257 return +1 * (100000 * m_nPhotos + 1054);
258 }//B+ decays to Xu0 e+ nu_e
259 if (GenBplusTag::PcheckDecay(genpart, 111, -13, 14)) {
260 return +1 * (100000 * m_nPhotos + 1055);
261 }//B+ decays to pi0 mu+ nu_mu
262 if (GenBplusTag::PcheckDecay(genpart, 221, -13, 14)) {
263 return +1 * (100000 * m_nPhotos + 1056);
264 }//B+ decays to eta mu+ nu_mu
265 if (GenBplusTag::PcheckDecay(genpart, 113, -13, 14)) {
266 return +1 * (100000 * m_nPhotos + 1057);
267 }//B+ decays to rho0 mu+ nu_mu
268 if (GenBplusTag::PcheckDecay(genpart, 223, -13, 14)) {
269 return +1 * (100000 * m_nPhotos + 1058);
270 }//B+ decays to omega mu+ nu_mu
271 if (GenBplusTag::PcheckDecay(genpart, 331, -13, 14)) {
272 return +1 * (100000 * m_nPhotos + 1059);
273 }//B+ decays to eta' mu+ nu_mu
274 if (GenBplusTag::PcheckDecay(genpart, -100421, -13, 14)) {
275 return +1 * (100000 * m_nPhotos + 1060);
276 }//B+ decays to anti-D(2S)0 mu+ nu_mu
277 if (GenBplusTag::PcheckDecay(genpart, -100423, -13, 14)) {
278 return +1 * (100000 * m_nPhotos + 1061);
279 }//B+ decays to anti-D*(2S)0 mu+ nu_mu
280 if (GenBplusTag::PcheckDecay(genpart, 61, -13, 14)) {
281 return +1 * (100000 * m_nPhotos + 1062);
282 }//B+ decays to Xu0 mu+ nu_mu
283 if (GenBplusTag::PcheckDecay(genpart, 111, -15, 16)) {
284 return +1 * (100000 * m_nPhotos + 1063);
285 }//B+ decays to pi0 tau+ nu_tau
286 if (GenBplusTag::PcheckDecay(genpart, 221, -15, 16)) {
287 return +1 * (100000 * m_nPhotos + 1064);
288 }//B+ decays to eta tau+ nu_tau
289 if (GenBplusTag::PcheckDecay(genpart, 113, -15, 16)) {
290 return +1 * (100000 * m_nPhotos + 1065);
291 }//B+ decays to rho0 tau+ nu_tau
292 if (GenBplusTag::PcheckDecay(genpart, 223, -15, 16)) {
293 return +1 * (100000 * m_nPhotos + 1066);
294 }//B+ decays to omega tau+ nu_tau
295 if (GenBplusTag::PcheckDecay(genpart, 331, -15, 16)) {
296 return +1 * (100000 * m_nPhotos + 1067);
297 }//B+ decays to eta' tau+ nu_tau
298 if (GenBplusTag::PcheckDecay(genpart, 20113, -15, 16)) {
299 return +1 * (100000 * m_nPhotos + 1068);
300 }//B+ decays to a_10 tau+ nu_tau
301 if (GenBplusTag::PcheckDecay(genpart, 10113, -15, 16)) {
302 return +1 * (100000 * m_nPhotos + 1069);
303 }//B+ decays to b_10 tau+ nu_tau
304 if (GenBplusTag::PcheckDecay(genpart, 10111, -15, 16)) {
305 return +1 * (100000 * m_nPhotos + 1070);
306 }//B+ decays to a_00 tau+ nu_tau
307 if (GenBplusTag::PcheckDecay(genpart, 10221, -15, 16)) {
308 return +1 * (100000 * m_nPhotos + 1071);
309 }//B+ decays to f_0 tau+ nu_tau
310 if (GenBplusTag::PcheckDecay(genpart, 10331, -15, 16)) {
311 return +1 * (100000 * m_nPhotos + 1072);
312 }//B+ decays to f'_0 tau+ nu_tau
313 if (GenBplusTag::PcheckDecay(genpart, 20223, -15, 16)) {
314 return +1 * (100000 * m_nPhotos + 1073);
315 }//B+ decays to f_1 tau+ nu_tau
316 if (GenBplusTag::PcheckDecay(genpart, 20333, -15, 16)) {
317 return +1 * (100000 * m_nPhotos + 1074);
318 }//B+ decays to f'_1 tau+ nu_tau
319 if (GenBplusTag::PcheckDecay(genpart, 10223, -15, 16)) {
320 return +1 * (100000 * m_nPhotos + 1075);
321 }//B+ decays to h_1 tau+ nu_tau
322 if (GenBplusTag::PcheckDecay(genpart, 10333, -15, 16)) {
323 return +1 * (100000 * m_nPhotos + 1076);
324 }//B+ decays to h'_1 tau+ nu_tau
325 if (GenBplusTag::PcheckDecay(genpart, 225, -15, 16)) {
326 return +1 * (100000 * m_nPhotos + 1077);
327 }//B+ decays to f_2 tau+ nu_tau
328 if (GenBplusTag::PcheckDecay(genpart, 335, -15, 16)) {
329 return +1 * (100000 * m_nPhotos + 1078);
330 }//B+ decays to f'_2 tau+ nu_tau
331 if (GenBplusTag::PcheckDecay(genpart, -100421, -15, 16)) {
332 return +1 * (100000 * m_nPhotos + 1079);
333 }//B+ decays to anti-D(2S)0 tau+ nu_tau
334 if (GenBplusTag::PcheckDecay(genpart, -100423, -15, 16)) {
335 return +1 * (100000 * m_nPhotos + 1080);
336 }//B+ decays to anti-D*(2S)0 tau+ nu_tau
337 if (GenBplusTag::PcheckDecay(genpart, 431, 111)) {
338 return +1 * (100000 * m_nPhotos + 1081);
339 }//B+ decays to D_s+ pi0
340 if (GenBplusTag::PcheckDecay(genpart, 433, 111)) {
341 return +1 * (100000 * m_nPhotos + 1082);
342 }//B+ decays to D_s*+ pi0
343 if (GenBplusTag::PcheckDecay(genpart, 113, 431)) {
344 return +1 * (100000 * m_nPhotos + 1083);
345 }//B+ decays to rho0 D_s+
346 if (GenBplusTag::PcheckDecay(genpart, 433, 113)) {
347 return +1 * (100000 * m_nPhotos + 1084);
348 }//B+ decays to D_s*+ rho0
349 if (GenBplusTag::PcheckDecay(genpart, 323, 22)) {
350 return +1 * (100000 * m_nPhotos + 1085);
351 }//B+ decays to K*+ gamma
352 if (GenBplusTag::PcheckDecay(genpart, 10323, 22)) {
353 return +1 * (100000 * m_nPhotos + 1086);
354 }//B+ decays to K_1+ gamma
355 if (GenBplusTag::PcheckDecay(genpart, 325, 22)) {
356 return +1 * (100000 * m_nPhotos + 1087);
357 }//B+ decays to K_2*+ gamma
358 if (GenBplusTag::PcheckDecay(genpart, 213, 22)) {
359 return +1 * (100000 * m_nPhotos + 1088);
360 }//B+ decays to rho+ gamma
361 if (GenBplusTag::PcheckDecay(genpart, 20323, 22)) {
362 return +1 * (100000 * m_nPhotos + 1089);
363 }//B+ decays to K'_1+ gamma
364 if (GenBplusTag::PcheckDecay(genpart, 100323, 22)) {
365 return +1 * (100000 * m_nPhotos + 1090);
366 }//B+ decays to K'*+ gamma
367 if (GenBplusTag::PcheckDecay(genpart, 30323, 22)) {
368 return +1 * (100000 * m_nPhotos + 1091);
369 }//B+ decays to K''*+ gamma
370 if (GenBplusTag::PcheckDecay(genpart, 30353, 22)) {
371 return +1 * (100000 * m_nPhotos + 1092);
372 }//B+ decays to Xsu gamma
373 if (GenBplusTag::PcheckDecay(genpart, 321, -11, 11)) {
374 return +1 * (100000 * m_nPhotos + 1093);
375 }//B+ decays to K+ e+ e-
376 if (GenBplusTag::PcheckDecay(genpart, 211, -11, 11)) {
377 return +1 * (100000 * m_nPhotos + 1094);
378 }//B+ decays to pi+ e+ e-
379 if (GenBplusTag::PcheckDecay(genpart, 323, -11, 11)) {
380 return +1 * (100000 * m_nPhotos + 1095);
381 }//B+ decays to K*+ e+ e-
382 if (GenBplusTag::PcheckDecay(genpart, 321, 211, -211, -11, 11)) {
383 return +1 * (100000 * m_nPhotos + 1096);
384 }//B+ decays to K+ pi+ pi- e+ e-
385 if (GenBplusTag::PcheckDecay(genpart, 321, 111, 111, -11, 11)) {
386 return +1 * (100000 * m_nPhotos + 1097);
387 }//B+ decays to K+ pi0 pi0 e+ e-
388 if (GenBplusTag::PcheckDecay(genpart, 321, 333, -11, 11)) {
389 return +1 * (100000 * m_nPhotos + 1098);
390 }//B+ decays to K+ phi e+ e-
391 if (GenBplusTag::PcheckDecay(genpart, 30353, -11, 11)) {
392 return +1 * (100000 * m_nPhotos + 1099);
393 }//B+ decays to Xsu e+ e-
394 if (GenBplusTag::PcheckDecay(genpart, 321, -13, 13)) {
395 return +1 * (100000 * m_nPhotos + 1100);
396 }//B+ decays to K+ mu+ mu-
397 if (GenBplusTag::PcheckDecay(genpart, 211, -13, 13)) {
398 return +1 * (100000 * m_nPhotos + 1101);
399 }//B+ decays to pi+ mu+ mu-
400 if (GenBplusTag::PcheckDecay(genpart, 323, -13, 13)) {
401 return +1 * (100000 * m_nPhotos + 1102);
402 }//B+ decays to K*+ mu+ mu-
403 if (GenBplusTag::PcheckDecay(genpart, 321, 211, -211, -13, 13)) {
404 return +1 * (100000 * m_nPhotos + 1103);
405 }//B+ decays to K+ pi+ pi- mu+ mu-
406 if (GenBplusTag::PcheckDecay(genpart, 321, 111, 111, -13, 13)) {
407 return +1 * (100000 * m_nPhotos + 1104);
408 }//B+ decays to K+ pi0 pi0 mu+ mu-
409 if (GenBplusTag::PcheckDecay(genpart, 321, 333, -13, 13)) {
410 return +1 * (100000 * m_nPhotos + 1105);
411 }//B+ decays to K+ phi mu+ mu-
412 if (GenBplusTag::PcheckDecay(genpart, 30353, -13, 13)) {
413 return +1 * (100000 * m_nPhotos + 1106);
414 }//B+ decays to Xsu mu+ mu-
415 if (GenBplusTag::PcheckDecay(genpart, 321, -15, 15)) {
416 return +1 * (100000 * m_nPhotos + 1107);
417 }//B+ decays to K+ tau+ tau-
418 if (GenBplusTag::PcheckDecay(genpart, 323, -15, 15)) {
419 return +1 * (100000 * m_nPhotos + 1108);
420 }//B+ decays to K*+ tau+ tau-
421 if (GenBplusTag::PcheckDecay(genpart, 30353, -15, 15)) {
422 return +1 * (100000 * m_nPhotos + 1109);
423 }//B+ decays to Xsu tau+ tau-
424 if (GenBplusTag::PcheckDecay(genpart, -15, 16)) {
425 return +1 * (100000 * m_nPhotos + 1110);
426 }//B+ decays to tau+ nu_tau
427 if (GenBplusTag::PcheckDecay(genpart, -13, 14)) {
428 return +1 * (100000 * m_nPhotos + 1111);
429 }//B+ decays to mu+ nu_mu
430 if (GenBplusTag::PcheckDecay(genpart, -11, 12)) {
431 return +1 * (100000 * m_nPhotos + 1112);
432 }//B+ decays to e+ nu_e
433 if (GenBplusTag::PcheckDecay(genpart, 211, 111, 111)) {
434 return +1 * (100000 * m_nPhotos + 1113);
435 }//B+ decays to pi+ pi0 pi0
436 if (GenBplusTag::PcheckDecay(genpart, 211, 211, -211)) {
437 return +1 * (100000 * m_nPhotos + 1114);
438 }//B+ decays to pi+ pi+ pi-
439 if (GenBplusTag::PcheckDecay(genpart, 221, 211)) {
440 return +1 * (100000 * m_nPhotos + 1115);
441 }//B+ decays to eta pi+
442 if (GenBplusTag::PcheckDecay(genpart, 221, 321)) {
443 return +1 * (100000 * m_nPhotos + 1116);
444 }//B+ decays to eta K+
445 if (GenBplusTag::PcheckDecay(genpart, 323, 221)) {
446 return +1 * (100000 * m_nPhotos + 1117);
447 }//B+ decays to K*+ eta
448 if (GenBplusTag::PcheckDecay(genpart, 213, 221)) {
449 return +1 * (100000 * m_nPhotos + 1118);
450 }//B+ decays to rho+ eta
451 if (GenBplusTag::PcheckDecay(genpart, 331, 211)) {
452 return +1 * (100000 * m_nPhotos + 1119);
453 }//B+ decays to eta' pi+
454 if (GenBplusTag::PcheckDecay(genpart, 331, 321)) {
455 return +1 * (100000 * m_nPhotos + 1120);
456 }//B+ decays to eta' K+
457 if (GenBplusTag::PcheckDecay(genpart, 323, 331)) {
458 return +1 * (100000 * m_nPhotos + 1121);
459 }//B+ decays to K*+ eta'
460 if (GenBplusTag::PcheckDecay(genpart, 213, 331)) {
461 return +1 * (100000 * m_nPhotos + 1122);
462 }//B+ decays to rho+ eta'
463 if (GenBplusTag::PcheckDecay(genpart, 223, 211)) {
464 return +1 * (100000 * m_nPhotos + 1123);
465 }//B+ decays to omega pi+
466 if (GenBplusTag::PcheckDecay(genpart, 223, 321)) {
467 return +1 * (100000 * m_nPhotos + 1124);
468 }//B+ decays to omega K+
469 if (GenBplusTag::PcheckDecay(genpart, 223, 323)) {
470 return +1 * (100000 * m_nPhotos + 1125);
471 }//B+ decays to omega K*+
472 if (GenBplusTag::PcheckDecay(genpart, 223, 213)) {
473 return +1 * (100000 * m_nPhotos + 1126);
474 }//B+ decays to omega rho+
475 if (GenBplusTag::PcheckDecay(genpart, 333, 211)) {
476 return +1 * (100000 * m_nPhotos + 1127);
477 }//B+ decays to phi pi+
478 if (GenBplusTag::PcheckDecay(genpart, 333, 321)) {
479 return +1 * (100000 * m_nPhotos + 1128);
480 }//B+ decays to phi K+
481 if (GenBplusTag::PcheckDecay(genpart, 311, 211)) {
482 return +1 * (100000 * m_nPhotos + 1129);
483 }//B+ decays to K0 pi+
484 if (GenBplusTag::PcheckDecay(genpart, 310, 211)) {
485 return +1 * (100000 * m_nPhotos + 1130);
486 }//B+ decays to K_S0 pi+
487 if (GenBplusTag::PcheckDecay(genpart, 130, 211)) {
488 return +1 * (100000 * m_nPhotos + 1131);
489 }//B+ decays to K_L0 pi+
490 if (GenBplusTag::PcheckDecay(genpart, -311, 321)) {
491 return +1 * (100000 * m_nPhotos + 1132);
492 }//B+ decays to anti-K0 K+
493 if (GenBplusTag::PcheckDecay(genpart, 211, 111)) {
494 return +1 * (100000 * m_nPhotos + 1133);
495 }//B+ decays to pi+ pi0
496 if (GenBplusTag::PcheckDecay(genpart, 321, 111)) {
497 return +1 * (100000 * m_nPhotos + 1134);
498 }//B+ decays to K+ pi0
499 if (GenBplusTag::PcheckDecay(genpart, 113, 211)) {
500 return +1 * (100000 * m_nPhotos + 1135);
501 }//B+ decays to rho0 pi+
502 if (GenBplusTag::PcheckDecay(genpart, 113, 321)) {
503 return +1 * (100000 * m_nPhotos + 1136);
504 }//B+ decays to rho0 K+
505 if (GenBplusTag::PcheckDecay(genpart, 213, 111)) {
506 return +1 * (100000 * m_nPhotos + 1137);
507 }//B+ decays to rho+ pi0
508 if (GenBplusTag::PcheckDecay(genpart, 213, 311)) {
509 return +1 * (100000 * m_nPhotos + 1138);
510 }//B+ decays to rho+ K0
511 if (GenBplusTag::PcheckDecay(genpart, 100113, 211)) {
512 return +1 * (100000 * m_nPhotos + 1139);
513 }//B+ decays to rho(2S)0 pi+
514 if (GenBplusTag::PcheckDecay(genpart, 100113, 321)) {
515 return +1 * (100000 * m_nPhotos + 1140);
516 }//B+ decays to rho(2S)0 K+
517 if (GenBplusTag::PcheckDecay(genpart, 10221, 211)) {
518 return +1 * (100000 * m_nPhotos + 1141);
519 }//B+ decays to f_0 pi+
520 if (GenBplusTag::PcheckDecay(genpart, 10221, 321)) {
521 return +1 * (100000 * m_nPhotos + 1142);
522 }//B+ decays to f_0 K+
523 if (GenBplusTag::PcheckDecay(genpart, 10211, 311)) {
524 return +1 * (100000 * m_nPhotos + 1143);
525 }//B+ decays to a_0+ K0
526 if (GenBplusTag::PcheckDecay(genpart, 10111, 321)) {
527 return +1 * (100000 * m_nPhotos + 1144);
528 }//B+ decays to a_00 K+
529 if (GenBplusTag::PcheckDecay(genpart, 10111, 211)) {
530 return +1 * (100000 * m_nPhotos + 1145);
531 }//B+ decays to a_00 pi+
532 if (GenBplusTag::PcheckDecay(genpart, 10211, 111)) {
533 return +1 * (100000 * m_nPhotos + 1146);
534 }//B+ decays to a_0+ pi0
535 if (GenBplusTag::PcheckDecay(genpart, 225, 211)) {
536 return +1 * (100000 * m_nPhotos + 1147);
537 }//B+ decays to f_2 pi+
538 if (GenBplusTag::PcheckDecay(genpart, 10311, 211)) {
539 return +1 * (100000 * m_nPhotos + 1148);
540 }//B+ decays to K_0*0 pi+
541 if (GenBplusTag::PcheckDecay(genpart, -10311, 321)) {
542 return +1 * (100000 * m_nPhotos + 1149);
543 }//B+ decays to anti-K_0*0 K+
544 if (GenBplusTag::PcheckDecay(genpart, 10321, 111)) {
545 return +1 * (100000 * m_nPhotos + 1150);
546 }//B+ decays to K_0*+ pi0
547 if (GenBplusTag::PcheckDecay(genpart, 10321, -311)) {
548 return +1 * (100000 * m_nPhotos + 1151);
549 }//B+ decays to K_0*+ anti-K0
550 if (GenBplusTag::PcheckDecay(genpart, 323, 111)) {
551 return +1 * (100000 * m_nPhotos + 1152);
552 }//B+ decays to K*+ pi0
553 if (GenBplusTag::PcheckDecay(genpart, 323, -311)) {
554 return +1 * (100000 * m_nPhotos + 1153);
555 }//B+ decays to K*+ anti-K0
556 if (GenBplusTag::PcheckDecay(genpart, 321, -211, 211)) {
557 return +1 * (100000 * m_nPhotos + 1154);
558 }//B+ decays to K+ pi- pi+
559 if (GenBplusTag::PcheckDecay(genpart, 321, -321, 211)) {
560 return +1 * (100000 * m_nPhotos + 1155);
561 }//B+ decays to K+ K- pi+
562 if (GenBplusTag::PcheckDecay(genpart, 321, -321, 321)) {
563 return +1 * (100000 * m_nPhotos + 1156);
564 }//B+ decays to K+ K- K+
565 if (GenBplusTag::PcheckDecay(genpart, 321, 321, -211)) {
566 return +1 * (100000 * m_nPhotos + 1157);
567 }//B+ decays to K+ K+ pi-
568 if (GenBplusTag::PcheckDecay(genpart, -321, 211, 211)) {
569 return +1 * (100000 * m_nPhotos + 1158);
570 }//B+ decays to K- pi+ pi+
571 if (GenBplusTag::PcheckDecay(genpart, 321, -311, 111)) {
572 return +1 * (100000 * m_nPhotos + 1159);
573 }//B+ decays to K+ anti-K0 pi0
574 if (GenBplusTag::PcheckDecay(genpart, 321, -311, 221)) {
575 return +1 * (100000 * m_nPhotos + 1160);
576 }//B+ decays to K+ anti-K0 eta
577 if (GenBplusTag::PcheckDecay(genpart, 321, -311, 331)) {
578 return +1 * (100000 * m_nPhotos + 1161);
579 }//B+ decays to K+ anti-K0 eta'
580 if (GenBplusTag::PcheckDecay(genpart, 211, 311, 111)) {
581 return +1 * (100000 * m_nPhotos + 1162);
582 }//B+ decays to pi+ K0 pi0
583 if (GenBplusTag::PcheckDecay(genpart, 211, 311, 221)) {
584 return +1 * (100000 * m_nPhotos + 1163);
585 }//B+ decays to pi+ K0 eta
586 if (GenBplusTag::PcheckDecay(genpart, 211, 311, 331)) {
587 return +1 * (100000 * m_nPhotos + 1164);
588 }//B+ decays to pi+ K0 eta'
589 if (GenBplusTag::PcheckDecay(genpart, 211, 111, 221)) {
590 return +1 * (100000 * m_nPhotos + 1165);
591 }//B+ decays to pi+ pi0 eta
592 if (GenBplusTag::PcheckDecay(genpart, 211, 111, 331)) {
593 return +1 * (100000 * m_nPhotos + 1166);
594 }//B+ decays to pi+ pi0 eta'
595 if (GenBplusTag::PcheckDecay(genpart, 211, 221, 221)) {
596 return +1 * (100000 * m_nPhotos + 1167);
597 }//B+ decays to pi+ eta eta
598 if (GenBplusTag::PcheckDecay(genpart, 211, 221, 331)) {
599 return +1 * (100000 * m_nPhotos + 1168);
600 }//B+ decays to pi+ eta eta'
601 if (GenBplusTag::PcheckDecay(genpart, 321, 111, 111)) {
602 return +1 * (100000 * m_nPhotos + 1169);
603 }//B+ decays to K+ pi0 pi0
604 if (GenBplusTag::PcheckDecay(genpart, 321, 111, 221)) {
605 return +1 * (100000 * m_nPhotos + 1170);
606 }//B+ decays to K+ pi0 eta
607 if (GenBplusTag::PcheckDecay(genpart, 321, 111, 331)) {
608 return +1 * (100000 * m_nPhotos + 1171);
609 }//B+ decays to K+ pi0 eta'
610 if (GenBplusTag::PcheckDecay(genpart, 321, 221, 221)) {
611 return +1 * (100000 * m_nPhotos + 1172);
612 }//B+ decays to K+ eta eta
613 if (GenBplusTag::PcheckDecay(genpart, 321, 221, 331)) {
614 return +1 * (100000 * m_nPhotos + 1173);
615 }//B+ decays to K+ eta eta'
616 if (GenBplusTag::PcheckDecay(genpart, 321, 331, 331)) {
617 return +1 * (100000 * m_nPhotos + 1174);
618 }//B+ decays to K+ eta' eta'
619 if (GenBplusTag::PcheckDecay(genpart, 321, 311, -311)) {
620 return +1 * (100000 * m_nPhotos + 1175);
621 }//B+ decays to K+ K0 anti-K0
622 if (GenBplusTag::PcheckDecay(genpart, 211, 311, -311)) {
623 return +1 * (100000 * m_nPhotos + 1176);
624 }//B+ decays to pi+ K0 anti-K0
625 if (GenBplusTag::PcheckDecay(genpart, 213, 113)) {
626 return +1 * (100000 * m_nPhotos + 1177);
627 }//B+ decays to rho+ rho0
628 if (GenBplusTag::PcheckDecay(genpart, 113, 211, 111)) {
629 return +1 * (100000 * m_nPhotos + 1178);
630 }//B+ decays to rho0 pi+ pi0
631 if (GenBplusTag::PcheckDecay(genpart, 113, 211, 221)) {
632 return +1 * (100000 * m_nPhotos + 1179);
633 }//B+ decays to rho0 pi+ eta
634 if (GenBplusTag::PcheckDecay(genpart, 113, 211, 331)) {
635 return +1 * (100000 * m_nPhotos + 1180);
636 }//B+ decays to rho0 pi+ eta'
637 if (GenBplusTag::PcheckDecay(genpart, 223, 211, 111)) {
638 return +1 * (100000 * m_nPhotos + 1181);
639 }//B+ decays to omega pi+ pi0
640 if (GenBplusTag::PcheckDecay(genpart, 223, 211, 221)) {
641 return +1 * (100000 * m_nPhotos + 1182);
642 }//B+ decays to omega pi+ eta
643 if (GenBplusTag::PcheckDecay(genpart, 223, 211, 331)) {
644 return +1 * (100000 * m_nPhotos + 1183);
645 }//B+ decays to omega pi+ eta'
646 if (GenBplusTag::PcheckDecay(genpart, 213, 211, -211)) {
647 return +1 * (100000 * m_nPhotos + 1184);
648 }//B+ decays to rho+ pi+ pi-
649 if (GenBplusTag::PcheckDecay(genpart, -213, 211, 211)) {
650 return +1 * (100000 * m_nPhotos + 1185);
651 }//B+ decays to rho- pi+ pi+
652 if (GenBplusTag::PcheckDecay(genpart, 213, 111, 111)) {
653 return +1 * (100000 * m_nPhotos + 1186);
654 }//B+ decays to rho+ pi0 pi0
655 if (GenBplusTag::PcheckDecay(genpart, 213, 111, 221)) {
656 return +1 * (100000 * m_nPhotos + 1187);
657 }//B+ decays to rho+ pi0 eta
658 if (GenBplusTag::PcheckDecay(genpart, 213, 221, 221)) {
659 return +1 * (100000 * m_nPhotos + 1188);
660 }//B+ decays to rho+ eta eta
661 if (GenBplusTag::PcheckDecay(genpart, 213, 111, 331)) {
662 return +1 * (100000 * m_nPhotos + 1189);
663 }//B+ decays to rho+ pi0 eta'
664 if (GenBplusTag::PcheckDecay(genpart, -211, 211, 211, 111)) {
665 return +1 * (100000 * m_nPhotos + 1190);
666 }//B+ decays to pi- pi+ pi+ pi0
667 if (GenBplusTag::PcheckDecay(genpart, -211, 211, 211, 221)) {
668 return +1 * (100000 * m_nPhotos + 1191);
669 }//B+ decays to pi- pi+ pi+ eta
670 if (GenBplusTag::PcheckDecay(genpart, -211, 211, 211, 331)) {
671 return +1 * (100000 * m_nPhotos + 1192);
672 }//B+ decays to pi- pi+ pi+ eta'
673 if (GenBplusTag::PcheckDecay(genpart, 211, 111, 111, 111)) {
674 return +1 * (100000 * m_nPhotos + 1193);
675 }//B+ decays to pi+ pi0 pi0 pi0
676 if (GenBplusTag::PcheckDecay(genpart, 211, 221, 111, 111)) {
677 return +1 * (100000 * m_nPhotos + 1194);
678 }//B+ decays to pi+ eta pi0 pi0
679 if (GenBplusTag::PcheckDecay(genpart, 211, 221, 221, 111)) {
680 return +1 * (100000 * m_nPhotos + 1195);
681 }//B+ decays to pi+ eta eta pi0
682 if (GenBplusTag::PcheckDecay(genpart, 211, 331, 111, 111)) {
683 return +1 * (100000 * m_nPhotos + 1196);
684 }//B+ decays to pi+ eta' pi0 pi0
685 if (GenBplusTag::PcheckDecay(genpart, 211, 331, 221, 111)) {
686 return +1 * (100000 * m_nPhotos + 1197);
687 }//B+ decays to pi+ eta' eta pi0
688 if (GenBplusTag::PcheckDecay(genpart, 20113, 211)) {
689 return +1 * (100000 * m_nPhotos + 1198);
690 }//B+ decays to a_10 pi+
691 if (GenBplusTag::PcheckDecay(genpart, 20213, 111)) {
692 return +1 * (100000 * m_nPhotos + 1199);
693 }//B+ decays to a_1+ pi0
694 if (GenBplusTag::PcheckDecay(genpart, 10113, 211)) {
695 return +1 * (100000 * m_nPhotos + 1200);
696 }//B+ decays to b_10 pi+
697 if (GenBplusTag::PcheckDecay(genpart, 10213, 111)) {
698 return +1 * (100000 * m_nPhotos + 1201);
699 }//B+ decays to b_1+ pi0
700 if (GenBplusTag::PcheckDecay(genpart, 213, 10221)) {
701 return +1 * (100000 * m_nPhotos + 1202);
702 }//B+ decays to rho+ f_0
703 if (GenBplusTag::PcheckDecay(genpart, 213, 10111)) {
704 return +1 * (100000 * m_nPhotos + 1203);
705 }//B+ decays to rho+ a_00
706 if (GenBplusTag::PcheckDecay(genpart, 113, 10211)) {
707 return +1 * (100000 * m_nPhotos + 1204);
708 }//B+ decays to rho0 a_0+
709 if (GenBplusTag::PcheckDecay(genpart, 10221, 211, 111)) {
710 return +1 * (100000 * m_nPhotos + 1205);
711 }//B+ decays to f_0 pi+ pi0
712 if (GenBplusTag::PcheckDecay(genpart, 10111, 211, 111)) {
713 return +1 * (100000 * m_nPhotos + 1206);
714 }//B+ decays to a_00 pi+ pi0
715 if (GenBplusTag::PcheckDecay(genpart, 10211, 111, 111)) {
716 return +1 * (100000 * m_nPhotos + 1207);
717 }//B+ decays to a_0+ pi0 pi0
718 if (GenBplusTag::PcheckDecay(genpart, -10211, 211, 211)) {
719 return +1 * (100000 * m_nPhotos + 1208);
720 }//B+ decays to a_0- pi+ pi+
721 if (GenBplusTag::PcheckDecay(genpart, 213, 313)) {
722 return +1 * (100000 * m_nPhotos + 1209);
723 }//B+ decays to rho+ K*0
724 if (GenBplusTag::PcheckDecay(genpart, 113, 323)) {
725 return +1 * (100000 * m_nPhotos + 1210);
726 }//B+ decays to rho0 K*+
727 if (GenBplusTag::PcheckDecay(genpart, 211, 111, 313)) {
728 return +1 * (100000 * m_nPhotos + 1211);
729 }//B+ decays to pi+ pi0 K*0
730 if (GenBplusTag::PcheckDecay(genpart, 211, 221, 313)) {
731 return +1 * (100000 * m_nPhotos + 1212);
732 }//B+ decays to pi+ eta K*0
733 if (GenBplusTag::PcheckDecay(genpart, -211, 211, 323)) {
734 return +1 * (100000 * m_nPhotos + 1213);
735 }//B+ decays to pi- pi+ K*+
736 if (GenBplusTag::PcheckDecay(genpart, 111, 111, 323)) {
737 return +1 * (100000 * m_nPhotos + 1214);
738 }//B+ decays to pi0 pi0 K*+
739 if (GenBplusTag::PcheckDecay(genpart, 111, 221, 323)) {
740 return +1 * (100000 * m_nPhotos + 1215);
741 }//B+ decays to pi0 eta K*+
742 if (GenBplusTag::PcheckDecay(genpart, 221, 221, 323)) {
743 return +1 * (100000 * m_nPhotos + 1216);
744 }//B+ decays to eta eta K*+
745 if (GenBplusTag::PcheckDecay(genpart, 111, 331, 323)) {
746 return +1 * (100000 * m_nPhotos + 1217);
747 }//B+ decays to pi0 eta' K*+
748 if (GenBplusTag::PcheckDecay(genpart, 221, 331, 323)) {
749 return +1 * (100000 * m_nPhotos + 1218);
750 }//B+ decays to eta eta' K*+
751 if (GenBplusTag::PcheckDecay(genpart, 213, 311, 111)) {
752 return +1 * (100000 * m_nPhotos + 1219);
753 }//B+ decays to rho+ K0 pi0
754 if (GenBplusTag::PcheckDecay(genpart, 213, 311, 221)) {
755 return +1 * (100000 * m_nPhotos + 1220);
756 }//B+ decays to rho+ K0 eta
757 if (GenBplusTag::PcheckDecay(genpart, 213, 311, 331)) {
758 return +1 * (100000 * m_nPhotos + 1221);
759 }//B+ decays to rho+ K0 eta'
760 if (GenBplusTag::PcheckDecay(genpart, 213, 321, -211)) {
761 return +1 * (100000 * m_nPhotos + 1222);
762 }//B+ decays to rho+ K+ pi-
763 if (GenBplusTag::PcheckDecay(genpart, -213, 321, 211)) {
764 return +1 * (100000 * m_nPhotos + 1223);
765 }//B+ decays to rho- K+ pi+
766 if (GenBplusTag::PcheckDecay(genpart, 113, 311, 211)) {
767 return +1 * (100000 * m_nPhotos + 1224);
768 }//B+ decays to rho0 K0 pi+
769 if (GenBplusTag::PcheckDecay(genpart, 113, 321, 111)) {
770 return +1 * (100000 * m_nPhotos + 1225);
771 }//B+ decays to rho0 K+ pi0
772 if (GenBplusTag::PcheckDecay(genpart, 113, 321, 221)) {
773 return +1 * (100000 * m_nPhotos + 1226);
774 }//B+ decays to rho0 K+ eta
775 if (GenBplusTag::PcheckDecay(genpart, 113, 321, 331)) {
776 return +1 * (100000 * m_nPhotos + 1227);
777 }//B+ decays to rho0 K+ eta'
778 if (GenBplusTag::PcheckDecay(genpart, 223, 311, 211)) {
779 return +1 * (100000 * m_nPhotos + 1228);
780 }//B+ decays to omega K0 pi+
781 if (GenBplusTag::PcheckDecay(genpart, 223, 321, 111)) {
782 return +1 * (100000 * m_nPhotos + 1229);
783 }//B+ decays to omega K+ pi0
784 if (GenBplusTag::PcheckDecay(genpart, 223, 321, 221)) {
785 return +1 * (100000 * m_nPhotos + 1230);
786 }//B+ decays to omega K+ eta
787 if (GenBplusTag::PcheckDecay(genpart, 223, 321, 331)) {
788 return +1 * (100000 * m_nPhotos + 1231);
789 }//B+ decays to omega K+ eta'
790 if (GenBplusTag::PcheckDecay(genpart, 211, 211, -211, 311)) {
791 return +1 * (100000 * m_nPhotos + 1232);
792 }//B+ decays to pi+ pi+ pi- K0
793 if (GenBplusTag::PcheckDecay(genpart, 211, 111, 111, 311)) {
794 return +1 * (100000 * m_nPhotos + 1233);
795 }//B+ decays to pi+ pi0 pi0 K0
796 if (GenBplusTag::PcheckDecay(genpart, 211, 221, 111, 311)) {
797 return +1 * (100000 * m_nPhotos + 1234);
798 }//B+ decays to pi+ eta pi0 K0
799 if (GenBplusTag::PcheckDecay(genpart, 211, 221, 221, 311)) {
800 return +1 * (100000 * m_nPhotos + 1235);
801 }//B+ decays to pi+ eta eta K0
802 if (GenBplusTag::PcheckDecay(genpart, 211, -211, 111, 321)) {
803 return +1 * (100000 * m_nPhotos + 1236);
804 }//B+ decays to pi+ pi- pi0 K+
805 if (GenBplusTag::PcheckDecay(genpart, 211, -211, 221, 321)) {
806 return +1 * (100000 * m_nPhotos + 1237);
807 }//B+ decays to pi+ pi- eta K+
808 if (GenBplusTag::PcheckDecay(genpart, 111, 111, 111, 321)) {
809 return +1 * (100000 * m_nPhotos + 1238);
810 }//B+ decays to pi0 pi0 pi0 K+
811 if (GenBplusTag::PcheckDecay(genpart, 111, 111, 221, 321)) {
812 return +1 * (100000 * m_nPhotos + 1239);
813 }//B+ decays to pi0 pi0 eta K+
814 if (GenBplusTag::PcheckDecay(genpart, 111, 221, 221, 321)) {
815 return +1 * (100000 * m_nPhotos + 1240);
816 }//B+ decays to pi0 eta eta K+
817 if (GenBplusTag::PcheckDecay(genpart, 111, 111, 331, 321)) {
818 return +1 * (100000 * m_nPhotos + 1241);
819 }//B+ decays to pi0 pi0 eta' K+
820 if (GenBplusTag::PcheckDecay(genpart, 111, 221, 331, 321)) {
821 return +1 * (100000 * m_nPhotos + 1242);
822 }//B+ decays to pi0 eta eta' K+
823 if (GenBplusTag::PcheckDecay(genpart, 213, 10311)) {
824 return +1 * (100000 * m_nPhotos + 1243);
825 }//B+ decays to rho+ K_0*0
826 if (GenBplusTag::PcheckDecay(genpart, 113, 10321)) {
827 return +1 * (100000 * m_nPhotos + 1244);
828 }//B+ decays to rho0 K_0*+
829 if (GenBplusTag::PcheckDecay(genpart, 211, 111, 10311)) {
830 return +1 * (100000 * m_nPhotos + 1245);
831 }//B+ decays to pi+ pi0 K_0*0
832 if (GenBplusTag::PcheckDecay(genpart, 111, 111, 10321)) {
833 return +1 * (100000 * m_nPhotos + 1246);
834 }//B+ decays to pi0 pi0 K_0*+
835 if (GenBplusTag::PcheckDecay(genpart, 323, 10221)) {
836 return +1 * (100000 * m_nPhotos + 1247);
837 }//B+ decays to K*+ f_0
838 if (GenBplusTag::PcheckDecay(genpart, 20113, 321)) {
839 return +1 * (100000 * m_nPhotos + 1248);
840 }//B+ decays to a_10 K+
841 if (GenBplusTag::PcheckDecay(genpart, 20213, 311)) {
842 return +1 * (100000 * m_nPhotos + 1249);
843 }//B+ decays to a_1+ K0
844 if (GenBplusTag::PcheckDecay(genpart, 10113, 321)) {
845 return +1 * (100000 * m_nPhotos + 1250);
846 }//B+ decays to b_10 K+
847 if (GenBplusTag::PcheckDecay(genpart, 10213, 311)) {
848 return +1 * (100000 * m_nPhotos + 1251);
849 }//B+ decays to b_1+ K0
850 if (GenBplusTag::PcheckDecay(genpart, 323, 10111)) {
851 return +1 * (100000 * m_nPhotos + 1252);
852 }//B+ decays to K*+ a_00
853 if (GenBplusTag::PcheckDecay(genpart, 313, 10211)) {
854 return +1 * (100000 * m_nPhotos + 1253);
855 }//B+ decays to K*0 a_0+
856 if (GenBplusTag::PcheckDecay(genpart, -313, 323)) {
857 return +1 * (100000 * m_nPhotos + 1254);
858 }//B+ decays to anti-K*0 K*+
859 if (GenBplusTag::PcheckDecay(genpart, 333, 213)) {
860 return +1 * (100000 * m_nPhotos + 1255);
861 }//B+ decays to phi rho+
862 if (GenBplusTag::PcheckDecay(genpart, 333, 211, 111)) {
863 return +1 * (100000 * m_nPhotos + 1256);
864 }//B+ decays to phi pi+ pi0
865 if (GenBplusTag::PcheckDecay(genpart, 333, 211, 221)) {
866 return +1 * (100000 * m_nPhotos + 1257);
867 }//B+ decays to phi pi+ eta
868 if (GenBplusTag::PcheckDecay(genpart, 333, 211, 331)) {
869 return +1 * (100000 * m_nPhotos + 1258);
870 }//B+ decays to phi pi+ eta'
871 if (GenBplusTag::PcheckDecay(genpart, 321, -321, 213)) {
872 return +1 * (100000 * m_nPhotos + 1259);
873 }//B+ decays to K+ K- rho+
874 if (GenBplusTag::PcheckDecay(genpart, 311, -311, 213)) {
875 return +1 * (100000 * m_nPhotos + 1260);
876 }//B+ decays to K0 anti-K0 rho+
877 if (GenBplusTag::PcheckDecay(genpart, -311, 321, 113)) {
878 return +1 * (100000 * m_nPhotos + 1261);
879 }//B+ decays to anti-K0 K+ rho0
880 if (GenBplusTag::PcheckDecay(genpart, -311, 321, 223)) {
881 return +1 * (100000 * m_nPhotos + 1262);
882 }//B+ decays to anti-K0 K+ omega
883 if (GenBplusTag::PcheckDecay(genpart, 321, -321, 211, 111)) {
884 return +1 * (100000 * m_nPhotos + 1263);
885 }//B+ decays to K+ K- pi+ pi0
886 if (GenBplusTag::PcheckDecay(genpart, 321, -321, 211, 221)) {
887 return +1 * (100000 * m_nPhotos + 1264);
888 }//B+ decays to K+ K- pi+ eta
889 if (GenBplusTag::PcheckDecay(genpart, 321, -321, 211, 331)) {
890 return +1 * (100000 * m_nPhotos + 1265);
891 }//B+ decays to K+ K- pi+ eta'
892 if (GenBplusTag::PcheckDecay(genpart, 311, -311, 211, 111)) {
893 return +1 * (100000 * m_nPhotos + 1266);
894 }//B+ decays to K0 anti-K0 pi+ pi0
895 if (GenBplusTag::PcheckDecay(genpart, 311, -311, 211, 221)) {
896 return +1 * (100000 * m_nPhotos + 1267);
897 }//B+ decays to K0 anti-K0 pi+ eta
898 if (GenBplusTag::PcheckDecay(genpart, 311, -311, 211, 331)) {
899 return +1 * (100000 * m_nPhotos + 1268);
900 }//B+ decays to K0 anti-K0 pi+ eta'
901 if (GenBplusTag::PcheckDecay(genpart, -311, 321, 211, -211)) {
902 return +1 * (100000 * m_nPhotos + 1269);
903 }//B+ decays to anti-K0 K+ pi+ pi-
904 if (GenBplusTag::PcheckDecay(genpart, -311, 321, 111, 111)) {
905 return +1 * (100000 * m_nPhotos + 1270);
906 }//B+ decays to anti-K0 K+ pi0 pi0
907 if (GenBplusTag::PcheckDecay(genpart, -311, 321, 111, 221)) {
908 return +1 * (100000 * m_nPhotos + 1271);
909 }//B+ decays to anti-K0 K+ pi0 eta
910 if (GenBplusTag::PcheckDecay(genpart, -311, 321, 221, 221)) {
911 return +1 * (100000 * m_nPhotos + 1272);
912 }//B+ decays to anti-K0 K+ eta eta
913 if (GenBplusTag::PcheckDecay(genpart, -311, 321, 111, 331)) {
914 return +1 * (100000 * m_nPhotos + 1273);
915 }//B+ decays to anti-K0 K+ pi0 eta'
916 if (GenBplusTag::PcheckDecay(genpart, -311, 321, 221, 331)) {
917 return +1 * (100000 * m_nPhotos + 1274);
918 }//B+ decays to anti-K0 K+ eta eta'
919 if (GenBplusTag::PcheckDecay(genpart, 323, -321, 211)) {
920 return +1 * (100000 * m_nPhotos + 1275);
921 }//B+ decays to K*+ K- pi+
922 if (GenBplusTag::PcheckDecay(genpart, -323, 321, 211)) {
923 return +1 * (100000 * m_nPhotos + 1276);
924 }//B+ decays to K*- K+ pi+
925 if (GenBplusTag::PcheckDecay(genpart, 313, -311, 211)) {
926 return +1 * (100000 * m_nPhotos + 1277);
927 }//B+ decays to K*0 anti-K0 pi+
928 if (GenBplusTag::PcheckDecay(genpart, 311, -313, 211)) {
929 return +1 * (100000 * m_nPhotos + 1278);
930 }//B+ decays to K0 anti-K*0 pi+
931 if (GenBplusTag::PcheckDecay(genpart, 321, -313, 111)) {
932 return +1 * (100000 * m_nPhotos + 1279);
933 }//B+ decays to K+ anti-K*0 pi0
934 if (GenBplusTag::PcheckDecay(genpart, 321, -313, 221)) {
935 return +1 * (100000 * m_nPhotos + 1280);
936 }//B+ decays to K+ anti-K*0 eta
937 if (GenBplusTag::PcheckDecay(genpart, 321, -313, 331)) {
938 return +1 * (100000 * m_nPhotos + 1281);
939 }//B+ decays to K+ anti-K*0 eta'
940 if (GenBplusTag::PcheckDecay(genpart, 323, -311, 111)) {
941 return +1 * (100000 * m_nPhotos + 1282);
942 }//B+ decays to K*+ anti-K0 pi0
943 if (GenBplusTag::PcheckDecay(genpart, 323, -311, 221)) {
944 return +1 * (100000 * m_nPhotos + 1283);
945 }//B+ decays to K*+ anti-K0 eta
946 if (GenBplusTag::PcheckDecay(genpart, 323, -311, 331)) {
947 return +1 * (100000 * m_nPhotos + 1284);
948 }//B+ decays to K*+ anti-K0 eta'
949 if (GenBplusTag::PcheckDecay(genpart, 333, 323)) {
950 return +1 * (100000 * m_nPhotos + 1285);
951 }//B+ decays to phi K*+
952 if (GenBplusTag::PcheckDecay(genpart, 333, 311, 211)) {
953 return +1 * (100000 * m_nPhotos + 1286);
954 }//B+ decays to phi K0 pi+
955 if (GenBplusTag::PcheckDecay(genpart, 333, 321, 111)) {
956 return +1 * (100000 * m_nPhotos + 1287);
957 }//B+ decays to phi K+ pi0
958 if (GenBplusTag::PcheckDecay(genpart, 333, 321, 221)) {
959 return +1 * (100000 * m_nPhotos + 1288);
960 }//B+ decays to phi K+ eta
961 if (GenBplusTag::PcheckDecay(genpart, 333, 321, 331)) {
962 return +1 * (100000 * m_nPhotos + 1289);
963 }//B+ decays to phi K+ eta'
964 if (GenBplusTag::PcheckDecay(genpart, -321, 321, 323)) {
965 return +1 * (100000 * m_nPhotos + 1290);
966 }//B+ decays to K- K+ K*+
967 if (GenBplusTag::PcheckDecay(genpart, 321, -323, 321)) {
968 return +1 * (100000 * m_nPhotos + 1291);
969 }//B+ decays to K+ K*- K+
970 if (GenBplusTag::PcheckDecay(genpart, 321, 313, -311)) {
971 return +1 * (100000 * m_nPhotos + 1292);
972 }//B+ decays to K+ K*0 anti-K0
973 if (GenBplusTag::PcheckDecay(genpart, 321, 311, -313)) {
974 return +1 * (100000 * m_nPhotos + 1293);
975 }//B+ decays to K+ K0 anti-K*0
976 if (GenBplusTag::PcheckDecay(genpart, 311, 323, -311)) {
977 return +1 * (100000 * m_nPhotos + 1294);
978 }//B+ decays to K0 K*+ anti-K0
979 if (GenBplusTag::PcheckDecay(genpart, 321, -321, 321, 111)) {
980 return +1 * (100000 * m_nPhotos + 1295);
981 }//B+ decays to K+ K- K+ pi0
982 if (GenBplusTag::PcheckDecay(genpart, 321, -321, 321, 221)) {
983 return +1 * (100000 * m_nPhotos + 1296);
984 }//B+ decays to K+ K- K+ eta
985 if (GenBplusTag::PcheckDecay(genpart, 321, -321, 321, 331)) {
986 return +1 * (100000 * m_nPhotos + 1297);
987 }//B+ decays to K+ K- K+ eta'
988 if (GenBplusTag::PcheckDecay(genpart, 321, -321, 311, 211)) {
989 return +1 * (100000 * m_nPhotos + 1298);
990 }//B+ decays to K+ K- K0 pi+
991 if (GenBplusTag::PcheckDecay(genpart, 311, -311, 321, 111)) {
992 return +1 * (100000 * m_nPhotos + 1299);
993 }//B+ decays to K0 anti-K0 K+ pi0
994 if (GenBplusTag::PcheckDecay(genpart, 311, -311, 321, 221)) {
995 return +1 * (100000 * m_nPhotos + 1300);
996 }//B+ decays to K0 anti-K0 K+ eta
997 if (GenBplusTag::PcheckDecay(genpart, 311, -311, 321, 331)) {
998 return +1 * (100000 * m_nPhotos + 1301);
999 }//B+ decays to K0 anti-K0 K+ eta'
1000 if (GenBplusTag::PcheckDecay(genpart, 311, -311, 311, 211)) {
1001 return +1 * (100000 * m_nPhotos + 1302);
1002 }//B+ decays to K0 anti-K0 K0 pi+
1003 if (GenBplusTag::PcheckDecay(genpart, 333, 10321)) {
1004 return +1 * (100000 * m_nPhotos + 1303);
1005 }//B+ decays to phi K_0*+
1006 if (GenBplusTag::PcheckDecay(genpart, -321, 321, 10321)) {
1007 return +1 * (100000 * m_nPhotos + 1304);
1008 }//B+ decays to K- K+ K_0*+
1009 if (GenBplusTag::PcheckDecay(genpart, 321, 321, -10321)) {
1010 return +1 * (100000 * m_nPhotos + 1305);
1011 }//B+ decays to K+ K+ K_0*-
1012 if (GenBplusTag::PcheckDecay(genpart, 321, -10311, 311)) {
1013 return +1 * (100000 * m_nPhotos + 1306);
1014 }//B+ decays to K+ anti-K_0*0 K0
1015 if (GenBplusTag::PcheckDecay(genpart, 321, 10311, -311)) {
1016 return +1 * (100000 * m_nPhotos + 1307);
1017 }//B+ decays to K+ K_0*0 anti-K0
1018 if (GenBplusTag::PcheckDecay(genpart, 333, 20323)) {
1019 return +1 * (100000 * m_nPhotos + 1308);
1020 }//B+ decays to phi K'_1+
1021 if (GenBplusTag::PcheckDecay(genpart, -321, 321, 20323)) {
1022 return +1 * (100000 * m_nPhotos + 1309);
1023 }//B+ decays to K- K+ K'_1+
1024 if (GenBplusTag::PcheckDecay(genpart, 333, -311, 321)) {
1025 return +1 * (100000 * m_nPhotos + 1310);
1026 }//B+ decays to phi anti-K0 K+
1027 if (GenBplusTag::PcheckDecay(genpart, 321, -321, 321, -311)) {
1028 return +1 * (100000 * m_nPhotos + 1311);
1029 }//B+ decays to K+ K- K+ anti-K0
1030 if (GenBplusTag::PcheckDecay(genpart, 311, -311, -311, 321)) {
1031 return +1 * (100000 * m_nPhotos + 1312);
1032 }//B+ decays to K0 anti-K0 anti-K0 K+
1033 if (GenBplusTag::PcheckDecay(genpart, 113, 113, 211)) {
1034 return +1 * (100000 * m_nPhotos + 1313);
1035 }//B+ decays to rho0 rho0 pi+
1036 if (GenBplusTag::PcheckDecay(genpart, 213, 113, 111)) {
1037 return +1 * (100000 * m_nPhotos + 1314);
1038 }//B+ decays to rho+ rho0 pi0
1039 if (GenBplusTag::PcheckDecay(genpart, 213, 113, 221)) {
1040 return +1 * (100000 * m_nPhotos + 1315);
1041 }//B+ decays to rho+ rho0 eta
1042 if (GenBplusTag::PcheckDecay(genpart, 213, 113, 331)) {
1043 return +1 * (100000 * m_nPhotos + 1316);
1044 }//B+ decays to rho+ rho0 eta'
1045 if (GenBplusTag::PcheckDecay(genpart, 213, -213, 211)) {
1046 return +1 * (100000 * m_nPhotos + 1317);
1047 }//B+ decays to rho+ rho- pi+
1048 if (GenBplusTag::PcheckDecay(genpart, 223, 113, 211)) {
1049 return +1 * (100000 * m_nPhotos + 1318);
1050 }//B+ decays to omega rho0 pi+
1051 if (GenBplusTag::PcheckDecay(genpart, 223, 213, 111)) {
1052 return +1 * (100000 * m_nPhotos + 1319);
1053 }//B+ decays to omega rho+ pi0
1054 if (GenBplusTag::PcheckDecay(genpart, 223, 213, 221)) {
1055 return +1 * (100000 * m_nPhotos + 1320);
1056 }//B+ decays to omega rho+ eta
1057 if (GenBplusTag::PcheckDecay(genpart, 223, 213, 331)) {
1058 return +1 * (100000 * m_nPhotos + 1321);
1059 }//B+ decays to omega rho+ eta'
1060 if (GenBplusTag::PcheckDecay(genpart, 113, 211, -211, 211)) {
1061 return +1 * (100000 * m_nPhotos + 1322);
1062 }//B+ decays to rho0 pi+ pi- pi+
1063 if (GenBplusTag::PcheckDecay(genpart, 113, 211, 111, 111)) {
1064 return +1 * (100000 * m_nPhotos + 1323);
1065 }//B+ decays to rho0 pi+ pi0 pi0
1066 if (GenBplusTag::PcheckDecay(genpart, 113, 211, 221, 111)) {
1067 return +1 * (100000 * m_nPhotos + 1324);
1068 }//B+ decays to rho0 pi+ eta pi0
1069 if (GenBplusTag::PcheckDecay(genpart, 113, 211, 331, 111)) {
1070 return +1 * (100000 * m_nPhotos + 1325);
1071 }//B+ decays to rho0 pi+ eta' pi0
1072 if (GenBplusTag::PcheckDecay(genpart, 223, 211, 111, 111)) {
1073 return +1 * (100000 * m_nPhotos + 1326);
1074 }//B+ decays to omega pi+ pi0 pi0
1075 if (GenBplusTag::PcheckDecay(genpart, 223, 211, 221, 111)) {
1076 return +1 * (100000 * m_nPhotos + 1327);
1077 }//B+ decays to omega pi+ eta pi0
1078 if (GenBplusTag::PcheckDecay(genpart, 223, 211, 331, 111)) {
1079 return +1 * (100000 * m_nPhotos + 1328);
1080 }//B+ decays to omega pi+ eta' pi0
1081 if (GenBplusTag::PcheckDecay(genpart, -213, 211, 211, 111)) {
1082 return +1 * (100000 * m_nPhotos + 1329);
1083 }//B+ decays to rho- pi+ pi+ pi0
1084 if (GenBplusTag::PcheckDecay(genpart, -213, 211, 211, 221)) {
1085 return +1 * (100000 * m_nPhotos + 1330);
1086 }//B+ decays to rho- pi+ pi+ eta
1087 if (GenBplusTag::PcheckDecay(genpart, -213, 211, 211, 331)) {
1088 return +1 * (100000 * m_nPhotos + 1331);
1089 }//B+ decays to rho- pi+ pi+ eta'
1090 if (GenBplusTag::PcheckDecay(genpart, 213, 211, -211, 111)) {
1091 return +1 * (100000 * m_nPhotos + 1332);
1092 }//B+ decays to rho+ pi+ pi- pi0
1093 if (GenBplusTag::PcheckDecay(genpart, 213, 211, -211, 221)) {
1094 return +1 * (100000 * m_nPhotos + 1333);
1095 }//B+ decays to rho+ pi+ pi- eta
1096 if (GenBplusTag::PcheckDecay(genpart, 213, 211, -211, 331)) {
1097 return +1 * (100000 * m_nPhotos + 1334);
1098 }//B+ decays to rho+ pi+ pi- eta'
1099 if (GenBplusTag::PcheckDecay(genpart, 213, 111, 111, 111)) {
1100 return +1 * (100000 * m_nPhotos + 1335);
1101 }//B+ decays to rho+ pi0 pi0 pi0
1102 if (GenBplusTag::PcheckDecay(genpart, 213, 111, 221, 111)) {
1103 return +1 * (100000 * m_nPhotos + 1336);
1104 }//B+ decays to rho+ pi0 eta pi0
1105 if (GenBplusTag::PcheckDecay(genpart, 213, 221, 221, 111)) {
1106 return +1 * (100000 * m_nPhotos + 1337);
1107 }//B+ decays to rho+ eta eta pi0
1108 if (GenBplusTag::PcheckDecay(genpart, 213, 111, 331, 111)) {
1109 return +1 * (100000 * m_nPhotos + 1338);
1110 }//B+ decays to rho+ pi0 eta' pi0
1111 if (GenBplusTag::PcheckDecay(genpart, -211, 211, 211, 111, 111)) {
1112 return +1 * (100000 * m_nPhotos + 1339);
1113 }//B+ decays to pi- pi+ pi+ pi0 pi0
1114 if (GenBplusTag::PcheckDecay(genpart, -211, 211, 211, 221, 111)) {
1115 return +1 * (100000 * m_nPhotos + 1340);
1116 }//B+ decays to pi- pi+ pi+ eta pi0
1117 if (GenBplusTag::PcheckDecay(genpart, -211, 211, 211, 331, 111)) {
1118 return +1 * (100000 * m_nPhotos + 1341);
1119 }//B+ decays to pi- pi+ pi+ eta' pi0
1120 if (GenBplusTag::PcheckDecay(genpart, 211, 111, 111, 111, 111)) {
1121 return +1 * (100000 * m_nPhotos + 1342);
1122 }//B+ decays to pi+ pi0 pi0 pi0 pi0
1123 if (GenBplusTag::PcheckDecay(genpart, 211, 221, 111, 111, 111)) {
1124 return +1 * (100000 * m_nPhotos + 1343);
1125 }//B+ decays to pi+ eta pi0 pi0 pi0
1126 if (GenBplusTag::PcheckDecay(genpart, 211, 331, 111, 111, 111)) {
1127 return +1 * (100000 * m_nPhotos + 1344);
1128 }//B+ decays to pi+ eta' pi0 pi0 pi0
1129 if (GenBplusTag::PcheckDecay(genpart, 20213, 113)) {
1130 return +1 * (100000 * m_nPhotos + 1345);
1131 }//B+ decays to a_1+ rho0
1132 if (GenBplusTag::PcheckDecay(genpart, 20213, 223)) {
1133 return +1 * (100000 * m_nPhotos + 1346);
1134 }//B+ decays to a_1+ omega
1135 if (GenBplusTag::PcheckDecay(genpart, 20213, 10221)) {
1136 return +1 * (100000 * m_nPhotos + 1347);
1137 }//B+ decays to a_1+ f_0
1138 if (GenBplusTag::PcheckDecay(genpart, 20113, 211, 111)) {
1139 return +1 * (100000 * m_nPhotos + 1348);
1140 }//B+ decays to a_10 pi+ pi0
1141 if (GenBplusTag::PcheckDecay(genpart, 20113, 211, 221)) {
1142 return +1 * (100000 * m_nPhotos + 1349);
1143 }//B+ decays to a_10 pi+ eta
1144 if (GenBplusTag::PcheckDecay(genpart, 20113, 211, 331)) {
1145 return +1 * (100000 * m_nPhotos + 1350);
1146 }//B+ decays to a_10 pi+ eta'
1147 if (GenBplusTag::PcheckDecay(genpart, -20213, 211, 211)) {
1148 return +1 * (100000 * m_nPhotos + 1351);
1149 }//B+ decays to a_1- pi+ pi+
1150 if (GenBplusTag::PcheckDecay(genpart, 20213, 211, -211)) {
1151 return +1 * (100000 * m_nPhotos + 1352);
1152 }//B+ decays to a_1+ pi+ pi-
1153 if (GenBplusTag::PcheckDecay(genpart, 20213, 111, 111)) {
1154 return +1 * (100000 * m_nPhotos + 1353);
1155 }//B+ decays to a_1+ pi0 pi0
1156 if (GenBplusTag::PcheckDecay(genpart, 20213, 111, 221)) {
1157 return +1 * (100000 * m_nPhotos + 1354);
1158 }//B+ decays to a_1+ pi0 eta
1159 if (GenBplusTag::PcheckDecay(genpart, 20213, 111, 331)) {
1160 return +1 * (100000 * m_nPhotos + 1355);
1161 }//B+ decays to a_1+ pi0 eta'
1162 if (GenBplusTag::PcheckDecay(genpart, 213, 10221, 111)) {
1163 return +1 * (100000 * m_nPhotos + 1356);
1164 }//B+ decays to rho+ f_0 pi0
1165 if (GenBplusTag::PcheckDecay(genpart, 213, 10221, 221)) {
1166 return +1 * (100000 * m_nPhotos + 1357);
1167 }//B+ decays to rho+ f_0 eta
1168 if (GenBplusTag::PcheckDecay(genpart, 213, 10221, 331)) {
1169 return +1 * (100000 * m_nPhotos + 1358);
1170 }//B+ decays to rho+ f_0 eta'
1171 if (GenBplusTag::PcheckDecay(genpart, 113, 10221, 211)) {
1172 return +1 * (100000 * m_nPhotos + 1359);
1173 }//B+ decays to rho0 f_0 pi+
1174 if (GenBplusTag::PcheckDecay(genpart, 223, 10221, 211)) {
1175 return +1 * (100000 * m_nPhotos + 1360);
1176 }//B+ decays to omega f_0 pi+
1177 if (GenBplusTag::PcheckDecay(genpart, 213, 10111, 111)) {
1178 return +1 * (100000 * m_nPhotos + 1361);
1179 }//B+ decays to rho+ a_00 pi0
1180 if (GenBplusTag::PcheckDecay(genpart, 213, 10111, 221)) {
1181 return +1 * (100000 * m_nPhotos + 1362);
1182 }//B+ decays to rho+ a_00 eta
1183 if (GenBplusTag::PcheckDecay(genpart, 213, 10111, 331)) {
1184 return +1 * (100000 * m_nPhotos + 1363);
1185 }//B+ decays to rho+ a_00 eta'
1186 if (GenBplusTag::PcheckDecay(genpart, -213, 10211, 211)) {
1187 return +1 * (100000 * m_nPhotos + 1364);
1188 }//B+ decays to rho- a_0+ pi+
1189 if (GenBplusTag::PcheckDecay(genpart, 113, 10211, 111)) {
1190 return +1 * (100000 * m_nPhotos + 1365);
1191 }//B+ decays to rho0 a_0+ pi0
1192 if (GenBplusTag::PcheckDecay(genpart, 113, 10211, 221)) {
1193 return +1 * (100000 * m_nPhotos + 1366);
1194 }//B+ decays to rho0 a_0+ eta
1195 if (GenBplusTag::PcheckDecay(genpart, 113, 10211, 331)) {
1196 return +1 * (100000 * m_nPhotos + 1367);
1197 }//B+ decays to rho0 a_0+ eta'
1198 if (GenBplusTag::PcheckDecay(genpart, 10221, 211, -211, 211)) {
1199 return +1 * (100000 * m_nPhotos + 1368);
1200 }//B+ decays to f_0 pi+ pi- pi+
1201 if (GenBplusTag::PcheckDecay(genpart, 10221, 211, 111, 111)) {
1202 return +1 * (100000 * m_nPhotos + 1369);
1203 }//B+ decays to f_0 pi+ pi0 pi0
1204 if (GenBplusTag::PcheckDecay(genpart, 10221, 211, 111, 221)) {
1205 return +1 * (100000 * m_nPhotos + 1370);
1206 }//B+ decays to f_0 pi+ pi0 eta
1207 if (GenBplusTag::PcheckDecay(genpart, 10221, 211, 111, 331)) {
1208 return +1 * (100000 * m_nPhotos + 1371);
1209 }//B+ decays to f_0 pi+ pi0 eta'
1210 if (GenBplusTag::PcheckDecay(genpart, 10111, 211, 111, 111)) {
1211 return +1 * (100000 * m_nPhotos + 1372);
1212 }//B+ decays to a_00 pi+ pi0 pi0
1213 if (GenBplusTag::PcheckDecay(genpart, 10211, 111, 111, 111)) {
1214 return +1 * (100000 * m_nPhotos + 1373);
1215 }//B+ decays to a_0+ pi0 pi0 pi0
1216 if (GenBplusTag::PcheckDecay(genpart, -10211, 211, 211, 111)) {
1217 return +1 * (100000 * m_nPhotos + 1374);
1218 }//B+ decays to a_0- pi+ pi+ pi0
1219 if (GenBplusTag::PcheckDecay(genpart, 213, 323, -211)) {
1220 return +1 * (100000 * m_nPhotos + 1375);
1221 }//B+ decays to rho+ K*+ pi-
1222 if (GenBplusTag::PcheckDecay(genpart, -213, 323, 211)) {
1223 return +1 * (100000 * m_nPhotos + 1376);
1224 }//B+ decays to rho- K*+ pi+
1225 if (GenBplusTag::PcheckDecay(genpart, 213, 313, 111)) {
1226 return +1 * (100000 * m_nPhotos + 1377);
1227 }//B+ decays to rho+ K*0 pi0
1228 if (GenBplusTag::PcheckDecay(genpart, 213, 313, 221)) {
1229 return +1 * (100000 * m_nPhotos + 1378);
1230 }//B+ decays to rho+ K*0 eta
1231 if (GenBplusTag::PcheckDecay(genpart, 213, 313, 331)) {
1232 return +1 * (100000 * m_nPhotos + 1379);
1233 }//B+ decays to rho+ K*0 eta'
1234 if (GenBplusTag::PcheckDecay(genpart, 113, 313, 211)) {
1235 return +1 * (100000 * m_nPhotos + 1380);
1236 }//B+ decays to rho0 K*0 pi+
1237 if (GenBplusTag::PcheckDecay(genpart, 113, 323, 111)) {
1238 return +1 * (100000 * m_nPhotos + 1381);
1239 }//B+ decays to rho0 K*+ pi0
1240 if (GenBplusTag::PcheckDecay(genpart, 113, 323, 221)) {
1241 return +1 * (100000 * m_nPhotos + 1382);
1242 }//B+ decays to rho0 K*+ eta
1243 if (GenBplusTag::PcheckDecay(genpart, 113, 323, 331)) {
1244 return +1 * (100000 * m_nPhotos + 1383);
1245 }//B+ decays to rho0 K*+ eta'
1246 if (GenBplusTag::PcheckDecay(genpart, 223, 313, 211)) {
1247 return +1 * (100000 * m_nPhotos + 1384);
1248 }//B+ decays to omega K*0 pi+
1249 if (GenBplusTag::PcheckDecay(genpart, 223, 323, 111)) {
1250 return +1 * (100000 * m_nPhotos + 1385);
1251 }//B+ decays to omega K*+ pi0
1252 if (GenBplusTag::PcheckDecay(genpart, 223, 323, 221)) {
1253 return +1 * (100000 * m_nPhotos + 1386);
1254 }//B+ decays to omega K*+ eta
1255 if (GenBplusTag::PcheckDecay(genpart, 223, 323, 331)) {
1256 return +1 * (100000 * m_nPhotos + 1387);
1257 }//B+ decays to omega K*+ eta'
1258 if (GenBplusTag::PcheckDecay(genpart, 211, -211, 313, 211)) {
1259 return +1 * (100000 * m_nPhotos + 1388);
1260 }//B+ decays to pi+ pi- K*0 pi+
1261 if (GenBplusTag::PcheckDecay(genpart, 211, 111, 313, 111)) {
1262 return +1 * (100000 * m_nPhotos + 1389);
1263 }//B+ decays to pi+ pi0 K*0 pi0
1264 if (GenBplusTag::PcheckDecay(genpart, 211, 221, 313, 111)) {
1265 return +1 * (100000 * m_nPhotos + 1390);
1266 }//B+ decays to pi+ eta K*0 pi0
1267 if (GenBplusTag::PcheckDecay(genpart, 211, 331, 313, 111)) {
1268 return +1 * (100000 * m_nPhotos + 1391);
1269 }//B+ decays to pi+ eta' K*0 pi0
1270 if (GenBplusTag::PcheckDecay(genpart, -211, 211, 323, 111)) {
1271 return +1 * (100000 * m_nPhotos + 1392);
1272 }//B+ decays to pi- pi+ K*+ pi0
1273 if (GenBplusTag::PcheckDecay(genpart, -211, 211, 323, 221)) {
1274 return +1 * (100000 * m_nPhotos + 1393);
1275 }//B+ decays to pi- pi+ K*+ eta
1276 if (GenBplusTag::PcheckDecay(genpart, -211, 211, 323, 331)) {
1277 return +1 * (100000 * m_nPhotos + 1394);
1278 }//B+ decays to pi- pi+ K*+ eta'
1279 if (GenBplusTag::PcheckDecay(genpart, 111, 111, 323, 111)) {
1280 return +1 * (100000 * m_nPhotos + 1395);
1281 }//B+ decays to pi0 pi0 K*+ pi0
1282 if (GenBplusTag::PcheckDecay(genpart, 111, 221, 323, 111)) {
1283 return +1 * (100000 * m_nPhotos + 1396);
1284 }//B+ decays to pi0 eta K*+ pi0
1285 if (GenBplusTag::PcheckDecay(genpart, 221, 221, 323, 111)) {
1286 return +1 * (100000 * m_nPhotos + 1397);
1287 }//B+ decays to eta eta K*+ pi0
1288 if (GenBplusTag::PcheckDecay(genpart, 111, 331, 323, 111)) {
1289 return +1 * (100000 * m_nPhotos + 1398);
1290 }//B+ decays to pi0 eta' K*+ pi0
1291 if (GenBplusTag::PcheckDecay(genpart, 221, 331, 323, 111)) {
1292 return +1 * (100000 * m_nPhotos + 1399);
1293 }//B+ decays to eta eta' K*+ pi0
1294 if (GenBplusTag::PcheckDecay(genpart, 213, 311, 211, -211)) {
1295 return +1 * (100000 * m_nPhotos + 1400);
1296 }//B+ decays to rho+ K0 pi+ pi-
1297 if (GenBplusTag::PcheckDecay(genpart, 213, 311, 111, 111)) {
1298 return +1 * (100000 * m_nPhotos + 1401);
1299 }//B+ decays to rho+ K0 pi0 pi0
1300 if (GenBplusTag::PcheckDecay(genpart, 213, 311, 221, 111)) {
1301 return +1 * (100000 * m_nPhotos + 1402);
1302 }//B+ decays to rho+ K0 eta pi0
1303 if (GenBplusTag::PcheckDecay(genpart, 213, 311, 331, 111)) {
1304 return +1 * (100000 * m_nPhotos + 1403);
1305 }//B+ decays to rho+ K0 eta' pi0
1306 if (GenBplusTag::PcheckDecay(genpart, 213, 321, -211, 111)) {
1307 return +1 * (100000 * m_nPhotos + 1404);
1308 }//B+ decays to rho+ K+ pi- pi0
1309 if (GenBplusTag::PcheckDecay(genpart, -213, 321, 211, 111)) {
1310 return +1 * (100000 * m_nPhotos + 1405);
1311 }//B+ decays to rho- K+ pi+ pi0
1312 if (GenBplusTag::PcheckDecay(genpart, -213, 311, 211, 211)) {
1313 return +1 * (100000 * m_nPhotos + 1406);
1314 }//B+ decays to rho- K0 pi+ pi+
1315 if (GenBplusTag::PcheckDecay(genpart, 113, 311, 211, 111)) {
1316 return +1 * (100000 * m_nPhotos + 1407);
1317 }//B+ decays to rho0 K0 pi+ pi0
1318 if (GenBplusTag::PcheckDecay(genpart, 113, 321, 111, 111)) {
1319 return +1 * (100000 * m_nPhotos + 1408);
1320 }//B+ decays to rho0 K+ pi0 pi0
1321 if (GenBplusTag::PcheckDecay(genpart, 113, 321, 221, 111)) {
1322 return +1 * (100000 * m_nPhotos + 1409);
1323 }//B+ decays to rho0 K+ eta pi0
1324 if (GenBplusTag::PcheckDecay(genpart, 113, 321, 331, 111)) {
1325 return +1 * (100000 * m_nPhotos + 1410);
1326 }//B+ decays to rho0 K+ eta' pi0
1327 if (GenBplusTag::PcheckDecay(genpart, 223, 311, 211, 111)) {
1328 return +1 * (100000 * m_nPhotos + 1411);
1329 }//B+ decays to omega K0 pi+ pi0
1330 if (GenBplusTag::PcheckDecay(genpart, 223, 321, 111, 111)) {
1331 return +1 * (100000 * m_nPhotos + 1412);
1332 }//B+ decays to omega K+ pi0 pi0
1333 if (GenBplusTag::PcheckDecay(genpart, 223, 321, 221, 111)) {
1334 return +1 * (100000 * m_nPhotos + 1413);
1335 }//B+ decays to omega K+ eta pi0
1336 if (GenBplusTag::PcheckDecay(genpart, 223, 321, 331, 111)) {
1337 return +1 * (100000 * m_nPhotos + 1414);
1338 }//B+ decays to omega K+ eta' pi0
1339 if (GenBplusTag::PcheckDecay(genpart, 211, 211, -211, 311, 111)) {
1340 return +1 * (100000 * m_nPhotos + 1415);
1341 }//B+ decays to pi+ pi+ pi- K0 pi0
1342 if (GenBplusTag::PcheckDecay(genpart, 211, 211, -211, 311, 221)) {
1343 return +1 * (100000 * m_nPhotos + 1416);
1344 }//B+ decays to pi+ pi+ pi- K0 eta
1345 if (GenBplusTag::PcheckDecay(genpart, 211, 211, -211, 311, 331)) {
1346 return +1 * (100000 * m_nPhotos + 1417);
1347 }//B+ decays to pi+ pi+ pi- K0 eta'
1348 if (GenBplusTag::PcheckDecay(genpart, 211, 111, 111, 311, 111)) {
1349 return +1 * (100000 * m_nPhotos + 1418);
1350 }//B+ decays to pi+ pi0 pi0 K0 pi0
1351 if (GenBplusTag::PcheckDecay(genpart, 211, 221, 111, 311, 111)) {
1352 return +1 * (100000 * m_nPhotos + 1419);
1353 }//B+ decays to pi+ eta pi0 K0 pi0
1354 if (GenBplusTag::PcheckDecay(genpart, 211, 221, 221, 311, 111)) {
1355 return +1 * (100000 * m_nPhotos + 1420);
1356 }//B+ decays to pi+ eta eta K0 pi0
1357 if (GenBplusTag::PcheckDecay(genpart, 211, -211, 211, 321, -211)) {
1358 return +1 * (100000 * m_nPhotos + 1421);
1359 }//B+ decays to pi+ pi- pi+ K+ pi-
1360 if (GenBplusTag::PcheckDecay(genpart, 211, -211, 111, 321, 111)) {
1361 return +1 * (100000 * m_nPhotos + 1422);
1362 }//B+ decays to pi+ pi- pi0 K+ pi0
1363 if (GenBplusTag::PcheckDecay(genpart, 211, -211, 221, 321, 111)) {
1364 return +1 * (100000 * m_nPhotos + 1423);
1365 }//B+ decays to pi+ pi- eta K+ pi0
1366 if (GenBplusTag::PcheckDecay(genpart, 211, -211, 331, 321, 111)) {
1367 return +1 * (100000 * m_nPhotos + 1424);
1368 }//B+ decays to pi+ pi- eta' K+ pi0
1369 if (GenBplusTag::PcheckDecay(genpart, 111, 111, 111, 321, 111)) {
1370 return +1 * (100000 * m_nPhotos + 1425);
1371 }//B+ decays to pi0 pi0 pi0 K+ pi0
1372 if (GenBplusTag::PcheckDecay(genpart, 111, 111, 221, 321, 111)) {
1373 return +1 * (100000 * m_nPhotos + 1426);
1374 }//B+ decays to pi0 pi0 eta K+ pi0
1375 if (GenBplusTag::PcheckDecay(genpart, 111, 221, 221, 321, 111)) {
1376 return +1 * (100000 * m_nPhotos + 1427);
1377 }//B+ decays to pi0 eta eta K+ pi0
1378 if (GenBplusTag::PcheckDecay(genpart, 111, 111, 331, 321, 111)) {
1379 return +1 * (100000 * m_nPhotos + 1428);
1380 }//B+ decays to pi0 pi0 eta' K+ pi0
1381 if (GenBplusTag::PcheckDecay(genpart, 111, 221, 331, 321, 111)) {
1382 return +1 * (100000 * m_nPhotos + 1429);
1383 }//B+ decays to pi0 eta eta' K+ pi0
1384 if (GenBplusTag::PcheckDecay(genpart, 113, 10311, 211)) {
1385 return +1 * (100000 * m_nPhotos + 1430);
1386 }//B+ decays to rho0 K_0*0 pi+
1387 if (GenBplusTag::PcheckDecay(genpart, 213, 10311, 111)) {
1388 return +1 * (100000 * m_nPhotos + 1431);
1389 }//B+ decays to rho+ K_0*0 pi0
1390 if (GenBplusTag::PcheckDecay(genpart, 213, 10311, 221)) {
1391 return +1 * (100000 * m_nPhotos + 1432);
1392 }//B+ decays to rho+ K_0*0 eta
1393 if (GenBplusTag::PcheckDecay(genpart, 213, 10311, 331)) {
1394 return +1 * (100000 * m_nPhotos + 1433);
1395 }//B+ decays to rho+ K_0*0 eta'
1396 if (GenBplusTag::PcheckDecay(genpart, 213, 10321, -211)) {
1397 return +1 * (100000 * m_nPhotos + 1434);
1398 }//B+ decays to rho+ K_0*+ pi-
1399 if (GenBplusTag::PcheckDecay(genpart, 113, 10321, 111)) {
1400 return +1 * (100000 * m_nPhotos + 1435);
1401 }//B+ decays to rho0 K_0*+ pi0
1402 if (GenBplusTag::PcheckDecay(genpart, 113, 10321, 221)) {
1403 return +1 * (100000 * m_nPhotos + 1436);
1404 }//B+ decays to rho0 K_0*+ eta
1405 if (GenBplusTag::PcheckDecay(genpart, 113, 10321, 331)) {
1406 return +1 * (100000 * m_nPhotos + 1437);
1407 }//B+ decays to rho0 K_0*+ eta'
1408 if (GenBplusTag::PcheckDecay(genpart, 211, 211, 10311, -211)) {
1409 return +1 * (100000 * m_nPhotos + 1438);
1410 }//B+ decays to pi+ pi+ K_0*0 pi-
1411 if (GenBplusTag::PcheckDecay(genpart, 211, 111, 10311, 111)) {
1412 return +1 * (100000 * m_nPhotos + 1439);
1413 }//B+ decays to pi+ pi0 K_0*0 pi0
1414 if (GenBplusTag::PcheckDecay(genpart, 211, 111, 10311, 221)) {
1415 return +1 * (100000 * m_nPhotos + 1440);
1416 }//B+ decays to pi+ pi0 K_0*0 eta
1417 if (GenBplusTag::PcheckDecay(genpart, 211, 111, 10311, 331)) {
1418 return +1 * (100000 * m_nPhotos + 1441);
1419 }//B+ decays to pi+ pi0 K_0*0 eta'
1420 if (GenBplusTag::PcheckDecay(genpart, 111, 111, 10321, 111)) {
1421 return +1 * (100000 * m_nPhotos + 1442);
1422 }//B+ decays to pi0 pi0 K_0*+ pi0
1423 if (GenBplusTag::PcheckDecay(genpart, 111, 111, 10321, 221)) {
1424 return +1 * (100000 * m_nPhotos + 1443);
1425 }//B+ decays to pi0 pi0 K_0*+ eta
1426 if (GenBplusTag::PcheckDecay(genpart, 111, 111, 10321, 331)) {
1427 return +1 * (100000 * m_nPhotos + 1444);
1428 }//B+ decays to pi0 pi0 K_0*+ eta'
1429 if (GenBplusTag::PcheckDecay(genpart, 313, 10221, 211)) {
1430 return +1 * (100000 * m_nPhotos + 1445);
1431 }//B+ decays to K*0 f_0 pi+
1432 if (GenBplusTag::PcheckDecay(genpart, 323, 10221, 111)) {
1433 return +1 * (100000 * m_nPhotos + 1446);
1434 }//B+ decays to K*+ f_0 pi0
1435 if (GenBplusTag::PcheckDecay(genpart, 323, 10221, 221)) {
1436 return +1 * (100000 * m_nPhotos + 1447);
1437 }//B+ decays to K*+ f_0 eta
1438 if (GenBplusTag::PcheckDecay(genpart, 323, 10221, 331)) {
1439 return +1 * (100000 * m_nPhotos + 1448);
1440 }//B+ decays to K*+ f_0 eta'
1441 if (GenBplusTag::PcheckDecay(genpart, 20113, 323)) {
1442 return +1 * (100000 * m_nPhotos + 1449);
1443 }//B+ decays to a_10 K*+
1444 if (GenBplusTag::PcheckDecay(genpart, 20113, 321, 111)) {
1445 return +1 * (100000 * m_nPhotos + 1450);
1446 }//B+ decays to a_10 K+ pi0
1447 if (GenBplusTag::PcheckDecay(genpart, 20113, 311, 211)) {
1448 return +1 * (100000 * m_nPhotos + 1451);
1449 }//B+ decays to a_10 K0 pi+
1450 if (GenBplusTag::PcheckDecay(genpart, 20213, 313)) {
1451 return +1 * (100000 * m_nPhotos + 1452);
1452 }//B+ decays to a_1+ K*0
1453 if (GenBplusTag::PcheckDecay(genpart, 20213, 321, -211)) {
1454 return +1 * (100000 * m_nPhotos + 1453);
1455 }//B+ decays to a_1+ K+ pi-
1456 if (GenBplusTag::PcheckDecay(genpart, 20213, 311, 111)) {
1457 return +1 * (100000 * m_nPhotos + 1454);
1458 }//B+ decays to a_1+ K0 pi0
1459 if (GenBplusTag::PcheckDecay(genpart, 323, 10111, 111)) {
1460 return +1 * (100000 * m_nPhotos + 1455);
1461 }//B+ decays to K*+ a_00 pi0
1462 if (GenBplusTag::PcheckDecay(genpart, 313, 10211, 111)) {
1463 return +1 * (100000 * m_nPhotos + 1456);
1464 }//B+ decays to K*0 a_0+ pi0
1465 if (GenBplusTag::PcheckDecay(genpart, 313, -313, 211)) {
1466 return +1 * (100000 * m_nPhotos + 1457);
1467 }//B+ decays to K*0 anti-K*0 pi+
1468 if (GenBplusTag::PcheckDecay(genpart, -313, 323, 111)) {
1469 return +1 * (100000 * m_nPhotos + 1458);
1470 }//B+ decays to anti-K*0 K*+ pi0
1471 if (GenBplusTag::PcheckDecay(genpart, -313, 323, 221)) {
1472 return +1 * (100000 * m_nPhotos + 1459);
1473 }//B+ decays to anti-K*0 K*+ eta
1474 if (GenBplusTag::PcheckDecay(genpart, -313, 323, 331)) {
1475 return +1 * (100000 * m_nPhotos + 1460);
1476 }//B+ decays to anti-K*0 K*+ eta'
1477 if (GenBplusTag::PcheckDecay(genpart, 333, 113, 211)) {
1478 return +1 * (100000 * m_nPhotos + 1461);
1479 }//B+ decays to phi rho0 pi+
1480 if (GenBplusTag::PcheckDecay(genpart, 333, 223, 211)) {
1481 return +1 * (100000 * m_nPhotos + 1462);
1482 }//B+ decays to phi omega pi+
1483 if (GenBplusTag::PcheckDecay(genpart, 333, 10221, 211)) {
1484 return +1 * (100000 * m_nPhotos + 1463);
1485 }//B+ decays to phi f_0 pi+
1486 if (GenBplusTag::PcheckDecay(genpart, 333, 213, 111)) {
1487 return +1 * (100000 * m_nPhotos + 1464);
1488 }//B+ decays to phi rho+ pi0
1489 if (GenBplusTag::PcheckDecay(genpart, 333, 213, 221)) {
1490 return +1 * (100000 * m_nPhotos + 1465);
1491 }//B+ decays to phi rho+ eta
1492 if (GenBplusTag::PcheckDecay(genpart, 333, 213, 331)) {
1493 return +1 * (100000 * m_nPhotos + 1466);
1494 }//B+ decays to phi rho+ eta'
1495 if (GenBplusTag::PcheckDecay(genpart, 333, 211, -211, 211)) {
1496 return +1 * (100000 * m_nPhotos + 1467);
1497 }//B+ decays to phi pi+ pi- pi+
1498 if (GenBplusTag::PcheckDecay(genpart, 333, 211, 111, 111)) {
1499 return +1 * (100000 * m_nPhotos + 1468);
1500 }//B+ decays to phi pi+ pi0 pi0
1501 if (GenBplusTag::PcheckDecay(genpart, 333, 211, 221, 111)) {
1502 return +1 * (100000 * m_nPhotos + 1469);
1503 }//B+ decays to phi pi+ eta pi0
1504 if (GenBplusTag::PcheckDecay(genpart, 333, 211, 331, 111)) {
1505 return +1 * (100000 * m_nPhotos + 1470);
1506 }//B+ decays to phi pi+ eta' pi0
1507 if (GenBplusTag::PcheckDecay(genpart, -311, 321, 213, -211)) {
1508 return +1 * (100000 * m_nPhotos + 1471);
1509 }//B+ decays to anti-K0 K+ rho+ pi-
1510 if (GenBplusTag::PcheckDecay(genpart, -311, 321, -213, 211)) {
1511 return +1 * (100000 * m_nPhotos + 1472);
1512 }//B+ decays to anti-K0 K+ rho- pi+
1513 if (GenBplusTag::PcheckDecay(genpart, -311, 321, 113, 111)) {
1514 return +1 * (100000 * m_nPhotos + 1473);
1515 }//B+ decays to anti-K0 K+ rho0 pi0
1516 if (GenBplusTag::PcheckDecay(genpart, -311, 321, 113, 221)) {
1517 return +1 * (100000 * m_nPhotos + 1474);
1518 }//B+ decays to anti-K0 K+ rho0 eta
1519 if (GenBplusTag::PcheckDecay(genpart, -311, 321, 113, 331)) {
1520 return +1 * (100000 * m_nPhotos + 1475);
1521 }//B+ decays to anti-K0 K+ rho0 eta'
1522 if (GenBplusTag::PcheckDecay(genpart, -311, 321, 223, 111)) {
1523 return +1 * (100000 * m_nPhotos + 1476);
1524 }//B+ decays to anti-K0 K+ omega pi0
1525 if (GenBplusTag::PcheckDecay(genpart, -311, 321, 10221, 111)) {
1526 return +1 * (100000 * m_nPhotos + 1477);
1527 }//B+ decays to anti-K0 K+ f_0 pi0
1528 if (GenBplusTag::PcheckDecay(genpart, 321, -321, 113, 211)) {
1529 return +1 * (100000 * m_nPhotos + 1478);
1530 }//B+ decays to K+ K- rho0 pi+
1531 if (GenBplusTag::PcheckDecay(genpart, 321, -321, 213, 111)) {
1532 return +1 * (100000 * m_nPhotos + 1479);
1533 }//B+ decays to K+ K- rho+ pi0
1534 if (GenBplusTag::PcheckDecay(genpart, 321, -321, 213, 221)) {
1535 return +1 * (100000 * m_nPhotos + 1480);
1536 }//B+ decays to K+ K- rho+ eta
1537 if (GenBplusTag::PcheckDecay(genpart, 321, -321, 213, 331)) {
1538 return +1 * (100000 * m_nPhotos + 1481);
1539 }//B+ decays to K+ K- rho+ eta'
1540 if (GenBplusTag::PcheckDecay(genpart, 321, -321, 223, 211)) {
1541 return +1 * (100000 * m_nPhotos + 1482);
1542 }//B+ decays to K+ K- omega pi+
1543 if (GenBplusTag::PcheckDecay(genpart, 311, -311, 113, 211)) {
1544 return +1 * (100000 * m_nPhotos + 1483);
1545 }//B+ decays to K0 anti-K0 rho0 pi+
1546 if (GenBplusTag::PcheckDecay(genpart, 311, -311, 223, 211)) {
1547 return +1 * (100000 * m_nPhotos + 1484);
1548 }//B+ decays to K0 anti-K0 omega pi+
1549 if (GenBplusTag::PcheckDecay(genpart, 311, -311, 10221, 211)) {
1550 return +1 * (100000 * m_nPhotos + 1485);
1551 }//B+ decays to K0 anti-K0 f_0 pi+
1552 if (GenBplusTag::PcheckDecay(genpart, 311, -311, 213, 111)) {
1553 return +1 * (100000 * m_nPhotos + 1486);
1554 }//B+ decays to K0 anti-K0 rho+ pi0
1555 if (GenBplusTag::PcheckDecay(genpart, 311, -311, 213, 221)) {
1556 return +1 * (100000 * m_nPhotos + 1487);
1557 }//B+ decays to K0 anti-K0 rho+ eta
1558 if (GenBplusTag::PcheckDecay(genpart, 311, -311, 213, 331)) {
1559 return +1 * (100000 * m_nPhotos + 1488);
1560 }//B+ decays to K0 anti-K0 rho+ eta'
1561 if (GenBplusTag::PcheckDecay(genpart, 311, -321, 213, 211)) {
1562 return +1 * (100000 * m_nPhotos + 1489);
1563 }//B+ decays to K0 K- rho+ pi+
1564 if (GenBplusTag::PcheckDecay(genpart, 311, -321, 211, 211, 111)) {
1565 return +1 * (100000 * m_nPhotos + 1490);
1566 }//B+ decays to K0 K- pi+ pi+ pi0
1567 if (GenBplusTag::PcheckDecay(genpart, 311, -321, 211, 211, 221)) {
1568 return +1 * (100000 * m_nPhotos + 1491);
1569 }//B+ decays to K0 K- pi+ pi+ eta
1570 if (GenBplusTag::PcheckDecay(genpart, 311, -321, 211, 211, 331)) {
1571 return +1 * (100000 * m_nPhotos + 1492);
1572 }//B+ decays to K0 K- pi+ pi+ eta'
1573 if (GenBplusTag::PcheckDecay(genpart, 321, -321, 211, -211, 211)) {
1574 return +1 * (100000 * m_nPhotos + 1493);
1575 }//B+ decays to K+ K- pi+ pi- pi+
1576 if (GenBplusTag::PcheckDecay(genpart, 321, -321, 211, 111, 111)) {
1577 return +1 * (100000 * m_nPhotos + 1494);
1578 }//B+ decays to K+ K- pi+ pi0 pi0
1579 if (GenBplusTag::PcheckDecay(genpart, 321, -321, 211, 221, 111)) {
1580 return +1 * (100000 * m_nPhotos + 1495);
1581 }//B+ decays to K+ K- pi+ eta pi0
1582 if (GenBplusTag::PcheckDecay(genpart, 321, -321, 211, 331, 111)) {
1583 return +1 * (100000 * m_nPhotos + 1496);
1584 }//B+ decays to K+ K- pi+ eta' pi0
1585 if (GenBplusTag::PcheckDecay(genpart, 311, -311, 211, -211, 211)) {
1586 return +1 * (100000 * m_nPhotos + 1497);
1587 }//B+ decays to K0 anti-K0 pi+ pi- pi+
1588 if (GenBplusTag::PcheckDecay(genpart, 311, -311, 211, 111, 111)) {
1589 return +1 * (100000 * m_nPhotos + 1498);
1590 }//B+ decays to K0 anti-K0 pi+ pi0 pi0
1591 if (GenBplusTag::PcheckDecay(genpart, 311, -311, 211, 221, 111)) {
1592 return +1 * (100000 * m_nPhotos + 1499);
1593 }//B+ decays to K0 anti-K0 pi+ eta pi0
1594 if (GenBplusTag::PcheckDecay(genpart, 311, -311, 211, 331, 111)) {
1595 return +1 * (100000 * m_nPhotos + 1500);
1596 }//B+ decays to K0 anti-K0 pi+ eta' pi0
1597 if (GenBplusTag::PcheckDecay(genpart, -311, 321, 211, -211, 111)) {
1598 return +1 * (100000 * m_nPhotos + 1501);
1599 }//B+ decays to anti-K0 K+ pi+ pi- pi0
1600 if (GenBplusTag::PcheckDecay(genpart, -311, 321, 211, -211, 221)) {
1601 return +1 * (100000 * m_nPhotos + 1502);
1602 }//B+ decays to anti-K0 K+ pi+ pi- eta
1603 if (GenBplusTag::PcheckDecay(genpart, -311, 321, 211, -211, 331)) {
1604 return +1 * (100000 * m_nPhotos + 1503);
1605 }//B+ decays to anti-K0 K+ pi+ pi- eta'
1606 if (GenBplusTag::PcheckDecay(genpart, -311, 321, 111, 111, 111)) {
1607 return +1 * (100000 * m_nPhotos + 1504);
1608 }//B+ decays to anti-K0 K+ pi0 pi0 pi0
1609 if (GenBplusTag::PcheckDecay(genpart, -311, 321, 111, 221, 111)) {
1610 return +1 * (100000 * m_nPhotos + 1505);
1611 }//B+ decays to anti-K0 K+ pi0 eta pi0
1612 if (GenBplusTag::PcheckDecay(genpart, -311, 321, 111, 331, 111)) {
1613 return +1 * (100000 * m_nPhotos + 1506);
1614 }//B+ decays to anti-K0 K+ pi0 eta' pi0
1615 if (GenBplusTag::PcheckDecay(genpart, 313, -321, 211, 211)) {
1616 return +1 * (100000 * m_nPhotos + 1507);
1617 }//B+ decays to K*0 K- pi+ pi+
1618 if (GenBplusTag::PcheckDecay(genpart, -323, 311, 211, 211)) {
1619 return +1 * (100000 * m_nPhotos + 1508);
1620 }//B+ decays to K*- K0 pi+ pi+
1621 if (GenBplusTag::PcheckDecay(genpart, 323, -321, 211, 111)) {
1622 return +1 * (100000 * m_nPhotos + 1509);
1623 }//B+ decays to K*+ K- pi+ pi0
1624 if (GenBplusTag::PcheckDecay(genpart, -323, 321, 211, 111)) {
1625 return +1 * (100000 * m_nPhotos + 1510);
1626 }//B+ decays to K*- K+ pi+ pi0
1627 if (GenBplusTag::PcheckDecay(genpart, 313, -311, 211, 111)) {
1628 return +1 * (100000 * m_nPhotos + 1511);
1629 }//B+ decays to K*0 anti-K0 pi+ pi0
1630 if (GenBplusTag::PcheckDecay(genpart, 311, -313, 211, 111)) {
1631 return +1 * (100000 * m_nPhotos + 1512);
1632 }//B+ decays to K0 anti-K*0 pi+ pi0
1633 if (GenBplusTag::PcheckDecay(genpart, 321, -313, 111, 111)) {
1634 return +1 * (100000 * m_nPhotos + 1513);
1635 }//B+ decays to K+ anti-K*0 pi0 pi0
1636 if (GenBplusTag::PcheckDecay(genpart, 321, -313, 221, 111)) {
1637 return +1 * (100000 * m_nPhotos + 1514);
1638 }//B+ decays to K+ anti-K*0 eta pi0
1639 if (GenBplusTag::PcheckDecay(genpart, 321, -313, 331, 111)) {
1640 return +1 * (100000 * m_nPhotos + 1515);
1641 }//B+ decays to K+ anti-K*0 eta' pi0
1642 if (GenBplusTag::PcheckDecay(genpart, 323, -311, 111, 111)) {
1643 return +1 * (100000 * m_nPhotos + 1516);
1644 }//B+ decays to K*+ anti-K0 pi0 pi0
1645 if (GenBplusTag::PcheckDecay(genpart, 323, -311, 221, 111)) {
1646 return +1 * (100000 * m_nPhotos + 1517);
1647 }//B+ decays to K*+ anti-K0 eta pi0
1648 if (GenBplusTag::PcheckDecay(genpart, 323, -311, 331, 111)) {
1649 return +1 * (100000 * m_nPhotos + 1518);
1650 }//B+ decays to K*+ anti-K0 eta' pi0
1651 if (GenBplusTag::PcheckDecay(genpart, 333, 323, 111)) {
1652 return +1 * (100000 * m_nPhotos + 1519);
1653 }//B+ decays to phi K*+ pi0
1654 if (GenBplusTag::PcheckDecay(genpart, 333, 321, 113)) {
1655 return +1 * (100000 * m_nPhotos + 1520);
1656 }//B+ decays to phi K+ rho0
1657 if (GenBplusTag::PcheckDecay(genpart, 333, 321, 223)) {
1658 return +1 * (100000 * m_nPhotos + 1521);
1659 }//B+ decays to phi K+ omega
1660 if (GenBplusTag::PcheckDecay(genpart, 333, 321, 10221)) {
1661 return +1 * (100000 * m_nPhotos + 1522);
1662 }//B+ decays to phi K+ f_0
1663 if (GenBplusTag::PcheckDecay(genpart, 333, 311, 213)) {
1664 return +1 * (100000 * m_nPhotos + 1523);
1665 }//B+ decays to phi K0 rho+
1666 if (GenBplusTag::PcheckDecay(genpart, 333, 311, 211, 111)) {
1667 return +1 * (100000 * m_nPhotos + 1524);
1668 }//B+ decays to phi K0 pi+ pi0
1669 if (GenBplusTag::PcheckDecay(genpart, 333, 321, 211, -211)) {
1670 return +1 * (100000 * m_nPhotos + 1525);
1671 }//B+ decays to phi K+ pi+ pi-
1672 if (GenBplusTag::PcheckDecay(genpart, 333, 321, 111, 111)) {
1673 return +1 * (100000 * m_nPhotos + 1526);
1674 }//B+ decays to phi K+ pi0 pi0
1675 if (GenBplusTag::PcheckDecay(genpart, 333, 321, 221, 111)) {
1676 return +1 * (100000 * m_nPhotos + 1527);
1677 }//B+ decays to phi K+ eta pi0
1678 if (GenBplusTag::PcheckDecay(genpart, 333, 321, 331, 111)) {
1679 return +1 * (100000 * m_nPhotos + 1528);
1680 }//B+ decays to phi K+ eta' pi0
1681 if (GenBplusTag::PcheckDecay(genpart, -321, 321, 323, 111)) {
1682 return +1 * (100000 * m_nPhotos + 1529);
1683 }//B+ decays to K- K+ K*+ pi0
1684 if (GenBplusTag::PcheckDecay(genpart, 321, -323, 321, 111)) {
1685 return +1 * (100000 * m_nPhotos + 1530);
1686 }//B+ decays to K+ K*- K+ pi0
1687 if (GenBplusTag::PcheckDecay(genpart, 321, 313, -311, 111)) {
1688 return +1 * (100000 * m_nPhotos + 1531);
1689 }//B+ decays to K+ K*0 anti-K0 pi0
1690 if (GenBplusTag::PcheckDecay(genpart, 321, 311, -313, 111)) {
1691 return +1 * (100000 * m_nPhotos + 1532);
1692 }//B+ decays to K+ K0 anti-K*0 pi0
1693 if (GenBplusTag::PcheckDecay(genpart, 311, 323, -311, 111)) {
1694 return +1 * (100000 * m_nPhotos + 1533);
1695 }//B+ decays to K0 K*+ anti-K0 pi0
1696 if (GenBplusTag::PcheckDecay(genpart, -321, 321, 321, 113)) {
1697 return +1 * (100000 * m_nPhotos + 1534);
1698 }//B+ decays to K- K+ K+ rho0
1699 if (GenBplusTag::PcheckDecay(genpart, -321, 321, 321, 223)) {
1700 return +1 * (100000 * m_nPhotos + 1535);
1701 }//B+ decays to K- K+ K+ omega
1702 if (GenBplusTag::PcheckDecay(genpart, -321, 321, 321, 10221)) {
1703 return +1 * (100000 * m_nPhotos + 1536);
1704 }//B+ decays to K- K+ K+ f_0
1705 if (GenBplusTag::PcheckDecay(genpart, -321, 321, 311, 213)) {
1706 return +1 * (100000 * m_nPhotos + 1537);
1707 }//B+ decays to K- K+ K0 rho+
1708 if (GenBplusTag::PcheckDecay(genpart, 321, -321, 321, 111, 111)) {
1709 return +1 * (100000 * m_nPhotos + 1538);
1710 }//B+ decays to K+ K- K+ pi0 pi0
1711 if (GenBplusTag::PcheckDecay(genpart, 321, -321, 321, 221, 111)) {
1712 return +1 * (100000 * m_nPhotos + 1539);
1713 }//B+ decays to K+ K- K+ eta pi0
1714 if (GenBplusTag::PcheckDecay(genpart, 321, -321, 321, 331, 111)) {
1715 return +1 * (100000 * m_nPhotos + 1540);
1716 }//B+ decays to K+ K- K+ eta' pi0
1717 if (GenBplusTag::PcheckDecay(genpart, 321, -321, 311, 211, 111)) {
1718 return +1 * (100000 * m_nPhotos + 1541);
1719 }//B+ decays to K+ K- K0 pi+ pi0
1720 if (GenBplusTag::PcheckDecay(genpart, 311, -311, 321, 111, 111)) {
1721 return +1 * (100000 * m_nPhotos + 1542);
1722 }//B+ decays to K0 anti-K0 K+ pi0 pi0
1723 if (GenBplusTag::PcheckDecay(genpart, 311, -311, 321, 221, 111)) {
1724 return +1 * (100000 * m_nPhotos + 1543);
1725 }//B+ decays to K0 anti-K0 K+ eta pi0
1726 if (GenBplusTag::PcheckDecay(genpart, 311, -311, 321, 331, 111)) {
1727 return +1 * (100000 * m_nPhotos + 1544);
1728 }//B+ decays to K0 anti-K0 K+ eta' pi0
1729 if (GenBplusTag::PcheckDecay(genpart, 311, -311, 311, 211, 111)) {
1730 return +1 * (100000 * m_nPhotos + 1545);
1731 }//B+ decays to K0 anti-K0 K0 pi+ pi0
1732 if (GenBplusTag::PcheckDecay(genpart, 333, 10311, 211)) {
1733 return +1 * (100000 * m_nPhotos + 1546);
1734 }//B+ decays to phi K_0*0 pi+
1735 if (GenBplusTag::PcheckDecay(genpart, 333, 10321, 111)) {
1736 return +1 * (100000 * m_nPhotos + 1547);
1737 }//B+ decays to phi K_0*+ pi0
1738 if (GenBplusTag::PcheckDecay(genpart, 333, 10321, 221)) {
1739 return +1 * (100000 * m_nPhotos + 1548);
1740 }//B+ decays to phi K_0*+ eta
1741 if (GenBplusTag::PcheckDecay(genpart, 333, 10321, 331)) {
1742 return +1 * (100000 * m_nPhotos + 1549);
1743 }//B+ decays to phi K_0*+ eta'
1744 if (GenBplusTag::PcheckDecay(genpart, -321, 321, 10321, 111)) {
1745 return +1 * (100000 * m_nPhotos + 1550);
1746 }//B+ decays to K- K+ K_0*+ pi0
1747 if (GenBplusTag::PcheckDecay(genpart, -321, 321, 10321, 221)) {
1748 return +1 * (100000 * m_nPhotos + 1551);
1749 }//B+ decays to K- K+ K_0*+ eta
1750 if (GenBplusTag::PcheckDecay(genpart, -321, 321, 10321, 331)) {
1751 return +1 * (100000 * m_nPhotos + 1552);
1752 }//B+ decays to K- K+ K_0*+ eta'
1753 if (GenBplusTag::PcheckDecay(genpart, 321, 321, -10321, 111)) {
1754 return +1 * (100000 * m_nPhotos + 1553);
1755 }//B+ decays to K+ K+ K_0*- pi0
1756 if (GenBplusTag::PcheckDecay(genpart, 321, 321, -10321, 221)) {
1757 return +1 * (100000 * m_nPhotos + 1554);
1758 }//B+ decays to K+ K+ K_0*- eta
1759 if (GenBplusTag::PcheckDecay(genpart, 321, 321, -10321, 331)) {
1760 return +1 * (100000 * m_nPhotos + 1555);
1761 }//B+ decays to K+ K+ K_0*- eta'
1762 if (GenBplusTag::PcheckDecay(genpart, -321, 321, 10311, 211)) {
1763 return +1 * (100000 * m_nPhotos + 1556);
1764 }//B+ decays to K- K+ K_0*0 pi+
1765 if (GenBplusTag::PcheckDecay(genpart, 321, 321, -10311, -211)) {
1766 return +1 * (100000 * m_nPhotos + 1557);
1767 }//B+ decays to K+ K+ anti-K_0*0 pi-
1768 if (GenBplusTag::PcheckDecay(genpart, 311, 311, -10311, 211)) {
1769 return +1 * (100000 * m_nPhotos + 1558);
1770 }//B+ decays to K0 K0 anti-K_0*0 pi+
1771 if (GenBplusTag::PcheckDecay(genpart, 321, -10311, 311, 111)) {
1772 return +1 * (100000 * m_nPhotos + 1559);
1773 }//B+ decays to K+ anti-K_0*0 K0 pi0
1774 if (GenBplusTag::PcheckDecay(genpart, 321, -10311, 311, 221)) {
1775 return +1 * (100000 * m_nPhotos + 1560);
1776 }//B+ decays to K+ anti-K_0*0 K0 eta
1777 if (GenBplusTag::PcheckDecay(genpart, 321, -10311, 311, 331)) {
1778 return +1 * (100000 * m_nPhotos + 1561);
1779 }//B+ decays to K+ anti-K_0*0 K0 eta'
1780 if (GenBplusTag::PcheckDecay(genpart, 321, 10311, -311, 111)) {
1781 return +1 * (100000 * m_nPhotos + 1562);
1782 }//B+ decays to K+ K_0*0 anti-K0 pi0
1783 if (GenBplusTag::PcheckDecay(genpart, 321, 10311, -311, 221)) {
1784 return +1 * (100000 * m_nPhotos + 1563);
1785 }//B+ decays to K+ K_0*0 anti-K0 eta
1786 if (GenBplusTag::PcheckDecay(genpart, 321, 10311, -311, 331)) {
1787 return +1 * (100000 * m_nPhotos + 1564);
1788 }//B+ decays to K+ K_0*0 anti-K0 eta'
1789 if (GenBplusTag::PcheckDecay(genpart, 333, 20313, 211)) {
1790 return +1 * (100000 * m_nPhotos + 1565);
1791 }//B+ decays to phi K'_10 pi+
1792 if (GenBplusTag::PcheckDecay(genpart, 333, 20323, 111)) {
1793 return +1 * (100000 * m_nPhotos + 1566);
1794 }//B+ decays to phi K'_1+ pi0
1795 if (GenBplusTag::PcheckDecay(genpart, 333, 20323, 221)) {
1796 return +1 * (100000 * m_nPhotos + 1567);
1797 }//B+ decays to phi K'_1+ eta
1798 if (GenBplusTag::PcheckDecay(genpart, 333, 20323, 331)) {
1799 return +1 * (100000 * m_nPhotos + 1568);
1800 }//B+ decays to phi K'_1+ eta'
1801 if (GenBplusTag::PcheckDecay(genpart, -321, 321, 20313, 211)) {
1802 return +1 * (100000 * m_nPhotos + 1569);
1803 }//B+ decays to K- K+ K'_10 pi+
1804 if (GenBplusTag::PcheckDecay(genpart, -321, 321, 20323, 111)) {
1805 return +1 * (100000 * m_nPhotos + 1570);
1806 }//B+ decays to K- K+ K'_1+ pi0
1807 if (GenBplusTag::PcheckDecay(genpart, -321, 321, 20323, 221)) {
1808 return +1 * (100000 * m_nPhotos + 1571);
1809 }//B+ decays to K- K+ K'_1+ eta
1810 if (GenBplusTag::PcheckDecay(genpart, -321, 321, 20323, 331)) {
1811 return +1 * (100000 * m_nPhotos + 1572);
1812 }//B+ decays to K- K+ K'_1+ eta'
1813 if (GenBplusTag::PcheckDecay(genpart, 321, 321, -20323, 111)) {
1814 return +1 * (100000 * m_nPhotos + 1573);
1815 }//B+ decays to K+ K+ K'_1- pi0
1816 if (GenBplusTag::PcheckDecay(genpart, 321, 321, -20313, -211)) {
1817 return +1 * (100000 * m_nPhotos + 1574);
1818 }//B+ decays to K+ K+ anti-K'_10 pi-
1819 if (GenBplusTag::PcheckDecay(genpart, 311, -311, 20313, 211)) {
1820 return +1 * (100000 * m_nPhotos + 1575);
1821 }//B+ decays to K0 anti-K0 K'_10 pi+
1822 if (GenBplusTag::PcheckDecay(genpart, 311, -311, 20323, 111)) {
1823 return +1 * (100000 * m_nPhotos + 1576);
1824 }//B+ decays to K0 anti-K0 K'_1+ pi0
1825 if (GenBplusTag::PcheckDecay(genpart, 311, -311, 20323, 221)) {
1826 return +1 * (100000 * m_nPhotos + 1577);
1827 }//B+ decays to K0 anti-K0 K'_1+ eta
1828 if (GenBplusTag::PcheckDecay(genpart, 311, -311, 20323, 331)) {
1829 return +1 * (100000 * m_nPhotos + 1578);
1830 }//B+ decays to K0 anti-K0 K'_1+ eta'
1831 if (GenBplusTag::PcheckDecay(genpart, 311, 311, -20313, 211)) {
1832 return +1 * (100000 * m_nPhotos + 1579);
1833 }//B+ decays to K0 K0 anti-K'_10 pi+
1834 if (GenBplusTag::PcheckDecay(genpart, -311, -311, 20323, 111)) {
1835 return +1 * (100000 * m_nPhotos + 1580);
1836 }//B+ decays to anti-K0 anti-K0 K'_1+ pi0
1837 if (GenBplusTag::PcheckDecay(genpart, -311, -311, 20323, 221)) {
1838 return +1 * (100000 * m_nPhotos + 1581);
1839 }//B+ decays to anti-K0 anti-K0 K'_1+ eta
1840 if (GenBplusTag::PcheckDecay(genpart, -311, -311, 20323, 331)) {
1841 return +1 * (100000 * m_nPhotos + 1582);
1842 }//B+ decays to anti-K0 anti-K0 K'_1+ eta'
1843 if (GenBplusTag::PcheckDecay(genpart, 321, 311, -20313, 111)) {
1844 return +1 * (100000 * m_nPhotos + 1583);
1845 }//B+ decays to K+ K0 anti-K'_10 pi0
1846 if (GenBplusTag::PcheckDecay(genpart, 321, 311, -20313, 221)) {
1847 return +1 * (100000 * m_nPhotos + 1584);
1848 }//B+ decays to K+ K0 anti-K'_10 eta
1849 if (GenBplusTag::PcheckDecay(genpart, 321, 311, -20313, 331)) {
1850 return +1 * (100000 * m_nPhotos + 1585);
1851 }//B+ decays to K+ K0 anti-K'_10 eta'
1852 if (GenBplusTag::PcheckDecay(genpart, 321, 20313, -311, 111)) {
1853 return +1 * (100000 * m_nPhotos + 1586);
1854 }//B+ decays to K+ K'_10 anti-K0 pi0
1855 if (GenBplusTag::PcheckDecay(genpart, 321, 20313, -311, 221)) {
1856 return +1 * (100000 * m_nPhotos + 1587);
1857 }//B+ decays to K+ K'_10 anti-K0 eta
1858 if (GenBplusTag::PcheckDecay(genpart, 321, 20313, -311, 331)) {
1859 return +1 * (100000 * m_nPhotos + 1588);
1860 }//B+ decays to K+ K'_10 anti-K0 eta'
1861 if (GenBplusTag::PcheckDecay(genpart, 333, 333, 321)) {
1862 return +1 * (100000 * m_nPhotos + 1589);
1863 }//B+ decays to phi phi K+
1864 if (GenBplusTag::PcheckDecay(genpart, 333, 333, 211)) {
1865 return +1 * (100000 * m_nPhotos + 1590);
1866 }//B+ decays to phi phi pi+
1867 if (GenBplusTag::PcheckDecay(genpart, 333, 321, -321, 321)) {
1868 return +1 * (100000 * m_nPhotos + 1591);
1869 }//B+ decays to phi K+ K- K+
1870 if (GenBplusTag::PcheckDecay(genpart, 333, 311, -311, 321)) {
1871 return +1 * (100000 * m_nPhotos + 1592);
1872 }//B+ decays to phi K0 anti-K0 K+
1873 if (GenBplusTag::PcheckDecay(genpart, 333, 311, -311, 211)) {
1874 return +1 * (100000 * m_nPhotos + 1593);
1875 }//B+ decays to phi K0 anti-K0 pi+
1876 if (GenBplusTag::PcheckDecay(genpart, 333, -311, 321, 111)) {
1877 return +1 * (100000 * m_nPhotos + 1594);
1878 }//B+ decays to phi anti-K0 K+ pi0
1879 if (GenBplusTag::PcheckDecay(genpart, 321, -321, 321, -321, 211)) {
1880 return +1 * (100000 * m_nPhotos + 1595);
1881 }//B+ decays to K+ K- K+ K- pi+
1882 if (GenBplusTag::PcheckDecay(genpart, 321, -321, 311, -311, 211)) {
1883 return +1 * (100000 * m_nPhotos + 1596);
1884 }//B+ decays to K+ K- K0 anti-K0 pi+
1885 if (GenBplusTag::PcheckDecay(genpart, 321, -321, 321, -311, 111)) {
1886 return +1 * (100000 * m_nPhotos + 1597);
1887 }//B+ decays to K+ K- K+ anti-K0 pi0
1888 if (GenBplusTag::PcheckDecay(genpart, 311, -311, -311, 321, 111)) {
1889 return +1 * (100000 * m_nPhotos + 1598);
1890 }//B+ decays to K0 anti-K0 anti-K0 K+ pi0
1891 if (GenBplusTag::PcheckDecay(genpart, 333, 333, 323)) {
1892 return +1 * (100000 * m_nPhotos + 1599);
1893 }//B+ decays to phi phi K*+
1894 if (GenBplusTag::PcheckDecay(genpart, 333, 321, -321, 323)) {
1895 return +1 * (100000 * m_nPhotos + 1600);
1896 }//B+ decays to phi K+ K- K*+
1897 if (GenBplusTag::PcheckDecay(genpart, 333, 311, -311, 323)) {
1898 return +1 * (100000 * m_nPhotos + 1601);
1899 }//B+ decays to phi K0 anti-K0 K*+
1900 if (GenBplusTag::PcheckDecay(genpart, 333, -311, 321, 313)) {
1901 return +1 * (100000 * m_nPhotos + 1602);
1902 }//B+ decays to phi anti-K0 K+ K*0
1903 if (GenBplusTag::PcheckDecay(genpart, 333, 321, -321, 321, 111)) {
1904 return +1 * (100000 * m_nPhotos + 1603);
1905 }//B+ decays to phi K+ K- K+ pi0
1906 if (GenBplusTag::PcheckDecay(genpart, 333, 321, -321, 311, 211)) {
1907 return +1 * (100000 * m_nPhotos + 1604);
1908 }//B+ decays to phi K+ K- K0 pi+
1909 if (GenBplusTag::PcheckDecay(genpart, 333, 311, -311, 321, 111)) {
1910 return +1 * (100000 * m_nPhotos + 1605);
1911 }//B+ decays to phi K0 anti-K0 K+ pi0
1912 if (GenBplusTag::PcheckDecay(genpart, 333, 311, -311, 311, 211)) {
1913 return +1 * (100000 * m_nPhotos + 1606);
1914 }//B+ decays to phi K0 anti-K0 K0 pi+
1915 if (GenBplusTag::PcheckDecay(genpart, 333, -311, 321, 321, -211)) {
1916 return +1 * (100000 * m_nPhotos + 1607);
1917 }//B+ decays to phi anti-K0 K+ K+ pi-
1918 if (GenBplusTag::PcheckDecay(genpart, 20213, 20113)) {
1919 return +1 * (100000 * m_nPhotos + 1608);
1920 }//B+ decays to a_1+ a_10
1921 if (GenBplusTag::PcheckDecay(genpart, 443, 321)) {
1922 return +1 * (100000 * m_nPhotos + 1609);
1923 }//B+ decays to J/psi K+
1924 if (GenBplusTag::PcheckDecay(genpart, 443, 323)) {
1925 return +1 * (100000 * m_nPhotos + 1610);
1926 }//B+ decays to J/psi K*+
1927 if (GenBplusTag::PcheckDecay(genpart, 443, 211)) {
1928 return +1 * (100000 * m_nPhotos + 1611);
1929 }//B+ decays to J/psi pi+
1930 if (GenBplusTag::PcheckDecay(genpart, 443, 213)) {
1931 return +1 * (100000 * m_nPhotos + 1612);
1932 }//B+ decays to J/psi rho+
1933 if (GenBplusTag::PcheckDecay(genpart, 443, 311, 211)) {
1934 return +1 * (100000 * m_nPhotos + 1613);
1935 }//B+ decays to J/psi K0 pi+
1936 if (GenBplusTag::PcheckDecay(genpart, 443, 321, 111)) {
1937 return +1 * (100000 * m_nPhotos + 1614);
1938 }//B+ decays to J/psi K+ pi0
1939 if (GenBplusTag::PcheckDecay(genpart, 443, 20323)) {
1940 return +1 * (100000 * m_nPhotos + 1615);
1941 }//B+ decays to J/psi K'_1+
1942 if (GenBplusTag::PcheckDecay(genpart, 443, 325)) {
1943 return +1 * (100000 * m_nPhotos + 1616);
1944 }//B+ decays to J/psi K_2*+
1945 if (GenBplusTag::PcheckDecay(genpart, 443, 10323)) {
1946 return +1 * (100000 * m_nPhotos + 1617);
1947 }//B+ decays to J/psi K_1+
1948 if (GenBplusTag::PcheckDecay(genpart, 443, 321, 211, -211)) {
1949 return +1 * (100000 * m_nPhotos + 1618);
1950 }//B+ decays to J/psi K+ pi+ pi-
1951 if (GenBplusTag::PcheckDecay(genpart, 443, 321, 321, -321)) {
1952 return +1 * (100000 * m_nPhotos + 1619);
1953 }//B+ decays to J/psi K+ K+ K-
1954 if (GenBplusTag::PcheckDecay(genpart, 443, 221, 321)) {
1955 return +1 * (100000 * m_nPhotos + 1620);
1956 }//B+ decays to J/psi eta K+
1957 if (GenBplusTag::PcheckDecay(genpart, 443, 333, 321)) {
1958 return +1 * (100000 * m_nPhotos + 1621);
1959 }//B+ decays to J/psi phi K+
1960 if (GenBplusTag::PcheckDecay(genpart, 443, 223, 321)) {
1961 return +1 * (100000 * m_nPhotos + 1622);
1962 }//B+ decays to J/psi omega K+
1963 if (GenBplusTag::PcheckDecay(genpart, 443, -211, -211, 211, 211, 211)) {
1964 return +1 * (100000 * m_nPhotos + 1623);
1965 }//B+ decays to J/psi pi- pi- pi+ pi+ pi+
1966 if (GenBplusTag::PcheckDecay(genpart, 443, 2212, -3122)) {
1967 return +1 * (100000 * m_nPhotos + 1624);
1968 }//B+ decays to J/psi p+ anti-Lambda0
1969 if (GenBplusTag::PcheckDecay(genpart, 100443, 321)) {
1970 return +1 * (100000 * m_nPhotos + 1625);
1971 }//B+ decays to psi(2S) K+
1972 if (GenBplusTag::PcheckDecay(genpart, 100443, 323)) {
1973 return +1 * (100000 * m_nPhotos + 1626);
1974 }//B+ decays to psi(2S) K*+
1975 if (GenBplusTag::PcheckDecay(genpart, 100443, 311, 211)) {
1976 return +1 * (100000 * m_nPhotos + 1627);
1977 }//B+ decays to psi(2S) K0 pi+
1978 if (GenBplusTag::PcheckDecay(genpart, 100443, 321, 111)) {
1979 return +1 * (100000 * m_nPhotos + 1628);
1980 }//B+ decays to psi(2S) K+ pi0
1981 if (GenBplusTag::PcheckDecay(genpart, 100443, 321, 211, -211)) {
1982 return +1 * (100000 * m_nPhotos + 1629);
1983 }//B+ decays to psi(2S) K+ pi+ pi-
1984 if (GenBplusTag::PcheckDecay(genpart, 100443, 321, 111, 111)) {
1985 return +1 * (100000 * m_nPhotos + 1630);
1986 }//B+ decays to psi(2S) K+ pi0 pi0
1987 if (GenBplusTag::PcheckDecay(genpart, 100443, 311, 211, 111)) {
1988 return +1 * (100000 * m_nPhotos + 1631);
1989 }//B+ decays to psi(2S) K0 pi+ pi0
1990 if (GenBplusTag::PcheckDecay(genpart, 100443, 10323)) {
1991 return +1 * (100000 * m_nPhotos + 1632);
1992 }//B+ decays to psi(2S) K_1+
1993 if (GenBplusTag::PcheckDecay(genpart, 100443, 211)) {
1994 return +1 * (100000 * m_nPhotos + 1633);
1995 }//B+ decays to psi(2S) pi+
1996 if (GenBplusTag::PcheckDecay(genpart, 100443, 333, 321)) {
1997 return +1 * (100000 * m_nPhotos + 1634);
1998 }//B+ decays to psi(2S) phi K+
1999 if (GenBplusTag::PcheckDecay(genpart, 441, 321)) {
2000 return +1 * (100000 * m_nPhotos + 1635);
2001 }//B+ decays to eta_c K+
2002 if (GenBplusTag::PcheckDecay(genpart, 323, 441)) {
2003 return +1 * (100000 * m_nPhotos + 1636);
2004 }//B+ decays to K*+ eta_c
2005 if (GenBplusTag::PcheckDecay(genpart, 441, 311, 211)) {
2006 return +1 * (100000 * m_nPhotos + 1637);
2007 }//B+ decays to eta_c K0 pi+
2008 if (GenBplusTag::PcheckDecay(genpart, 441, 321, 111)) {
2009 return +1 * (100000 * m_nPhotos + 1638);
2010 }//B+ decays to eta_c K+ pi0
2011 if (GenBplusTag::PcheckDecay(genpart, 441, 321, 211, -211)) {
2012 return +1 * (100000 * m_nPhotos + 1639);
2013 }//B+ decays to eta_c K+ pi+ pi-
2014 if (GenBplusTag::PcheckDecay(genpart, 441, 321, 111, 111)) {
2015 return +1 * (100000 * m_nPhotos + 1640);
2016 }//B+ decays to eta_c K+ pi0 pi0
2017 if (GenBplusTag::PcheckDecay(genpart, 441, 311, 211, 111)) {
2018 return +1 * (100000 * m_nPhotos + 1641);
2019 }//B+ decays to eta_c K0 pi+ pi0
2020 if (GenBplusTag::PcheckDecay(genpart, 100441, 321)) {
2021 return +1 * (100000 * m_nPhotos + 1642);
2022 }//B+ decays to eta_c(2S) K+
2023 if (GenBplusTag::PcheckDecay(genpart, 323, 100441)) {
2024 return +1 * (100000 * m_nPhotos + 1643);
2025 }//B+ decays to K*+ eta_c(2S)
2026 if (GenBplusTag::PcheckDecay(genpart, 100441, 311, 211)) {
2027 return +1 * (100000 * m_nPhotos + 1644);
2028 }//B+ decays to eta_c(2S) K0 pi+
2029 if (GenBplusTag::PcheckDecay(genpart, 100441, 321, 111)) {
2030 return +1 * (100000 * m_nPhotos + 1645);
2031 }//B+ decays to eta_c(2S) K+ pi0
2032 if (GenBplusTag::PcheckDecay(genpart, 100441, 321, 211, -211)) {
2033 return +1 * (100000 * m_nPhotos + 1646);
2034 }//B+ decays to eta_c(2S) K+ pi+ pi-
2035 if (GenBplusTag::PcheckDecay(genpart, 100441, 321, 111, 111)) {
2036 return +1 * (100000 * m_nPhotos + 1647);
2037 }//B+ decays to eta_c(2S) K+ pi0 pi0
2038 if (GenBplusTag::PcheckDecay(genpart, 100441, 311, 211, 111)) {
2039 return +1 * (100000 * m_nPhotos + 1648);
2040 }//B+ decays to eta_c(2S) K0 pi+ pi0
2041 if (GenBplusTag::PcheckDecay(genpart, 10441, 321)) {
2042 return +1 * (100000 * m_nPhotos + 1649);
2043 }//B+ decays to chi_c0 K+
2044 if (GenBplusTag::PcheckDecay(genpart, 323, 10441)) {
2045 return +1 * (100000 * m_nPhotos + 1650);
2046 }//B+ decays to K*+ chi_c0
2047 if (GenBplusTag::PcheckDecay(genpart, 10441, 311, 211)) {
2048 return +1 * (100000 * m_nPhotos + 1651);
2049 }//B+ decays to chi_c0 K0 pi+
2050 if (GenBplusTag::PcheckDecay(genpart, 10441, 321, 111)) {
2051 return +1 * (100000 * m_nPhotos + 1652);
2052 }//B+ decays to chi_c0 K+ pi0
2053 if (GenBplusTag::PcheckDecay(genpart, 10441, 321, 211, -211)) {
2054 return +1 * (100000 * m_nPhotos + 1653);
2055 }//B+ decays to chi_c0 K+ pi+ pi-
2056 if (GenBplusTag::PcheckDecay(genpart, 10441, 321, 111, 111)) {
2057 return +1 * (100000 * m_nPhotos + 1654);
2058 }//B+ decays to chi_c0 K+ pi0 pi0
2059 if (GenBplusTag::PcheckDecay(genpart, 10441, 311, 211, 111)) {
2060 return +1 * (100000 * m_nPhotos + 1655);
2061 }//B+ decays to chi_c0 K0 pi+ pi0
2062 if (GenBplusTag::PcheckDecay(genpart, 20443, 321)) {
2063 return +1 * (100000 * m_nPhotos + 1656);
2064 }//B+ decays to chi_c1 K+
2065 if (GenBplusTag::PcheckDecay(genpart, 20443, 323)) {
2066 return +1 * (100000 * m_nPhotos + 1657);
2067 }//B+ decays to chi_c1 K*+
2068 if (GenBplusTag::PcheckDecay(genpart, 20443, 311, 211)) {
2069 return +1 * (100000 * m_nPhotos + 1658);
2070 }//B+ decays to chi_c1 K0 pi+
2071 if (GenBplusTag::PcheckDecay(genpart, 20443, 321, 111)) {
2072 return +1 * (100000 * m_nPhotos + 1659);
2073 }//B+ decays to chi_c1 K+ pi0
2074 if (GenBplusTag::PcheckDecay(genpart, 20443, 321, 211, -211)) {
2075 return +1 * (100000 * m_nPhotos + 1660);
2076 }//B+ decays to chi_c1 K+ pi+ pi-
2077 if (GenBplusTag::PcheckDecay(genpart, 20443, 321, 111, 111)) {
2078 return +1 * (100000 * m_nPhotos + 1661);
2079 }//B+ decays to chi_c1 K+ pi0 pi0
2080 if (GenBplusTag::PcheckDecay(genpart, 20443, 311, 211, 111)) {
2081 return +1 * (100000 * m_nPhotos + 1662);
2082 }//B+ decays to chi_c1 K0 pi+ pi0
2083 if (GenBplusTag::PcheckDecay(genpart, 20443, 211)) {
2084 return +1 * (100000 * m_nPhotos + 1663);
2085 }//B+ decays to chi_c1 pi+
2086 if (GenBplusTag::PcheckDecay(genpart, 445, 321)) {
2087 return +1 * (100000 * m_nPhotos + 1664);
2088 }//B+ decays to chi_c2 K+
2089 if (GenBplusTag::PcheckDecay(genpart, 445, 323)) {
2090 return +1 * (100000 * m_nPhotos + 1665);
2091 }//B+ decays to chi_c2 K*+
2092 if (GenBplusTag::PcheckDecay(genpart, 445, 311, 211)) {
2093 return +1 * (100000 * m_nPhotos + 1666);
2094 }//B+ decays to chi_c2 K0 pi+
2095 if (GenBplusTag::PcheckDecay(genpart, 445, 321, 111)) {
2096 return +1 * (100000 * m_nPhotos + 1667);
2097 }//B+ decays to chi_c2 K+ pi0
2098 if (GenBplusTag::PcheckDecay(genpart, 445, 321, 211, -211)) {
2099 return +1 * (100000 * m_nPhotos + 1668);
2100 }//B+ decays to chi_c2 K+ pi+ pi-
2101 if (GenBplusTag::PcheckDecay(genpart, 445, 321, 111, 111)) {
2102 return +1 * (100000 * m_nPhotos + 1669);
2103 }//B+ decays to chi_c2 K+ pi0 pi0
2104 if (GenBplusTag::PcheckDecay(genpart, 445, 311, 211, 111)) {
2105 return +1 * (100000 * m_nPhotos + 1670);
2106 }//B+ decays to chi_c2 K0 pi+ pi0
2107 if (GenBplusTag::PcheckDecay(genpart, 30443, 321)) {
2108 return +1 * (100000 * m_nPhotos + 1671);
2109 }//B+ decays to psi(3770) K+
2110 if (GenBplusTag::PcheckDecay(genpart, 30443, 323)) {
2111 return +1 * (100000 * m_nPhotos + 1672);
2112 }//B+ decays to psi(3770) K*+
2113 if (GenBplusTag::PcheckDecay(genpart, 30443, 311, 211)) {
2114 return +1 * (100000 * m_nPhotos + 1673);
2115 }//B+ decays to psi(3770) K0 pi+
2116 if (GenBplusTag::PcheckDecay(genpart, 30443, 321, 111)) {
2117 return +1 * (100000 * m_nPhotos + 1674);
2118 }//B+ decays to psi(3770) K+ pi0
2119 if (GenBplusTag::PcheckDecay(genpart, 30443, 321, 211, -211)) {
2120 return +1 * (100000 * m_nPhotos + 1675);
2121 }//B+ decays to psi(3770) K+ pi+ pi-
2122 if (GenBplusTag::PcheckDecay(genpart, 30443, 321, 111, 111)) {
2123 return +1 * (100000 * m_nPhotos + 1676);
2124 }//B+ decays to psi(3770) K+ pi0 pi0
2125 if (GenBplusTag::PcheckDecay(genpart, 30443, 311, 211, 111)) {
2126 return +1 * (100000 * m_nPhotos + 1677);
2127 }//B+ decays to psi(3770) K0 pi+ pi0
2128 if (GenBplusTag::PcheckDecay(genpart, 30443, 10323)) {
2129 return +1 * (100000 * m_nPhotos + 1678);
2130 }//B+ decays to psi(3770) K_1+
2131 if (GenBplusTag::PcheckDecay(genpart, 9010443, 321)) {
2132 return +1 * (100000 * m_nPhotos + 1679);
2133 }//B+ decays to psi(4160) K+
2134 if (GenBplusTag::PcheckDecay(genpart, 10443, 321)) {
2135 return +1 * (100000 * m_nPhotos + 1680);
2136 }//B+ decays to h_c K+
2137 if (GenBplusTag::PcheckDecay(genpart, -421, 431)) {
2138 return +1 * (100000 * m_nPhotos + 1681);
2139 }//B+ decays to anti-D0 D_s+
2140 if (GenBplusTag::PcheckDecay(genpart, -423, 431)) {
2141 return +1 * (100000 * m_nPhotos + 1682);
2142 }//B+ decays to anti-D*0 D_s+
2143 if (GenBplusTag::PcheckDecay(genpart, 433, -421)) {
2144 return +1 * (100000 * m_nPhotos + 1683);
2145 }//B+ decays to D_s*+ anti-D0
2146 if (GenBplusTag::PcheckDecay(genpart, 433, -423)) {
2147 return +1 * (100000 * m_nPhotos + 1684);
2148 }//B+ decays to D_s*+ anti-D*0
2149 if (GenBplusTag::PcheckDecay(genpart, -20423, 431)) {
2150 return +1 * (100000 * m_nPhotos + 1685);
2151 }//B+ decays to anti-D'_10 D_s+
2152 if (GenBplusTag::PcheckDecay(genpart, -20423, 433)) {
2153 return +1 * (100000 * m_nPhotos + 1686);
2154 }//B+ decays to anti-D'_10 D_s*+
2155 if (GenBplusTag::PcheckDecay(genpart, -10423, 431)) {
2156 return +1 * (100000 * m_nPhotos + 1687);
2157 }//B+ decays to anti-D_10 D_s+
2158 if (GenBplusTag::PcheckDecay(genpart, -10423, 433)) {
2159 return +1 * (100000 * m_nPhotos + 1688);
2160 }//B+ decays to anti-D_10 D_s*+
2161 if (GenBplusTag::PcheckDecay(genpart, -425, 431)) {
2162 return +1 * (100000 * m_nPhotos + 1689);
2163 }//B+ decays to anti-D_2*0 D_s+
2164 if (GenBplusTag::PcheckDecay(genpart, -425, 433)) {
2165 return +1 * (100000 * m_nPhotos + 1690);
2166 }//B+ decays to anti-D_2*0 D_s*+
2167 if (GenBplusTag::PcheckDecay(genpart, 431, -411, 211)) {
2168 return +1 * (100000 * m_nPhotos + 1691);
2169 }//B+ decays to D_s+ D- pi+
2170 if (GenBplusTag::PcheckDecay(genpart, 431, -421, 111)) {
2171 return +1 * (100000 * m_nPhotos + 1692);
2172 }//B+ decays to D_s+ anti-D0 pi0
2173 if (GenBplusTag::PcheckDecay(genpart, 433, -411, 211)) {
2174 return +1 * (100000 * m_nPhotos + 1693);
2175 }//B+ decays to D_s*+ D- pi+
2176 if (GenBplusTag::PcheckDecay(genpart, 433, -421, 111)) {
2177 return +1 * (100000 * m_nPhotos + 1694);
2178 }//B+ decays to D_s*+ anti-D0 pi0
2179 if (GenBplusTag::PcheckDecay(genpart, 431, -411, 211, 111)) {
2180 return +1 * (100000 * m_nPhotos + 1695);
2181 }//B+ decays to D_s+ D- pi+ pi0
2182 if (GenBplusTag::PcheckDecay(genpart, 431, -421, 211, -211)) {
2183 return +1 * (100000 * m_nPhotos + 1696);
2184 }//B+ decays to D_s+ anti-D0 pi+ pi-
2185 if (GenBplusTag::PcheckDecay(genpart, 431, -421, 111, 111)) {
2186 return +1 * (100000 * m_nPhotos + 1697);
2187 }//B+ decays to D_s+ anti-D0 pi0 pi0
2188 if (GenBplusTag::PcheckDecay(genpart, 433, -411, 211, 111)) {
2189 return +1 * (100000 * m_nPhotos + 1698);
2190 }//B+ decays to D_s*+ D- pi+ pi0
2191 if (GenBplusTag::PcheckDecay(genpart, 433, -421, 211, -211)) {
2192 return +1 * (100000 * m_nPhotos + 1699);
2193 }//B+ decays to D_s*+ anti-D0 pi+ pi-
2194 if (GenBplusTag::PcheckDecay(genpart, 433, -421, 111, 111)) {
2195 return +1 * (100000 * m_nPhotos + 1700);
2196 }//B+ decays to D_s*+ anti-D0 pi0 pi0
2197 if (GenBplusTag::PcheckDecay(genpart, -421, 411, 311)) {
2198 return +1 * (100000 * m_nPhotos + 1701);
2199 }//B+ decays to anti-D0 D+ K0
2200 if (GenBplusTag::PcheckDecay(genpart, -421, 413, 311)) {
2201 return +1 * (100000 * m_nPhotos + 1702);
2202 }//B+ decays to anti-D0 D*+ K0
2203 if (GenBplusTag::PcheckDecay(genpart, -423, 411, 311)) {
2204 return +1 * (100000 * m_nPhotos + 1703);
2205 }//B+ decays to anti-D*0 D+ K0
2206 if (GenBplusTag::PcheckDecay(genpart, -423, 413, 311)) {
2207 return +1 * (100000 * m_nPhotos + 1704);
2208 }//B+ decays to anti-D*0 D*+ K0
2209 if (GenBplusTag::PcheckDecay(genpart, -421, 421, 321)) {
2210 return +1 * (100000 * m_nPhotos + 1705);
2211 }//B+ decays to anti-D0 D0 K+
2212 if (GenBplusTag::PcheckDecay(genpart, -423, 421, 321)) {
2213 return +1 * (100000 * m_nPhotos + 1706);
2214 }//B+ decays to anti-D*0 D0 K+
2215 if (GenBplusTag::PcheckDecay(genpart, -421, 423, 321)) {
2216 return +1 * (100000 * m_nPhotos + 1707);
2217 }//B+ decays to anti-D0 D*0 K+
2218 if (GenBplusTag::PcheckDecay(genpart, -423, 423, 321)) {
2219 return +1 * (100000 * m_nPhotos + 1708);
2220 }//B+ decays to anti-D*0 D*0 K+
2221 if (GenBplusTag::PcheckDecay(genpart, 411, -411, 321)) {
2222 return +1 * (100000 * m_nPhotos + 1709);
2223 }//B+ decays to D+ D- K+
2224 if (GenBplusTag::PcheckDecay(genpart, 413, -411, 321)) {
2225 return +1 * (100000 * m_nPhotos + 1710);
2226 }//B+ decays to D*+ D- K+
2227 if (GenBplusTag::PcheckDecay(genpart, 411, -413, 321)) {
2228 return +1 * (100000 * m_nPhotos + 1711);
2229 }//B+ decays to D+ D*- K+
2230 if (GenBplusTag::PcheckDecay(genpart, 413, -413, 321)) {
2231 return +1 * (100000 * m_nPhotos + 1712);
2232 }//B+ decays to D*+ D*- K+
2233 if (GenBplusTag::PcheckDecay(genpart, -421, 411, 313)) {
2234 return +1 * (100000 * m_nPhotos + 1713);
2235 }//B+ decays to anti-D0 D+ K*0
2236 if (GenBplusTag::PcheckDecay(genpart, -423, 411, 313)) {
2237 return +1 * (100000 * m_nPhotos + 1714);
2238 }//B+ decays to anti-D*0 D+ K*0
2239 if (GenBplusTag::PcheckDecay(genpart, -421, 413, 313)) {
2240 return +1 * (100000 * m_nPhotos + 1715);
2241 }//B+ decays to anti-D0 D*+ K*0
2242 if (GenBplusTag::PcheckDecay(genpart, -423, 413, 313)) {
2243 return +1 * (100000 * m_nPhotos + 1716);
2244 }//B+ decays to anti-D*0 D*+ K*0
2245 if (GenBplusTag::PcheckDecay(genpart, -421, 421, 323)) {
2246 return +1 * (100000 * m_nPhotos + 1717);
2247 }//B+ decays to anti-D0 D0 K*+
2248 if (GenBplusTag::PcheckDecay(genpart, -423, 421, 323)) {
2249 return +1 * (100000 * m_nPhotos + 1718);
2250 }//B+ decays to anti-D*0 D0 K*+
2251 if (GenBplusTag::PcheckDecay(genpart, -421, 423, 323)) {
2252 return +1 * (100000 * m_nPhotos + 1719);
2253 }//B+ decays to anti-D0 D*0 K*+
2254 if (GenBplusTag::PcheckDecay(genpart, -423, 423, 323)) {
2255 return +1 * (100000 * m_nPhotos + 1720);
2256 }//B+ decays to anti-D*0 D*0 K*+
2257 if (GenBplusTag::PcheckDecay(genpart, 411, -411, 323)) {
2258 return +1 * (100000 * m_nPhotos + 1721);
2259 }//B+ decays to D+ D- K*+
2260 if (GenBplusTag::PcheckDecay(genpart, 413, -411, 323)) {
2261 return +1 * (100000 * m_nPhotos + 1722);
2262 }//B+ decays to D*+ D- K*+
2263 if (GenBplusTag::PcheckDecay(genpart, 411, -413, 323)) {
2264 return +1 * (100000 * m_nPhotos + 1723);
2265 }//B+ decays to D+ D*- K*+
2266 if (GenBplusTag::PcheckDecay(genpart, 413, -413, 323)) {
2267 return +1 * (100000 * m_nPhotos + 1724);
2268 }//B+ decays to D*+ D*- K*+
2269 if (GenBplusTag::PcheckDecay(genpart, 411, -421)) {
2270 return +1 * (100000 * m_nPhotos + 1725);
2271 }//B+ decays to D+ anti-D0
2272 if (GenBplusTag::PcheckDecay(genpart, 413, -421)) {
2273 return +1 * (100000 * m_nPhotos + 1726);
2274 }//B+ decays to D*+ anti-D0
2275 if (GenBplusTag::PcheckDecay(genpart, -423, 411)) {
2276 return +1 * (100000 * m_nPhotos + 1727);
2277 }//B+ decays to anti-D*0 D+
2278 if (GenBplusTag::PcheckDecay(genpart, -423, 413)) {
2279 return +1 * (100000 * m_nPhotos + 1728);
2280 }//B+ decays to anti-D*0 D*+
2281 if (GenBplusTag::PcheckDecay(genpart, -423, 211)) {
2282 return +1 * (100000 * m_nPhotos + 1729);
2283 }//B+ decays to anti-D*0 pi+
2284 if (GenBplusTag::PcheckDecay(genpart, -421, 211)) {
2285 return +1 * (100000 * m_nPhotos + 1730);
2286 }//B+ decays to anti-D0 pi+
2287 if (GenBplusTag::PcheckDecay(genpart, 213, -421)) {
2288 return +1 * (100000 * m_nPhotos + 1731);
2289 }//B+ decays to rho+ anti-D0
2290 if (GenBplusTag::PcheckDecay(genpart, -423, 213)) {
2291 return +1 * (100000 * m_nPhotos + 1732);
2292 }//B+ decays to anti-D*0 rho+
2293 if (GenBplusTag::PcheckDecay(genpart, -421, 111, 211)) {
2294 return +1 * (100000 * m_nPhotos + 1733);
2295 }//B+ decays to anti-D0 pi0 pi+
2296 if (GenBplusTag::PcheckDecay(genpart, -423, 111, 211)) {
2297 return +1 * (100000 * m_nPhotos + 1734);
2298 }//B+ decays to anti-D*0 pi0 pi+
2299 if (GenBplusTag::PcheckDecay(genpart, -411, 211, 211)) {
2300 return +1 * (100000 * m_nPhotos + 1735);
2301 }//B+ decays to D- pi+ pi+
2302 if (GenBplusTag::PcheckDecay(genpart, -413, 211, 211)) {
2303 return +1 * (100000 * m_nPhotos + 1736);
2304 }//B+ decays to D*- pi+ pi+
2305 if (GenBplusTag::PcheckDecay(genpart, 20213, -421)) {
2306 return +1 * (100000 * m_nPhotos + 1737);
2307 }//B+ decays to a_1+ anti-D0
2308 if (GenBplusTag::PcheckDecay(genpart, -421, 113, 211)) {
2309 return +1 * (100000 * m_nPhotos + 1738);
2310 }//B+ decays to anti-D0 rho0 pi+
2311 if (GenBplusTag::PcheckDecay(genpart, -421, -211, 211, 211)) {
2312 return +1 * (100000 * m_nPhotos + 1739);
2313 }//B+ decays to anti-D0 pi- pi+ pi+
2314 if (GenBplusTag::PcheckDecay(genpart, -423, 20213)) {
2315 return +1 * (100000 * m_nPhotos + 1740);
2316 }//B+ decays to anti-D*0 a_1+
2317 if (GenBplusTag::PcheckDecay(genpart, -423, 113, 211)) {
2318 return +1 * (100000 * m_nPhotos + 1741);
2319 }//B+ decays to anti-D*0 rho0 pi+
2320 if (GenBplusTag::PcheckDecay(genpart, -423, -211, 211, 211)) {
2321 return +1 * (100000 * m_nPhotos + 1742);
2322 }//B+ decays to anti-D*0 pi- pi+ pi+
2323 if (GenBplusTag::PcheckDecay(genpart, -411, 213, 211)) {
2324 return +1 * (100000 * m_nPhotos + 1743);
2325 }//B+ decays to D- rho+ pi+
2326 if (GenBplusTag::PcheckDecay(genpart, -411, 111, 211, 211)) {
2327 return +1 * (100000 * m_nPhotos + 1744);
2328 }//B+ decays to D- pi0 pi+ pi+
2329 if (GenBplusTag::PcheckDecay(genpart, -413, 213, 211)) {
2330 return +1 * (100000 * m_nPhotos + 1745);
2331 }//B+ decays to D*- rho+ pi+
2332 if (GenBplusTag::PcheckDecay(genpart, -413, 111, 211, 211)) {
2333 return +1 * (100000 * m_nPhotos + 1746);
2334 }//B+ decays to D*- pi0 pi+ pi+
2335 if (GenBplusTag::PcheckDecay(genpart, -423, 213, 111)) {
2336 return +1 * (100000 * m_nPhotos + 1747);
2337 }//B+ decays to anti-D*0 rho+ pi0
2338 if (GenBplusTag::PcheckDecay(genpart, -423, 211, 111, 111)) {
2339 return +1 * (100000 * m_nPhotos + 1748);
2340 }//B+ decays to anti-D*0 pi+ pi0 pi0
2341 if (GenBplusTag::PcheckDecay(genpart, -10423, 211)) {
2342 return +1 * (100000 * m_nPhotos + 1749);
2343 }//B+ decays to anti-D_10 pi+
2344 if (GenBplusTag::PcheckDecay(genpart, -20423, 211)) {
2345 return +1 * (100000 * m_nPhotos + 1750);
2346 }//B+ decays to anti-D'_10 pi+
2347 if (GenBplusTag::PcheckDecay(genpart, -425, 211)) {
2348 return +1 * (100000 * m_nPhotos + 1751);
2349 }//B+ decays to anti-D_2*0 pi+
2350 if (GenBplusTag::PcheckDecay(genpart, -10423, 213)) {
2351 return +1 * (100000 * m_nPhotos + 1752);
2352 }//B+ decays to anti-D_10 rho+
2353 if (GenBplusTag::PcheckDecay(genpart, -20423, 213)) {
2354 return +1 * (100000 * m_nPhotos + 1753);
2355 }//B+ decays to anti-D'_10 rho+
2356 if (GenBplusTag::PcheckDecay(genpart, -425, 213)) {
2357 return +1 * (100000 * m_nPhotos + 1754);
2358 }//B+ decays to anti-D_2*0 rho+
2359 if (GenBplusTag::PcheckDecay(genpart, -10421, 211)) {
2360 return +1 * (100000 * m_nPhotos + 1755);
2361 }//B+ decays to anti-D_0*0 pi+
2362 if (GenBplusTag::PcheckDecay(genpart, -421, 321)) {
2363 return +1 * (100000 * m_nPhotos + 1756);
2364 }//B+ decays to anti-D0 K+
2365 if (GenBplusTag::PcheckDecay(genpart, -423, 321)) {
2366 return +1 * (100000 * m_nPhotos + 1757);
2367 }//B+ decays to anti-D*0 K+
2368 if (GenBplusTag::PcheckDecay(genpart, 323, -421)) {
2369 return +1 * (100000 * m_nPhotos + 1758);
2370 }//B+ decays to K*+ anti-D0
2371 if (GenBplusTag::PcheckDecay(genpart, -423, 323)) {
2372 return +1 * (100000 * m_nPhotos + 1759);
2373 }//B+ decays to anti-D*0 K*+
2374 if (GenBplusTag::PcheckDecay(genpart, 411, 111)) {
2375 return +1 * (100000 * m_nPhotos + 1760);
2376 }//B+ decays to D+ pi0
2377 if (GenBplusTag::PcheckDecay(genpart, 413, 111)) {
2378 return +1 * (100000 * m_nPhotos + 1761);
2379 }//B+ decays to D*+ pi0
2380 if (GenBplusTag::PcheckDecay(genpart, 411, -311)) {
2381 return +1 * (100000 * m_nPhotos + 1762);
2382 }//B+ decays to D+ anti-K0
2383 if (GenBplusTag::PcheckDecay(genpart, 413, -311)) {
2384 return +1 * (100000 * m_nPhotos + 1763);
2385 }//B+ decays to D*+ anti-K0
2386 if (GenBplusTag::PcheckDecay(genpart, -421, 10431)) {
2387 return +1 * (100000 * m_nPhotos + 1764);
2388 }//B+ decays to anti-D0 D_s0*+
2389 if (GenBplusTag::PcheckDecay(genpart, -423, 10431)) {
2390 return +1 * (100000 * m_nPhotos + 1765);
2391 }//B+ decays to anti-D*0 D_s0*+
2392 if (GenBplusTag::PcheckDecay(genpart, 10433, -421)) {
2393 return +1 * (100000 * m_nPhotos + 1766);
2394 }//B+ decays to D_s1+ anti-D0
2395 if (GenBplusTag::PcheckDecay(genpart, -423, 10433)) {
2396 return +1 * (100000 * m_nPhotos + 1767);
2397 }//B+ decays to anti-D*0 D_s1+
2398 if (GenBplusTag::PcheckDecay(genpart, -421, 321, -311)) {
2399 return +1 * (100000 * m_nPhotos + 1768);
2400 }//B+ decays to anti-D0 K+ anti-K0
2401 if (GenBplusTag::PcheckDecay(genpart, -421, 321, -313)) {
2402 return +1 * (100000 * m_nPhotos + 1769);
2403 }//B+ decays to anti-D0 K+ anti-K*0
2404 if (GenBplusTag::PcheckDecay(genpart, -423, 321, -313)) {
2405 return +1 * (100000 * m_nPhotos + 1770);
2406 }//B+ decays to anti-D*0 K+ anti-K*0
2407 if (GenBplusTag::PcheckDecay(genpart, -421, 223, 211)) {
2408 return +1 * (100000 * m_nPhotos + 1771);
2409 }//B+ decays to anti-D0 omega pi+
2410 if (GenBplusTag::PcheckDecay(genpart, -423, 223, 211)) {
2411 return +1 * (100000 * m_nPhotos + 1772);
2412 }//B+ decays to anti-D*0 omega pi+
2413 if (GenBplusTag::PcheckDecay(genpart, -421, 20433)) {
2414 return +1 * (100000 * m_nPhotos + 1773);
2415 }//B+ decays to anti-D0 D'_s1+
2416 if (GenBplusTag::PcheckDecay(genpart, -423, 20433)) {
2417 return +1 * (100000 * m_nPhotos + 1774);
2418 }//B+ decays to anti-D*0 D'_s1+
2419 if (GenBplusTag::PcheckDecay(genpart, -4103, 2203)) {
2420 return +1 * (100000 * m_nPhotos + 1775);
2421 }//B+ decays to anti-cd_1 uu_1
2422 if (GenBplusTag::PcheckDecay(genpart, -4303, 2203)) {
2423 return +1 * (100000 * m_nPhotos + 1776);
2424 }//B+ decays to anti-cs_1 uu_1
2425 if (GenBplusTag::PcheckDecay(genpart, 2, -1, -4, 2)) {
2426 return +1 * (100000 * m_nPhotos + 1777);
2427 }//B+ decays to u anti-d anti-c u
2428 if (GenBplusTag::PcheckDecay(genpart, 2, -1, -4, 2)) {
2429 return +1 * (100000 * m_nPhotos + 1778);
2430 }//B+ decays to u anti-d anti-c u
2431 if (GenBplusTag::PcheckDecay(genpart, 2, -3, -4, 2)) {
2432 return +1 * (100000 * m_nPhotos + 1779);
2433 }//B+ decays to u anti-s anti-c u
2434 if (GenBplusTag::PcheckDecay(genpart, 4, -3, -4, 2)) {
2435 return +1 * (100000 * m_nPhotos + 1780);
2436 }//B+ decays to c anti-s anti-c u
2437 if (GenBplusTag::PcheckDecay(genpart, 4, -1, -4, 2)) {
2438 return +1 * (100000 * m_nPhotos + 1781);
2439 }//B+ decays to c anti-d anti-c u
2440 if (GenBplusTag::PcheckDecay(genpart, 2, -1, -2, 2)) {
2441 return +1 * (100000 * m_nPhotos + 1782);
2442 }//B+ decays to u anti-d anti-u u
2443 if (GenBplusTag::PcheckDecay(genpart, 4, -3, -2, 2)) {
2444 return +1 * (100000 * m_nPhotos + 1783);
2445 }//B+ decays to c anti-s anti-u u
2446 if (GenBplusTag::PcheckDecay(genpart, 2, -2, -1, 2)) {
2447 return +1 * (100000 * m_nPhotos + 1784);
2448 }//B+ decays to u anti-u anti-d u
2449 if (GenBplusTag::PcheckDecay(genpart, 1, -1, -1, 2)) {
2450 return +1 * (100000 * m_nPhotos + 1785);
2451 }//B+ decays to d anti-d anti-d u
2452 if (GenBplusTag::PcheckDecay(genpart, 3, -3, -1, 2)) {
2453 return +1 * (100000 * m_nPhotos + 1786);
2454 }//B+ decays to s anti-s anti-d u
2455 if (GenBplusTag::PcheckDecay(genpart, 2, -2, -3, 2)) {
2456 return +1 * (100000 * m_nPhotos + 1787);
2457 }//B+ decays to u anti-u anti-s u
2458 if (GenBplusTag::PcheckDecay(genpart, 1, -1, -3, 2)) {
2459 return +1 * (100000 * m_nPhotos + 1788);
2460 }//B+ decays to d anti-d anti-s u
2461 if (GenBplusTag::PcheckDecay(genpart, 3, -3, -3, 2)) {
2462 return +1 * (100000 * m_nPhotos + 1789);
2463 }//B+ decays to s anti-s anti-s u
2464 if (GenBplusTag::PcheckDecay(genpart, -3, 2)) {
2465 return +1 * (100000 * m_nPhotos + 1790);
2466 }//B+ decays to anti-s u
2467 if (GenBplusTag::PcheckDecay(genpart, -423, 321, 313)) {
2468 return +1 * (100000 * m_nPhotos + 1791);
2469 }//B+ decays to anti-D*0 K+ K*0
2470 if (GenBplusTag::PcheckDecay(genpart, -423, -211, 211, 211, 111)) {
2471 return +1 * (100000 * m_nPhotos + 1792);
2472 }//B+ decays to anti-D*0 pi- pi+ pi+ pi0
2473 if (GenBplusTag::PcheckDecay(genpart, -423, 211, 211, 211, -211, -211)) {
2474 return +1 * (100000 * m_nPhotos + 1793);
2475 }//B+ decays to anti-D*0 pi+ pi+ pi+ pi- pi-
2476 if (GenBplusTag::PcheckDecay(genpart, -413, 211, 211, 211, -211)) {
2477 return +1 * (100000 * m_nPhotos + 1794);
2478 }//B+ decays to D*- pi+ pi+ pi+ pi-
2479 if (GenBplusTag::PcheckDecay(genpart, -431, 211, 321)) {
2480 return +1 * (100000 * m_nPhotos + 1795);
2481 }//B+ decays to D_s- pi+ K+
2482 if (GenBplusTag::PcheckDecay(genpart, -433, 211, 321)) {
2483 return +1 * (100000 * m_nPhotos + 1796);
2484 }//B+ decays to D_s*- pi+ K+
2485 if (GenBplusTag::PcheckDecay(genpart, -431, 321, 321)) {
2486 return +1 * (100000 * m_nPhotos + 1797);
2487 }//B+ decays to D_s- K+ K+
2488 if (GenBplusTag::PcheckDecay(genpart, 221, 10321)) {
2489 return +1 * (100000 * m_nPhotos + 1798);
2490 }//B+ decays to eta K_0*+
2491 if (GenBplusTag::PcheckDecay(genpart, 221, 325)) {
2492 return +1 * (100000 * m_nPhotos + 1799);
2493 }//B+ decays to eta K_2*+
2494 if (GenBplusTag::PcheckDecay(genpart, 223, 10321)) {
2495 return +1 * (100000 * m_nPhotos + 1800);
2496 }//B+ decays to omega K_0*+
2497 if (GenBplusTag::PcheckDecay(genpart, 223, 325)) {
2498 return +1 * (100000 * m_nPhotos + 1801);
2499 }//B+ decays to omega K_2*+
2500 if (GenBplusTag::PcheckDecay(genpart, 313, 211)) {
2501 return +1 * (100000 * m_nPhotos + 1802);
2502 }//B+ decays to K*0 pi+
2503 if (GenBplusTag::PcheckDecay(genpart, 225, 321)) {
2504 return +1 * (100000 * m_nPhotos + 1803);
2505 }//B+ decays to f_2 K+
2506 if (GenBplusTag::PcheckDecay(genpart, 315, 211)) {
2507 return +1 * (100000 * m_nPhotos + 1804);
2508 }//B+ decays to K_2*0 pi+
2509 if (GenBplusTag::PcheckDecay(genpart, 323, 313)) {
2510 return +1 * (100000 * m_nPhotos + 1805);
2511 }//B+ decays to K*+ K*0
2512 if (GenBplusTag::PcheckDecay(genpart, 333, 10323)) {
2513 return +1 * (100000 * m_nPhotos + 1806);
2514 }//B+ decays to phi K_1+
2515 if (GenBplusTag::PcheckDecay(genpart, 333, 325)) {
2516 return +1 * (100000 * m_nPhotos + 1807);
2517 }//B+ decays to phi K_2*+
2518 if (GenBplusTag::PcheckDecay(genpart, 221, 321, 22)) {
2519 return +1 * (100000 * m_nPhotos + 1808);
2520 }//B+ decays to eta K+ gamma
2521 if (GenBplusTag::PcheckDecay(genpart, 331, 321, 22)) {
2522 return +1 * (100000 * m_nPhotos + 1809);
2523 }//B+ decays to eta' K+ gamma
2524 if (GenBplusTag::PcheckDecay(genpart, 333, 321, 22)) {
2525 return +1 * (100000 * m_nPhotos + 1810);
2526 }//B+ decays to phi K+ gamma
2527 if (GenBplusTag::PcheckDecay(genpart, 2212, -2212, 211)) {
2528 return +1 * (100000 * m_nPhotos + 1811);
2529 }//B+ decays to p+ anti-p- pi+
2530 if (GenBplusTag::PcheckDecay(genpart, 2212, -2212, 321)) {
2531 return +1 * (100000 * m_nPhotos + 1812);
2532 }//B+ decays to p+ anti-p- K+
2533 if (GenBplusTag::PcheckDecay(genpart, 2212, -2212, 323)) {
2534 return +1 * (100000 * m_nPhotos + 1813);
2535 }//B+ decays to p+ anti-p- K*+
2536 if (GenBplusTag::PcheckDecay(genpart, 2212, -3122, 22)) {
2537 return +1 * (100000 * m_nPhotos + 1814);
2538 }//B+ decays to p+ anti-Lambda0 gamma
2539 if (GenBplusTag::PcheckDecay(genpart, 2212, -3122, 111)) {
2540 return +1 * (100000 * m_nPhotos + 1815);
2541 }//B+ decays to p+ anti-Lambda0 pi0
2542 if (GenBplusTag::PcheckDecay(genpart, 2212, -3122, 211, -211)) {
2543 return +1 * (100000 * m_nPhotos + 1816);
2544 }//B+ decays to p+ anti-Lambda0 pi+ pi-
2545 if (GenBplusTag::PcheckDecay(genpart, 2212, -3122, 113)) {
2546 return +1 * (100000 * m_nPhotos + 1817);
2547 }//B+ decays to p+ anti-Lambda0 rho0
2548 if (GenBplusTag::PcheckDecay(genpart, 2212, -3122, 225)) {
2549 return +1 * (100000 * m_nPhotos + 1818);
2550 }//B+ decays to p+ anti-Lambda0 f_2
2551 if (GenBplusTag::PcheckDecay(genpart, 3122, -3122, 321)) {
2552 return +1 * (100000 * m_nPhotos + 1819);
2553 }//B+ decays to Lambda0 anti-Lambda0 K+
2554 if (GenBplusTag::PcheckDecay(genpart, 3122, -3122, 323)) {
2555 return +1 * (100000 * m_nPhotos + 1820);
2556 }//B+ decays to Lambda0 anti-Lambda0 K*+
2557 if (GenBplusTag::PcheckDecay(genpart, -4122, 2212, 211)) {
2558 return +1 * (100000 * m_nPhotos + 1821);
2559 }//B+ decays to anti-Lambda_c- p+ pi+
2560 if (GenBplusTag::PcheckDecay(genpart, -4122, 2212, 211, 111)) {
2561 return +1 * (100000 * m_nPhotos + 1822);
2562 }//B+ decays to anti-Lambda_c- p+ pi+ pi0
2563 if (GenBplusTag::PcheckDecay(genpart, -4122, 2212, 211, 211, -211)) {
2564 return +1 * (100000 * m_nPhotos + 1823);
2565 }//B+ decays to anti-Lambda_c- p+ pi+ pi+ pi-
2566 if (GenBplusTag::PcheckDecay(genpart, -4112, 2212)) {
2567 return +1 * (100000 * m_nPhotos + 1824);
2568 }//B+ decays to anti-Sigma_c0 p+
2569 if (GenBplusTag::PcheckDecay(genpart, -4112, 2212, 111)) {
2570 return +1 * (100000 * m_nPhotos + 1825);
2571 }//B+ decays to anti-Sigma_c0 p+ pi0
2572 if (GenBplusTag::PcheckDecay(genpart, -4112, 2212, -211, 211)) {
2573 return +1 * (100000 * m_nPhotos + 1826);
2574 }//B+ decays to anti-Sigma_c0 p+ pi- pi+
2575 if (GenBplusTag::PcheckDecay(genpart, -4222, 2212, 211, 211)) {
2576 return +1 * (100000 * m_nPhotos + 1827);
2577 }//B+ decays to anti-Sigma_c-- p+ pi+ pi+
2578 return +1 * genpart.size();
2579}// Rest of the B+ decays
2580
2581
2582int GenBplusTag::Mode_B_minus(std::vector<int>genpart)
2583{
2584 if (GenBplusTag::PcheckDecay(genpart, 423, 11, -12)) {
2585 return -1 * (100000 * m_nPhotos + 1001);
2586 }//B- decays to D*0 e- anti-nu_e
2587 if (GenBplusTag::PcheckDecay(genpart, 421, 11, -12)) {
2588 return -1 * (100000 * m_nPhotos + 1002);
2589 }//B- decays to D0 e- anti-nu_e
2590 if (GenBplusTag::PcheckDecay(genpart, 10423, 11, -12)) {
2591 return -1 * (100000 * m_nPhotos + 1003);
2592 }//B- decays to D_10 e- anti-nu_e
2593 if (GenBplusTag::PcheckDecay(genpart, 10421, 11, -12)) {
2594 return -1 * (100000 * m_nPhotos + 1004);
2595 }//B- decays to D_0*0 e- anti-nu_e
2596 if (GenBplusTag::PcheckDecay(genpart, 20423, 11, -12)) {
2597 return -1 * (100000 * m_nPhotos + 1005);
2598 }//B- decays to D'_10 e- anti-nu_e
2599 if (GenBplusTag::PcheckDecay(genpart, 425, 11, -12)) {
2600 return -1 * (100000 * m_nPhotos + 1006);
2601 }//B- decays to D_2*0 e- anti-nu_e
2602 if (GenBplusTag::PcheckDecay(genpart, 413, -211, 11, -12)) {
2603 return -1 * (100000 * m_nPhotos + 1007);
2604 }//B- decays to D*+ pi- e- anti-nu_e
2605 if (GenBplusTag::PcheckDecay(genpart, 423, 111, 11, -12)) {
2606 return -1 * (100000 * m_nPhotos + 1008);
2607 }//B- decays to D*0 pi0 e- anti-nu_e
2608 if (GenBplusTag::PcheckDecay(genpart, 411, -211, 11, -12)) {
2609 return -1 * (100000 * m_nPhotos + 1009);
2610 }//B- decays to D+ pi- e- anti-nu_e
2611 if (GenBplusTag::PcheckDecay(genpart, 421, 111, 11, -12)) {
2612 return -1 * (100000 * m_nPhotos + 1010);
2613 }//B- decays to D0 pi0 e- anti-nu_e
2614 if (GenBplusTag::PcheckDecay(genpart, 421, 211, -211, 11, -12)) {
2615 return -1 * (100000 * m_nPhotos + 1011);
2616 }//B- decays to D0 pi+ pi- e- anti-nu_e
2617 if (GenBplusTag::PcheckDecay(genpart, 411, -211, 111, 11, -12)) {
2618 return -1 * (100000 * m_nPhotos + 1012);
2619 }//B- decays to D+ pi- pi0 e- anti-nu_e
2620 if (GenBplusTag::PcheckDecay(genpart, 421, 111, 111, 11, -12)) {
2621 return -1 * (100000 * m_nPhotos + 1013);
2622 }//B- decays to D0 pi0 pi0 e- anti-nu_e
2623 if (GenBplusTag::PcheckDecay(genpart, 423, 211, -211, 11, -12)) {
2624 return -1 * (100000 * m_nPhotos + 1014);
2625 }//B- decays to D*0 pi+ pi- e- anti-nu_e
2626 if (GenBplusTag::PcheckDecay(genpart, 413, -211, 111, 11, -12)) {
2627 return -1 * (100000 * m_nPhotos + 1015);
2628 }//B- decays to D*+ pi- pi0 e- anti-nu_e
2629 if (GenBplusTag::PcheckDecay(genpart, 423, 111, 111, 11, -12)) {
2630 return -1 * (100000 * m_nPhotos + 1016);
2631 }//B- decays to D*0 pi0 pi0 e- anti-nu_e
2632 if (GenBplusTag::PcheckDecay(genpart, 433, -321, 11, -12)) {
2633 return -1 * (100000 * m_nPhotos + 1017);
2634 }//B- decays to D_s*+ K- e- anti-nu_e
2635 if (GenBplusTag::PcheckDecay(genpart, 431, -321, 11, -12)) {
2636 return -1 * (100000 * m_nPhotos + 1018);
2637 }//B- decays to D_s+ K- e- anti-nu_e
2638 if (GenBplusTag::PcheckDecay(genpart, 421, 221, 11, -12)) {
2639 return -1 * (100000 * m_nPhotos + 1019);
2640 }//B- decays to D0 eta e- anti-nu_e
2641 if (GenBplusTag::PcheckDecay(genpart, 423, 221, 11, -12)) {
2642 return -1 * (100000 * m_nPhotos + 1020);
2643 }//B- decays to D*0 eta e- anti-nu_e
2644 if (GenBplusTag::PcheckDecay(genpart, 423, 13, -14)) {
2645 return -1 * (100000 * m_nPhotos + 1021);
2646 }//B- decays to D*0 mu- anti-nu_mu
2647 if (GenBplusTag::PcheckDecay(genpart, 421, 13, -14)) {
2648 return -1 * (100000 * m_nPhotos + 1022);
2649 }//B- decays to D0 mu- anti-nu_mu
2650 if (GenBplusTag::PcheckDecay(genpart, 10423, 13, -14)) {
2651 return -1 * (100000 * m_nPhotos + 1023);
2652 }//B- decays to D_10 mu- anti-nu_mu
2653 if (GenBplusTag::PcheckDecay(genpart, 10421, 13, -14)) {
2654 return -1 * (100000 * m_nPhotos + 1024);
2655 }//B- decays to D_0*0 mu- anti-nu_mu
2656 if (GenBplusTag::PcheckDecay(genpart, 20423, 13, -14)) {
2657 return -1 * (100000 * m_nPhotos + 1025);
2658 }//B- decays to D'_10 mu- anti-nu_mu
2659 if (GenBplusTag::PcheckDecay(genpart, 425, 13, -14)) {
2660 return -1 * (100000 * m_nPhotos + 1026);
2661 }//B- decays to D_2*0 mu- anti-nu_mu
2662 if (GenBplusTag::PcheckDecay(genpart, 413, -211, 13, -14)) {
2663 return -1 * (100000 * m_nPhotos + 1027);
2664 }//B- decays to D*+ pi- mu- anti-nu_mu
2665 if (GenBplusTag::PcheckDecay(genpart, 423, 111, 13, -14)) {
2666 return -1 * (100000 * m_nPhotos + 1028);
2667 }//B- decays to D*0 pi0 mu- anti-nu_mu
2668 if (GenBplusTag::PcheckDecay(genpart, 411, -211, 13, -14)) {
2669 return -1 * (100000 * m_nPhotos + 1029);
2670 }//B- decays to D+ pi- mu- anti-nu_mu
2671 if (GenBplusTag::PcheckDecay(genpart, 421, 111, 13, -14)) {
2672 return -1 * (100000 * m_nPhotos + 1030);
2673 }//B- decays to D0 pi0 mu- anti-nu_mu
2674 if (GenBplusTag::PcheckDecay(genpart, 421, 211, -211, 13, -14)) {
2675 return -1 * (100000 * m_nPhotos + 1031);
2676 }//B- decays to D0 pi+ pi- mu- anti-nu_mu
2677 if (GenBplusTag::PcheckDecay(genpart, 411, -211, 111, 13, -14)) {
2678 return -1 * (100000 * m_nPhotos + 1032);
2679 }//B- decays to D+ pi- pi0 mu- anti-nu_mu
2680 if (GenBplusTag::PcheckDecay(genpart, 421, 111, 111, 13, -14)) {
2681 return -1 * (100000 * m_nPhotos + 1033);
2682 }//B- decays to D0 pi0 pi0 mu- anti-nu_mu
2683 if (GenBplusTag::PcheckDecay(genpart, 423, 211, -211, 13, -14)) {
2684 return -1 * (100000 * m_nPhotos + 1034);
2685 }//B- decays to D*0 pi+ pi- mu- anti-nu_mu
2686 if (GenBplusTag::PcheckDecay(genpart, 413, -211, 111, 13, -14)) {
2687 return -1 * (100000 * m_nPhotos + 1035);
2688 }//B- decays to D*+ pi- pi0 mu- anti-nu_mu
2689 if (GenBplusTag::PcheckDecay(genpart, 423, 111, 111, 13, -14)) {
2690 return -1 * (100000 * m_nPhotos + 1036);
2691 }//B- decays to D*0 pi0 pi0 mu- anti-nu_mu
2692 if (GenBplusTag::PcheckDecay(genpart, 433, -321, 13, -14)) {
2693 return -1 * (100000 * m_nPhotos + 1037);
2694 }//B- decays to D_s*+ K- mu- anti-nu_mu
2695 if (GenBplusTag::PcheckDecay(genpart, 431, -321, 13, -14)) {
2696 return -1 * (100000 * m_nPhotos + 1038);
2697 }//B- decays to D_s+ K- mu- anti-nu_mu
2698 if (GenBplusTag::PcheckDecay(genpart, 421, 221, 13, -14)) {
2699 return -1 * (100000 * m_nPhotos + 1039);
2700 }//B- decays to D0 eta mu- anti-nu_mu
2701 if (GenBplusTag::PcheckDecay(genpart, 423, 221, 13, -14)) {
2702 return -1 * (100000 * m_nPhotos + 1040);
2703 }//B- decays to D*0 eta mu- anti-nu_mu
2704 if (GenBplusTag::PcheckDecay(genpart, 423, 15, -16)) {
2705 return -1 * (100000 * m_nPhotos + 1041);
2706 }//B- decays to D*0 tau- anti-nu_tau
2707 if (GenBplusTag::PcheckDecay(genpart, 421, 15, -16)) {
2708 return -1 * (100000 * m_nPhotos + 1042);
2709 }//B- decays to D0 tau- anti-nu_tau
2710 if (GenBplusTag::PcheckDecay(genpart, 10423, 15, -16)) {
2711 return -1 * (100000 * m_nPhotos + 1043);
2712 }//B- decays to D_10 tau- anti-nu_tau
2713 if (GenBplusTag::PcheckDecay(genpart, 10421, 15, -16)) {
2714 return -1 * (100000 * m_nPhotos + 1044);
2715 }//B- decays to D_0*0 tau- anti-nu_tau
2716 if (GenBplusTag::PcheckDecay(genpart, 20423, 15, -16)) {
2717 return -1 * (100000 * m_nPhotos + 1045);
2718 }//B- decays to D'_10 tau- anti-nu_tau
2719 if (GenBplusTag::PcheckDecay(genpart, 425, 15, -16)) {
2720 return -1 * (100000 * m_nPhotos + 1046);
2721 }//B- decays to D_2*0 tau- anti-nu_tau
2722 if (GenBplusTag::PcheckDecay(genpart, 111, 11, -12)) {
2723 return -1 * (100000 * m_nPhotos + 1047);
2724 }//B- decays to pi0 e- anti-nu_e
2725 if (GenBplusTag::PcheckDecay(genpart, 221, 11, -12)) {
2726 return -1 * (100000 * m_nPhotos + 1048);
2727 }//B- decays to eta e- anti-nu_e
2728 if (GenBplusTag::PcheckDecay(genpart, 113, 11, -12)) {
2729 return -1 * (100000 * m_nPhotos + 1049);
2730 }//B- decays to rho0 e- anti-nu_e
2731 if (GenBplusTag::PcheckDecay(genpart, 223, 11, -12)) {
2732 return -1 * (100000 * m_nPhotos + 1050);
2733 }//B- decays to omega e- anti-nu_e
2734 if (GenBplusTag::PcheckDecay(genpart, 331, 11, -12)) {
2735 return -1 * (100000 * m_nPhotos + 1051);
2736 }//B- decays to eta' e- anti-nu_e
2737 if (GenBplusTag::PcheckDecay(genpart, 100421, 11, -12)) {
2738 return -1 * (100000 * m_nPhotos + 1052);
2739 }//B- decays to D(2S)0 e- anti-nu_e
2740 if (GenBplusTag::PcheckDecay(genpart, 100423, 11, -12)) {
2741 return -1 * (100000 * m_nPhotos + 1053);
2742 }//B- decays to D*(2S)0 e- anti-nu_e
2743 if (GenBplusTag::PcheckDecay(genpart, 61, 11, -12)) {
2744 return -1 * (100000 * m_nPhotos + 1054);
2745 }//B- decays to Xu0 e- anti-nu_e
2746 if (GenBplusTag::PcheckDecay(genpart, 111, 13, -14)) {
2747 return -1 * (100000 * m_nPhotos + 1055);
2748 }//B- decays to pi0 mu- anti-nu_mu
2749 if (GenBplusTag::PcheckDecay(genpart, 221, 13, -14)) {
2750 return -1 * (100000 * m_nPhotos + 1056);
2751 }//B- decays to eta mu- anti-nu_mu
2752 if (GenBplusTag::PcheckDecay(genpart, 113, 13, -14)) {
2753 return -1 * (100000 * m_nPhotos + 1057);
2754 }//B- decays to rho0 mu- anti-nu_mu
2755 if (GenBplusTag::PcheckDecay(genpart, 223, 13, -14)) {
2756 return -1 * (100000 * m_nPhotos + 1058);
2757 }//B- decays to omega mu- anti-nu_mu
2758 if (GenBplusTag::PcheckDecay(genpart, 331, 13, -14)) {
2759 return -1 * (100000 * m_nPhotos + 1059);
2760 }//B- decays to eta' mu- anti-nu_mu
2761 if (GenBplusTag::PcheckDecay(genpart, 100421, 13, -14)) {
2762 return -1 * (100000 * m_nPhotos + 1060);
2763 }//B- decays to D(2S)0 mu- anti-nu_mu
2764 if (GenBplusTag::PcheckDecay(genpart, 100423, 13, -14)) {
2765 return -1 * (100000 * m_nPhotos + 1061);
2766 }//B- decays to D*(2S)0 mu- anti-nu_mu
2767 if (GenBplusTag::PcheckDecay(genpart, 61, 13, -14)) {
2768 return -1 * (100000 * m_nPhotos + 1062);
2769 }//B- decays to Xu0 mu- anti-nu_mu
2770 if (GenBplusTag::PcheckDecay(genpart, 111, 15, -16)) {
2771 return -1 * (100000 * m_nPhotos + 1063);
2772 }//B- decays to pi0 tau- anti-nu_tau
2773 if (GenBplusTag::PcheckDecay(genpart, 221, 15, -16)) {
2774 return -1 * (100000 * m_nPhotos + 1064);
2775 }//B- decays to eta tau- anti-nu_tau
2776 if (GenBplusTag::PcheckDecay(genpart, 113, 15, -16)) {
2777 return -1 * (100000 * m_nPhotos + 1065);
2778 }//B- decays to rho0 tau- anti-nu_tau
2779 if (GenBplusTag::PcheckDecay(genpart, 223, 15, -16)) {
2780 return -1 * (100000 * m_nPhotos + 1066);
2781 }//B- decays to omega tau- anti-nu_tau
2782 if (GenBplusTag::PcheckDecay(genpart, 331, 15, -16)) {
2783 return -1 * (100000 * m_nPhotos + 1067);
2784 }//B- decays to eta' tau- anti-nu_tau
2785 if (GenBplusTag::PcheckDecay(genpart, 20113, 15, -16)) {
2786 return -1 * (100000 * m_nPhotos + 1068);
2787 }//B- decays to a_10 tau- anti-nu_tau
2788 if (GenBplusTag::PcheckDecay(genpart, 10113, 15, -16)) {
2789 return -1 * (100000 * m_nPhotos + 1069);
2790 }//B- decays to b_10 tau- anti-nu_tau
2791 if (GenBplusTag::PcheckDecay(genpart, 10111, 15, -16)) {
2792 return -1 * (100000 * m_nPhotos + 1070);
2793 }//B- decays to a_00 tau- anti-nu_tau
2794 if (GenBplusTag::PcheckDecay(genpart, 10221, 15, -16)) {
2795 return -1 * (100000 * m_nPhotos + 1071);
2796 }//B- decays to f_0 tau- anti-nu_tau
2797 if (GenBplusTag::PcheckDecay(genpart, 10331, 15, -16)) {
2798 return -1 * (100000 * m_nPhotos + 1072);
2799 }//B- decays to f'_0 tau- anti-nu_tau
2800 if (GenBplusTag::PcheckDecay(genpart, 20223, 15, -16)) {
2801 return -1 * (100000 * m_nPhotos + 1073);
2802 }//B- decays to f_1 tau- anti-nu_tau
2803 if (GenBplusTag::PcheckDecay(genpart, 20333, 15, -16)) {
2804 return -1 * (100000 * m_nPhotos + 1074);
2805 }//B- decays to f'_1 tau- anti-nu_tau
2806 if (GenBplusTag::PcheckDecay(genpart, 10223, 15, -16)) {
2807 return -1 * (100000 * m_nPhotos + 1075);
2808 }//B- decays to h_1 tau- anti-nu_tau
2809 if (GenBplusTag::PcheckDecay(genpart, 10333, 15, -16)) {
2810 return -1 * (100000 * m_nPhotos + 1076);
2811 }//B- decays to h'_1 tau- anti-nu_tau
2812 if (GenBplusTag::PcheckDecay(genpart, 225, 15, -16)) {
2813 return -1 * (100000 * m_nPhotos + 1077);
2814 }//B- decays to f_2 tau- anti-nu_tau
2815 if (GenBplusTag::PcheckDecay(genpart, 335, 15, -16)) {
2816 return -1 * (100000 * m_nPhotos + 1078);
2817 }//B- decays to f'_2 tau- anti-nu_tau
2818 if (GenBplusTag::PcheckDecay(genpart, 100421, 15, -16)) {
2819 return -1 * (100000 * m_nPhotos + 1079);
2820 }//B- decays to D(2S)0 tau- anti-nu_tau
2821 if (GenBplusTag::PcheckDecay(genpart, 100423, 15, -16)) {
2822 return -1 * (100000 * m_nPhotos + 1080);
2823 }//B- decays to D*(2S)0 tau- anti-nu_tau
2824 if (GenBplusTag::PcheckDecay(genpart, -431, 111)) {
2825 return -1 * (100000 * m_nPhotos + 1081);
2826 }//B- decays to D_s- pi0
2827 if (GenBplusTag::PcheckDecay(genpart, -433, 111)) {
2828 return -1 * (100000 * m_nPhotos + 1082);
2829 }//B- decays to D_s*- pi0
2830 if (GenBplusTag::PcheckDecay(genpart, 113, -431)) {
2831 return -1 * (100000 * m_nPhotos + 1083);
2832 }//B- decays to rho0 D_s-
2833 if (GenBplusTag::PcheckDecay(genpart, -433, 113)) {
2834 return -1 * (100000 * m_nPhotos + 1084);
2835 }//B- decays to D_s*- rho0
2836 if (GenBplusTag::PcheckDecay(genpart, -323, 22)) {
2837 return -1 * (100000 * m_nPhotos + 1085);
2838 }//B- decays to K*- gamma
2839 if (GenBplusTag::PcheckDecay(genpart, -10323, 22)) {
2840 return -1 * (100000 * m_nPhotos + 1086);
2841 }//B- decays to K_1- gamma
2842 if (GenBplusTag::PcheckDecay(genpart, -325, 22)) {
2843 return -1 * (100000 * m_nPhotos + 1087);
2844 }//B- decays to K_2*- gamma
2845 if (GenBplusTag::PcheckDecay(genpart, -213, 22)) {
2846 return -1 * (100000 * m_nPhotos + 1088);
2847 }//B- decays to rho- gamma
2848 if (GenBplusTag::PcheckDecay(genpart, -20323, 22)) {
2849 return -1 * (100000 * m_nPhotos + 1089);
2850 }//B- decays to K'_1- gamma
2851 if (GenBplusTag::PcheckDecay(genpart, -100323, 22)) {
2852 return -1 * (100000 * m_nPhotos + 1090);
2853 }//B- decays to K'*- gamma
2854 if (GenBplusTag::PcheckDecay(genpart, -30323, 22)) {
2855 return -1 * (100000 * m_nPhotos + 1091);
2856 }//B- decays to K''*- gamma
2857 if (GenBplusTag::PcheckDecay(genpart, -30353, 22)) {
2858 return -1 * (100000 * m_nPhotos + 1092);
2859 }//B- decays to anti-Xsu gamma
2860 if (GenBplusTag::PcheckDecay(genpart, -321, -11, 11)) {
2861 return -1 * (100000 * m_nPhotos + 1093);
2862 }//B- decays to K- e+ e-
2863 if (GenBplusTag::PcheckDecay(genpart, -211, -11, 11)) {
2864 return -1 * (100000 * m_nPhotos + 1094);
2865 }//B- decays to pi- e+ e-
2866 if (GenBplusTag::PcheckDecay(genpart, -323, -11, 11)) {
2867 return -1 * (100000 * m_nPhotos + 1095);
2868 }//B- decays to K*- e+ e-
2869 if (GenBplusTag::PcheckDecay(genpart, -30353, -11, 11)) {
2870 return -1 * (100000 * m_nPhotos + 1096);
2871 }//B- decays to anti-Xsu e+ e-
2872 if (GenBplusTag::PcheckDecay(genpart, -321, 211, -211, -11, 11)) {
2873 return -1 * (100000 * m_nPhotos + 1097);
2874 }//B- decays to K- pi+ pi- e+ e-
2875 if (GenBplusTag::PcheckDecay(genpart, -321, 111, 111, -11, 11)) {
2876 return -1 * (100000 * m_nPhotos + 1098);
2877 }//B- decays to K- pi0 pi0 e+ e-
2878 if (GenBplusTag::PcheckDecay(genpart, -321, 333, -11, 11)) {
2879 return -1 * (100000 * m_nPhotos + 1099);
2880 }//B- decays to K- phi e+ e-
2881 if (GenBplusTag::PcheckDecay(genpart, -321, -13, 13)) {
2882 return -1 * (100000 * m_nPhotos + 1100);
2883 }//B- decays to K- mu+ mu-
2884 if (GenBplusTag::PcheckDecay(genpart, -211, -13, 13)) {
2885 return -1 * (100000 * m_nPhotos + 1101);
2886 }//B- decays to pi- mu+ mu-
2887 if (GenBplusTag::PcheckDecay(genpart, -323, -13, 13)) {
2888 return -1 * (100000 * m_nPhotos + 1102);
2889 }//B- decays to K*- mu+ mu-
2890 if (GenBplusTag::PcheckDecay(genpart, -321, 211, -211, -13, 13)) {
2891 return -1 * (100000 * m_nPhotos + 1103);
2892 }//B- decays to K- pi+ pi- mu+ mu-
2893 if (GenBplusTag::PcheckDecay(genpart, -321, 111, 111, -13, 13)) {
2894 return -1 * (100000 * m_nPhotos + 1104);
2895 }//B- decays to K- pi0 pi0 mu+ mu-
2896 if (GenBplusTag::PcheckDecay(genpart, -321, 333, -13, 13)) {
2897 return -1 * (100000 * m_nPhotos + 1105);
2898 }//B- decays to K- phi mu+ mu-
2899 if (GenBplusTag::PcheckDecay(genpart, -30353, -13, 13)) {
2900 return -1 * (100000 * m_nPhotos + 1106);
2901 }//B- decays to anti-Xsu mu+ mu-
2902 if (GenBplusTag::PcheckDecay(genpart, -321, -15, 15)) {
2903 return -1 * (100000 * m_nPhotos + 1107);
2904 }//B- decays to K- tau+ tau-
2905 if (GenBplusTag::PcheckDecay(genpart, -323, -15, 15)) {
2906 return -1 * (100000 * m_nPhotos + 1108);
2907 }//B- decays to K*- tau+ tau-
2908 if (GenBplusTag::PcheckDecay(genpart, -30353, -15, 15)) {
2909 return -1 * (100000 * m_nPhotos + 1109);
2910 }//B- decays to anti-Xsu tau+ tau-
2911 if (GenBplusTag::PcheckDecay(genpart, 15, -16)) {
2912 return -1 * (100000 * m_nPhotos + 1110);
2913 }//B- decays to tau- anti-nu_tau
2914 if (GenBplusTag::PcheckDecay(genpart, 13, -14)) {
2915 return -1 * (100000 * m_nPhotos + 1111);
2916 }//B- decays to mu- anti-nu_mu
2917 if (GenBplusTag::PcheckDecay(genpart, 11, -12)) {
2918 return -1 * (100000 * m_nPhotos + 1112);
2919 }//B- decays to e- anti-nu_e
2920 if (GenBplusTag::PcheckDecay(genpart, -211, 111, 111)) {
2921 return -1 * (100000 * m_nPhotos + 1113);
2922 }//B- decays to pi- pi0 pi0
2923 if (GenBplusTag::PcheckDecay(genpart, -211, -211, 211)) {
2924 return -1 * (100000 * m_nPhotos + 1114);
2925 }//B- decays to pi- pi- pi+
2926 if (GenBplusTag::PcheckDecay(genpart, 221, -211)) {
2927 return -1 * (100000 * m_nPhotos + 1115);
2928 }//B- decays to eta pi-
2929 if (GenBplusTag::PcheckDecay(genpart, 221, -321)) {
2930 return -1 * (100000 * m_nPhotos + 1116);
2931 }//B- decays to eta K-
2932 if (GenBplusTag::PcheckDecay(genpart, -323, 221)) {
2933 return -1 * (100000 * m_nPhotos + 1117);
2934 }//B- decays to K*- eta
2935 if (GenBplusTag::PcheckDecay(genpart, -213, 221)) {
2936 return -1 * (100000 * m_nPhotos + 1118);
2937 }//B- decays to rho- eta
2938 if (GenBplusTag::PcheckDecay(genpart, 331, -211)) {
2939 return -1 * (100000 * m_nPhotos + 1119);
2940 }//B- decays to eta' pi-
2941 if (GenBplusTag::PcheckDecay(genpart, 331, -321)) {
2942 return -1 * (100000 * m_nPhotos + 1120);
2943 }//B- decays to eta' K-
2944 if (GenBplusTag::PcheckDecay(genpart, -323, 331)) {
2945 return -1 * (100000 * m_nPhotos + 1121);
2946 }//B- decays to K*- eta'
2947 if (GenBplusTag::PcheckDecay(genpart, -213, 331)) {
2948 return -1 * (100000 * m_nPhotos + 1122);
2949 }//B- decays to rho- eta'
2950 if (GenBplusTag::PcheckDecay(genpart, 223, -211)) {
2951 return -1 * (100000 * m_nPhotos + 1123);
2952 }//B- decays to omega pi-
2953 if (GenBplusTag::PcheckDecay(genpart, 223, -321)) {
2954 return -1 * (100000 * m_nPhotos + 1124);
2955 }//B- decays to omega K-
2956 if (GenBplusTag::PcheckDecay(genpart, 223, -323)) {
2957 return -1 * (100000 * m_nPhotos + 1125);
2958 }//B- decays to omega K*-
2959 if (GenBplusTag::PcheckDecay(genpart, 223, -213)) {
2960 return -1 * (100000 * m_nPhotos + 1126);
2961 }//B- decays to omega rho-
2962 if (GenBplusTag::PcheckDecay(genpart, 333, -211)) {
2963 return -1 * (100000 * m_nPhotos + 1127);
2964 }//B- decays to phi pi-
2965 if (GenBplusTag::PcheckDecay(genpart, 333, -321)) {
2966 return -1 * (100000 * m_nPhotos + 1128);
2967 }//B- decays to phi K-
2968 if (GenBplusTag::PcheckDecay(genpart, -311, -211)) {
2969 return -1 * (100000 * m_nPhotos + 1129);
2970 }//B- decays to anti-K0 pi-
2971 if (GenBplusTag::PcheckDecay(genpart, 310, -211)) {
2972 return -1 * (100000 * m_nPhotos + 1130);
2973 }//B- decays to K_S0 pi-
2974 if (GenBplusTag::PcheckDecay(genpart, 130, -211)) {
2975 return -1 * (100000 * m_nPhotos + 1131);
2976 }//B- decays to K_L0 pi-
2977 if (GenBplusTag::PcheckDecay(genpart, 311, -321)) {
2978 return -1 * (100000 * m_nPhotos + 1132);
2979 }//B- decays to K0 K-
2980 if (GenBplusTag::PcheckDecay(genpart, -211, 111)) {
2981 return -1 * (100000 * m_nPhotos + 1133);
2982 }//B- decays to pi- pi0
2983 if (GenBplusTag::PcheckDecay(genpart, -321, 111)) {
2984 return -1 * (100000 * m_nPhotos + 1134);
2985 }//B- decays to K- pi0
2986 if (GenBplusTag::PcheckDecay(genpart, 113, -211)) {
2987 return -1 * (100000 * m_nPhotos + 1135);
2988 }//B- decays to rho0 pi-
2989 if (GenBplusTag::PcheckDecay(genpart, 113, -321)) {
2990 return -1 * (100000 * m_nPhotos + 1136);
2991 }//B- decays to rho0 K-
2992 if (GenBplusTag::PcheckDecay(genpart, -213, -311)) {
2993 return -1 * (100000 * m_nPhotos + 1137);
2994 }//B- decays to rho- anti-K0
2995 if (GenBplusTag::PcheckDecay(genpart, -213, 111)) {
2996 return -1 * (100000 * m_nPhotos + 1138);
2997 }//B- decays to rho- pi0
2998 if (GenBplusTag::PcheckDecay(genpart, 100113, -211)) {
2999 return -1 * (100000 * m_nPhotos + 1139);
3000 }//B- decays to rho(2S)0 pi-
3001 if (GenBplusTag::PcheckDecay(genpart, 100113, -321)) {
3002 return -1 * (100000 * m_nPhotos + 1140);
3003 }//B- decays to rho(2S)0 K-
3004 if (GenBplusTag::PcheckDecay(genpart, 10221, -211)) {
3005 return -1 * (100000 * m_nPhotos + 1141);
3006 }//B- decays to f_0 pi-
3007 if (GenBplusTag::PcheckDecay(genpart, 10221, -321)) {
3008 return -1 * (100000 * m_nPhotos + 1142);
3009 }//B- decays to f_0 K-
3010 if (GenBplusTag::PcheckDecay(genpart, -10211, -311)) {
3011 return -1 * (100000 * m_nPhotos + 1143);
3012 }//B- decays to a_0- anti-K0
3013 if (GenBplusTag::PcheckDecay(genpart, 10111, -321)) {
3014 return -1 * (100000 * m_nPhotos + 1144);
3015 }//B- decays to a_00 K-
3016 if (GenBplusTag::PcheckDecay(genpart, 10111, -211)) {
3017 return -1 * (100000 * m_nPhotos + 1145);
3018 }//B- decays to a_00 pi-
3019 if (GenBplusTag::PcheckDecay(genpart, -10211, 111)) {
3020 return -1 * (100000 * m_nPhotos + 1146);
3021 }//B- decays to a_0- pi0
3022 if (GenBplusTag::PcheckDecay(genpart, 225, -211)) {
3023 return -1 * (100000 * m_nPhotos + 1147);
3024 }//B- decays to f_2 pi-
3025 if (GenBplusTag::PcheckDecay(genpart, -10311, -211)) {
3026 return -1 * (100000 * m_nPhotos + 1148);
3027 }//B- decays to anti-K_0*0 pi-
3028 if (GenBplusTag::PcheckDecay(genpart, 10311, -321)) {
3029 return -1 * (100000 * m_nPhotos + 1149);
3030 }//B- decays to K_0*0 K-
3031 if (GenBplusTag::PcheckDecay(genpart, -10321, 111)) {
3032 return -1 * (100000 * m_nPhotos + 1150);
3033 }//B- decays to K_0*- pi0
3034 if (GenBplusTag::PcheckDecay(genpart, -10321, 311)) {
3035 return -1 * (100000 * m_nPhotos + 1151);
3036 }//B- decays to K_0*- K0
3037 if (GenBplusTag::PcheckDecay(genpart, -323, 111)) {
3038 return -1 * (100000 * m_nPhotos + 1152);
3039 }//B- decays to K*- pi0
3040 if (GenBplusTag::PcheckDecay(genpart, -323, 311)) {
3041 return -1 * (100000 * m_nPhotos + 1153);
3042 }//B- decays to K*- K0
3043 if (GenBplusTag::PcheckDecay(genpart, -321, 211, -211)) {
3044 return -1 * (100000 * m_nPhotos + 1154);
3045 }//B- decays to K- pi+ pi-
3046 if (GenBplusTag::PcheckDecay(genpart, -321, 321, -211)) {
3047 return -1 * (100000 * m_nPhotos + 1155);
3048 }//B- decays to K- K+ pi-
3049 if (GenBplusTag::PcheckDecay(genpart, -321, 321, -321)) {
3050 return -1 * (100000 * m_nPhotos + 1156);
3051 }//B- decays to K- K+ K-
3052 if (GenBplusTag::PcheckDecay(genpart, -321, -321, 211)) {
3053 return -1 * (100000 * m_nPhotos + 1157);
3054 }//B- decays to K- K- pi+
3055 if (GenBplusTag::PcheckDecay(genpart, 321, -211, -211)) {
3056 return -1 * (100000 * m_nPhotos + 1158);
3057 }//B- decays to K+ pi- pi-
3058 if (GenBplusTag::PcheckDecay(genpart, -321, 311, 111)) {
3059 return -1 * (100000 * m_nPhotos + 1159);
3060 }//B- decays to K- K0 pi0
3061 if (GenBplusTag::PcheckDecay(genpart, -321, 311, 221)) {
3062 return -1 * (100000 * m_nPhotos + 1160);
3063 }//B- decays to K- K0 eta
3064 if (GenBplusTag::PcheckDecay(genpart, -321, 311, 331)) {
3065 return -1 * (100000 * m_nPhotos + 1161);
3066 }//B- decays to K- K0 eta'
3067 if (GenBplusTag::PcheckDecay(genpart, -211, -311, 111)) {
3068 return -1 * (100000 * m_nPhotos + 1162);
3069 }//B- decays to pi- anti-K0 pi0
3070 if (GenBplusTag::PcheckDecay(genpart, -211, -311, 221)) {
3071 return -1 * (100000 * m_nPhotos + 1163);
3072 }//B- decays to pi- anti-K0 eta
3073 if (GenBplusTag::PcheckDecay(genpart, -211, -311, 331)) {
3074 return -1 * (100000 * m_nPhotos + 1164);
3075 }//B- decays to pi- anti-K0 eta'
3076 if (GenBplusTag::PcheckDecay(genpart, -211, 111, 221)) {
3077 return -1 * (100000 * m_nPhotos + 1165);
3078 }//B- decays to pi- pi0 eta
3079 if (GenBplusTag::PcheckDecay(genpart, -211, 111, 331)) {
3080 return -1 * (100000 * m_nPhotos + 1166);
3081 }//B- decays to pi- pi0 eta'
3082 if (GenBplusTag::PcheckDecay(genpart, -211, 221, 221)) {
3083 return -1 * (100000 * m_nPhotos + 1167);
3084 }//B- decays to pi- eta eta
3085 if (GenBplusTag::PcheckDecay(genpart, -211, 221, 331)) {
3086 return -1 * (100000 * m_nPhotos + 1168);
3087 }//B- decays to pi- eta eta'
3088 if (GenBplusTag::PcheckDecay(genpart, -321, 111, 111)) {
3089 return -1 * (100000 * m_nPhotos + 1169);
3090 }//B- decays to K- pi0 pi0
3091 if (GenBplusTag::PcheckDecay(genpart, -321, 111, 221)) {
3092 return -1 * (100000 * m_nPhotos + 1170);
3093 }//B- decays to K- pi0 eta
3094 if (GenBplusTag::PcheckDecay(genpart, -321, 111, 331)) {
3095 return -1 * (100000 * m_nPhotos + 1171);
3096 }//B- decays to K- pi0 eta'
3097 if (GenBplusTag::PcheckDecay(genpart, -321, 221, 221)) {
3098 return -1 * (100000 * m_nPhotos + 1172);
3099 }//B- decays to K- eta eta
3100 if (GenBplusTag::PcheckDecay(genpart, -321, 221, 331)) {
3101 return -1 * (100000 * m_nPhotos + 1173);
3102 }//B- decays to K- eta eta'
3103 if (GenBplusTag::PcheckDecay(genpart, -321, 331, 331)) {
3104 return -1 * (100000 * m_nPhotos + 1174);
3105 }//B- decays to K- eta' eta'
3106 if (GenBplusTag::PcheckDecay(genpart, -321, -311, 311)) {
3107 return -1 * (100000 * m_nPhotos + 1175);
3108 }//B- decays to K- anti-K0 K0
3109 if (GenBplusTag::PcheckDecay(genpart, -211, -311, 311)) {
3110 return -1 * (100000 * m_nPhotos + 1176);
3111 }//B- decays to pi- anti-K0 K0
3112 if (GenBplusTag::PcheckDecay(genpart, -213, 113)) {
3113 return -1 * (100000 * m_nPhotos + 1177);
3114 }//B- decays to rho- rho0
3115 if (GenBplusTag::PcheckDecay(genpart, 113, -211, 111)) {
3116 return -1 * (100000 * m_nPhotos + 1178);
3117 }//B- decays to rho0 pi- pi0
3118 if (GenBplusTag::PcheckDecay(genpart, 113, -211, 221)) {
3119 return -1 * (100000 * m_nPhotos + 1179);
3120 }//B- decays to rho0 pi- eta
3121 if (GenBplusTag::PcheckDecay(genpart, 113, -211, 331)) {
3122 return -1 * (100000 * m_nPhotos + 1180);
3123 }//B- decays to rho0 pi- eta'
3124 if (GenBplusTag::PcheckDecay(genpart, 223, -211, 111)) {
3125 return -1 * (100000 * m_nPhotos + 1181);
3126 }//B- decays to omega pi- pi0
3127 if (GenBplusTag::PcheckDecay(genpart, 223, -211, 221)) {
3128 return -1 * (100000 * m_nPhotos + 1182);
3129 }//B- decays to omega pi- eta
3130 if (GenBplusTag::PcheckDecay(genpart, 223, -211, 331)) {
3131 return -1 * (100000 * m_nPhotos + 1183);
3132 }//B- decays to omega pi- eta'
3133 if (GenBplusTag::PcheckDecay(genpart, -213, -211, 211)) {
3134 return -1 * (100000 * m_nPhotos + 1184);
3135 }//B- decays to rho- pi- pi+
3136 if (GenBplusTag::PcheckDecay(genpart, 213, -211, -211)) {
3137 return -1 * (100000 * m_nPhotos + 1185);
3138 }//B- decays to rho+ pi- pi-
3139 if (GenBplusTag::PcheckDecay(genpart, -213, 111, 111)) {
3140 return -1 * (100000 * m_nPhotos + 1186);
3141 }//B- decays to rho- pi0 pi0
3142 if (GenBplusTag::PcheckDecay(genpart, -213, 111, 221)) {
3143 return -1 * (100000 * m_nPhotos + 1187);
3144 }//B- decays to rho- pi0 eta
3145 if (GenBplusTag::PcheckDecay(genpart, -213, 221, 221)) {
3146 return -1 * (100000 * m_nPhotos + 1188);
3147 }//B- decays to rho- eta eta
3148 if (GenBplusTag::PcheckDecay(genpart, -213, 111, 331)) {
3149 return -1 * (100000 * m_nPhotos + 1189);
3150 }//B- decays to rho- pi0 eta'
3151 if (GenBplusTag::PcheckDecay(genpart, 211, -211, -211, 111)) {
3152 return -1 * (100000 * m_nPhotos + 1190);
3153 }//B- decays to pi+ pi- pi- pi0
3154 if (GenBplusTag::PcheckDecay(genpart, 211, -211, -211, 221)) {
3155 return -1 * (100000 * m_nPhotos + 1191);
3156 }//B- decays to pi+ pi- pi- eta
3157 if (GenBplusTag::PcheckDecay(genpart, 211, -211, -211, 331)) {
3158 return -1 * (100000 * m_nPhotos + 1192);
3159 }//B- decays to pi+ pi- pi- eta'
3160 if (GenBplusTag::PcheckDecay(genpart, -211, 111, 111, 111)) {
3161 return -1 * (100000 * m_nPhotos + 1193);
3162 }//B- decays to pi- pi0 pi0 pi0
3163 if (GenBplusTag::PcheckDecay(genpart, -211, 221, 111, 111)) {
3164 return -1 * (100000 * m_nPhotos + 1194);
3165 }//B- decays to pi- eta pi0 pi0
3166 if (GenBplusTag::PcheckDecay(genpart, -211, 221, 221, 111)) {
3167 return -1 * (100000 * m_nPhotos + 1195);
3168 }//B- decays to pi- eta eta pi0
3169 if (GenBplusTag::PcheckDecay(genpart, -211, 331, 111, 111)) {
3170 return -1 * (100000 * m_nPhotos + 1196);
3171 }//B- decays to pi- eta' pi0 pi0
3172 if (GenBplusTag::PcheckDecay(genpart, -211, 331, 221, 111)) {
3173 return -1 * (100000 * m_nPhotos + 1197);
3174 }//B- decays to pi- eta' eta pi0
3175 if (GenBplusTag::PcheckDecay(genpart, 20113, -211)) {
3176 return -1 * (100000 * m_nPhotos + 1198);
3177 }//B- decays to a_10 pi-
3178 if (GenBplusTag::PcheckDecay(genpart, -20213, 111)) {
3179 return -1 * (100000 * m_nPhotos + 1199);
3180 }//B- decays to a_1- pi0
3181 if (GenBplusTag::PcheckDecay(genpart, 10113, -211)) {
3182 return -1 * (100000 * m_nPhotos + 1200);
3183 }//B- decays to b_10 pi-
3184 if (GenBplusTag::PcheckDecay(genpart, -10213, 111)) {
3185 return -1 * (100000 * m_nPhotos + 1201);
3186 }//B- decays to b_1- pi0
3187 if (GenBplusTag::PcheckDecay(genpart, -213, 10221)) {
3188 return -1 * (100000 * m_nPhotos + 1202);
3189 }//B- decays to rho- f_0
3190 if (GenBplusTag::PcheckDecay(genpart, -213, 10111)) {
3191 return -1 * (100000 * m_nPhotos + 1203);
3192 }//B- decays to rho- a_00
3193 if (GenBplusTag::PcheckDecay(genpart, 113, -10211)) {
3194 return -1 * (100000 * m_nPhotos + 1204);
3195 }//B- decays to rho0 a_0-
3196 if (GenBplusTag::PcheckDecay(genpart, 10221, -211, 111)) {
3197 return -1 * (100000 * m_nPhotos + 1205);
3198 }//B- decays to f_0 pi- pi0
3199 if (GenBplusTag::PcheckDecay(genpart, 10111, -211, 111)) {
3200 return -1 * (100000 * m_nPhotos + 1206);
3201 }//B- decays to a_00 pi- pi0
3202 if (GenBplusTag::PcheckDecay(genpart, -10211, 111, 111)) {
3203 return -1 * (100000 * m_nPhotos + 1207);
3204 }//B- decays to a_0- pi0 pi0
3205 if (GenBplusTag::PcheckDecay(genpart, 10211, -211, -211)) {
3206 return -1 * (100000 * m_nPhotos + 1208);
3207 }//B- decays to a_0+ pi- pi-
3208 if (GenBplusTag::PcheckDecay(genpart, -213, -313)) {
3209 return -1 * (100000 * m_nPhotos + 1209);
3210 }//B- decays to rho- anti-K*0
3211 if (GenBplusTag::PcheckDecay(genpart, 113, -323)) {
3212 return -1 * (100000 * m_nPhotos + 1210);
3213 }//B- decays to rho0 K*-
3214 if (GenBplusTag::PcheckDecay(genpart, -211, 111, -313)) {
3215 return -1 * (100000 * m_nPhotos + 1211);
3216 }//B- decays to pi- pi0 anti-K*0
3217 if (GenBplusTag::PcheckDecay(genpart, -211, 221, -313)) {
3218 return -1 * (100000 * m_nPhotos + 1212);
3219 }//B- decays to pi- eta anti-K*0
3220 if (GenBplusTag::PcheckDecay(genpart, 211, -211, -323)) {
3221 return -1 * (100000 * m_nPhotos + 1213);
3222 }//B- decays to pi+ pi- K*-
3223 if (GenBplusTag::PcheckDecay(genpart, 111, 111, -323)) {
3224 return -1 * (100000 * m_nPhotos + 1214);
3225 }//B- decays to pi0 pi0 K*-
3226 if (GenBplusTag::PcheckDecay(genpart, 111, 221, -323)) {
3227 return -1 * (100000 * m_nPhotos + 1215);
3228 }//B- decays to pi0 eta K*-
3229 if (GenBplusTag::PcheckDecay(genpart, 221, 221, -323)) {
3230 return -1 * (100000 * m_nPhotos + 1216);
3231 }//B- decays to eta eta K*-
3232 if (GenBplusTag::PcheckDecay(genpart, 111, 331, -323)) {
3233 return -1 * (100000 * m_nPhotos + 1217);
3234 }//B- decays to pi0 eta' K*-
3235 if (GenBplusTag::PcheckDecay(genpart, 221, 331, -323)) {
3236 return -1 * (100000 * m_nPhotos + 1218);
3237 }//B- decays to eta eta' K*-
3238 if (GenBplusTag::PcheckDecay(genpart, -213, -311, 111)) {
3239 return -1 * (100000 * m_nPhotos + 1219);
3240 }//B- decays to rho- anti-K0 pi0
3241 if (GenBplusTag::PcheckDecay(genpart, -213, -311, 221)) {
3242 return -1 * (100000 * m_nPhotos + 1220);
3243 }//B- decays to rho- anti-K0 eta
3244 if (GenBplusTag::PcheckDecay(genpart, -213, -311, 331)) {
3245 return -1 * (100000 * m_nPhotos + 1221);
3246 }//B- decays to rho- anti-K0 eta'
3247 if (GenBplusTag::PcheckDecay(genpart, -213, -321, 211)) {
3248 return -1 * (100000 * m_nPhotos + 1222);
3249 }//B- decays to rho- K- pi+
3250 if (GenBplusTag::PcheckDecay(genpart, 213, -321, -211)) {
3251 return -1 * (100000 * m_nPhotos + 1223);
3252 }//B- decays to rho+ K- pi-
3253 if (GenBplusTag::PcheckDecay(genpart, 113, -311, -211)) {
3254 return -1 * (100000 * m_nPhotos + 1224);
3255 }//B- decays to rho0 anti-K0 pi-
3256 if (GenBplusTag::PcheckDecay(genpart, 113, -321, 111)) {
3257 return -1 * (100000 * m_nPhotos + 1225);
3258 }//B- decays to rho0 K- pi0
3259 if (GenBplusTag::PcheckDecay(genpart, 113, -321, 221)) {
3260 return -1 * (100000 * m_nPhotos + 1226);
3261 }//B- decays to rho0 K- eta
3262 if (GenBplusTag::PcheckDecay(genpart, 113, -321, 331)) {
3263 return -1 * (100000 * m_nPhotos + 1227);
3264 }//B- decays to rho0 K- eta'
3265 if (GenBplusTag::PcheckDecay(genpart, 223, -311, -211)) {
3266 return -1 * (100000 * m_nPhotos + 1228);
3267 }//B- decays to omega anti-K0 pi-
3268 if (GenBplusTag::PcheckDecay(genpart, 223, -321, 111)) {
3269 return -1 * (100000 * m_nPhotos + 1229);
3270 }//B- decays to omega K- pi0
3271 if (GenBplusTag::PcheckDecay(genpart, 223, -321, 221)) {
3272 return -1 * (100000 * m_nPhotos + 1230);
3273 }//B- decays to omega K- eta
3274 if (GenBplusTag::PcheckDecay(genpart, 223, -321, 331)) {
3275 return -1 * (100000 * m_nPhotos + 1231);
3276 }//B- decays to omega K- eta'
3277 if (GenBplusTag::PcheckDecay(genpart, 211, -211, -211, -311)) {
3278 return -1 * (100000 * m_nPhotos + 1232);
3279 }//B- decays to pi+ pi- pi- anti-K0
3280 if (GenBplusTag::PcheckDecay(genpart, -211, 111, 111, -311)) {
3281 return -1 * (100000 * m_nPhotos + 1233);
3282 }//B- decays to pi- pi0 pi0 anti-K0
3283 if (GenBplusTag::PcheckDecay(genpart, -211, 221, 111, -311)) {
3284 return -1 * (100000 * m_nPhotos + 1234);
3285 }//B- decays to pi- eta pi0 anti-K0
3286 if (GenBplusTag::PcheckDecay(genpart, -211, 221, 221, -311)) {
3287 return -1 * (100000 * m_nPhotos + 1235);
3288 }//B- decays to pi- eta eta anti-K0
3289 if (GenBplusTag::PcheckDecay(genpart, 211, -211, 111, -321)) {
3290 return -1 * (100000 * m_nPhotos + 1236);
3291 }//B- decays to pi+ pi- pi0 K-
3292 if (GenBplusTag::PcheckDecay(genpart, 211, -211, 221, -321)) {
3293 return -1 * (100000 * m_nPhotos + 1237);
3294 }//B- decays to pi+ pi- eta K-
3295 if (GenBplusTag::PcheckDecay(genpart, 111, 111, 111, -321)) {
3296 return -1 * (100000 * m_nPhotos + 1238);
3297 }//B- decays to pi0 pi0 pi0 K-
3298 if (GenBplusTag::PcheckDecay(genpart, 111, 111, 221, -321)) {
3299 return -1 * (100000 * m_nPhotos + 1239);
3300 }//B- decays to pi0 pi0 eta K-
3301 if (GenBplusTag::PcheckDecay(genpart, 111, 221, 221, -321)) {
3302 return -1 * (100000 * m_nPhotos + 1240);
3303 }//B- decays to pi0 eta eta K-
3304 if (GenBplusTag::PcheckDecay(genpart, 111, 111, 331, -321)) {
3305 return -1 * (100000 * m_nPhotos + 1241);
3306 }//B- decays to pi0 pi0 eta' K-
3307 if (GenBplusTag::PcheckDecay(genpart, 111, 221, 331, -321)) {
3308 return -1 * (100000 * m_nPhotos + 1242);
3309 }//B- decays to pi0 eta eta' K-
3310 if (GenBplusTag::PcheckDecay(genpart, -213, -10311)) {
3311 return -1 * (100000 * m_nPhotos + 1243);
3312 }//B- decays to rho- anti-K_0*0
3313 if (GenBplusTag::PcheckDecay(genpart, 113, -10321)) {
3314 return -1 * (100000 * m_nPhotos + 1244);
3315 }//B- decays to rho0 K_0*-
3316 if (GenBplusTag::PcheckDecay(genpart, -211, 111, -10311)) {
3317 return -1 * (100000 * m_nPhotos + 1245);
3318 }//B- decays to pi- pi0 anti-K_0*0
3319 if (GenBplusTag::PcheckDecay(genpart, 111, 111, -10321)) {
3320 return -1 * (100000 * m_nPhotos + 1246);
3321 }//B- decays to pi0 pi0 K_0*-
3322 if (GenBplusTag::PcheckDecay(genpart, -323, 10221)) {
3323 return -1 * (100000 * m_nPhotos + 1247);
3324 }//B- decays to K*- f_0
3325 if (GenBplusTag::PcheckDecay(genpart, 20113, -321)) {
3326 return -1 * (100000 * m_nPhotos + 1248);
3327 }//B- decays to a_10 K-
3328 if (GenBplusTag::PcheckDecay(genpart, -20213, -311)) {
3329 return -1 * (100000 * m_nPhotos + 1249);
3330 }//B- decays to a_1- anti-K0
3331 if (GenBplusTag::PcheckDecay(genpart, 10113, -321)) {
3332 return -1 * (100000 * m_nPhotos + 1250);
3333 }//B- decays to b_10 K-
3334 if (GenBplusTag::PcheckDecay(genpart, -10213, -311)) {
3335 return -1 * (100000 * m_nPhotos + 1251);
3336 }//B- decays to b_1- anti-K0
3337 if (GenBplusTag::PcheckDecay(genpart, -323, 10111)) {
3338 return -1 * (100000 * m_nPhotos + 1252);
3339 }//B- decays to K*- a_00
3340 if (GenBplusTag::PcheckDecay(genpart, -313, -10211)) {
3341 return -1 * (100000 * m_nPhotos + 1253);
3342 }//B- decays to anti-K*0 a_0-
3343 if (GenBplusTag::PcheckDecay(genpart, 313, -323)) {
3344 return -1 * (100000 * m_nPhotos + 1254);
3345 }//B- decays to K*0 K*-
3346 if (GenBplusTag::PcheckDecay(genpart, 333, -213)) {
3347 return -1 * (100000 * m_nPhotos + 1255);
3348 }//B- decays to phi rho-
3349 if (GenBplusTag::PcheckDecay(genpart, 333, -211, 111)) {
3350 return -1 * (100000 * m_nPhotos + 1256);
3351 }//B- decays to phi pi- pi0
3352 if (GenBplusTag::PcheckDecay(genpart, 333, -211, 221)) {
3353 return -1 * (100000 * m_nPhotos + 1257);
3354 }//B- decays to phi pi- eta
3355 if (GenBplusTag::PcheckDecay(genpart, 333, -211, 331)) {
3356 return -1 * (100000 * m_nPhotos + 1258);
3357 }//B- decays to phi pi- eta'
3358 if (GenBplusTag::PcheckDecay(genpart, 321, -321, -213)) {
3359 return -1 * (100000 * m_nPhotos + 1259);
3360 }//B- decays to K+ K- rho-
3361 if (GenBplusTag::PcheckDecay(genpart, 311, -311, -213)) {
3362 return -1 * (100000 * m_nPhotos + 1260);
3363 }//B- decays to K0 anti-K0 rho-
3364 if (GenBplusTag::PcheckDecay(genpart, 311, -321, 113)) {
3365 return -1 * (100000 * m_nPhotos + 1261);
3366 }//B- decays to K0 K- rho0
3367 if (GenBplusTag::PcheckDecay(genpart, 311, -321, 223)) {
3368 return -1 * (100000 * m_nPhotos + 1262);
3369 }//B- decays to K0 K- omega
3370 if (GenBplusTag::PcheckDecay(genpart, 321, -321, -211, 111)) {
3371 return -1 * (100000 * m_nPhotos + 1263);
3372 }//B- decays to K+ K- pi- pi0
3373 if (GenBplusTag::PcheckDecay(genpart, 321, -321, -211, 221)) {
3374 return -1 * (100000 * m_nPhotos + 1264);
3375 }//B- decays to K+ K- pi- eta
3376 if (GenBplusTag::PcheckDecay(genpart, 321, -321, -211, 331)) {
3377 return -1 * (100000 * m_nPhotos + 1265);
3378 }//B- decays to K+ K- pi- eta'
3379 if (GenBplusTag::PcheckDecay(genpart, 311, -311, -211, 111)) {
3380 return -1 * (100000 * m_nPhotos + 1266);
3381 }//B- decays to K0 anti-K0 pi- pi0
3382 if (GenBplusTag::PcheckDecay(genpart, 311, -311, -211, 221)) {
3383 return -1 * (100000 * m_nPhotos + 1267);
3384 }//B- decays to K0 anti-K0 pi- eta
3385 if (GenBplusTag::PcheckDecay(genpart, 311, -311, -211, 331)) {
3386 return -1 * (100000 * m_nPhotos + 1268);
3387 }//B- decays to K0 anti-K0 pi- eta'
3388 if (GenBplusTag::PcheckDecay(genpart, 311, -321, 211, -211)) {
3389 return -1 * (100000 * m_nPhotos + 1269);
3390 }//B- decays to K0 K- pi+ pi-
3391 if (GenBplusTag::PcheckDecay(genpart, 311, -321, 111, 111)) {
3392 return -1 * (100000 * m_nPhotos + 1270);
3393 }//B- decays to K0 K- pi0 pi0
3394 if (GenBplusTag::PcheckDecay(genpart, 311, -321, 111, 221)) {
3395 return -1 * (100000 * m_nPhotos + 1271);
3396 }//B- decays to K0 K- pi0 eta
3397 if (GenBplusTag::PcheckDecay(genpart, 311, -321, 221, 221)) {
3398 return -1 * (100000 * m_nPhotos + 1272);
3399 }//B- decays to K0 K- eta eta
3400 if (GenBplusTag::PcheckDecay(genpart, 311, -321, 111, 331)) {
3401 return -1 * (100000 * m_nPhotos + 1273);
3402 }//B- decays to K0 K- pi0 eta'
3403 if (GenBplusTag::PcheckDecay(genpart, 311, -321, 221, 331)) {
3404 return -1 * (100000 * m_nPhotos + 1274);
3405 }//B- decays to K0 K- eta eta'
3406 if (GenBplusTag::PcheckDecay(genpart, 323, -321, -211)) {
3407 return -1 * (100000 * m_nPhotos + 1275);
3408 }//B- decays to K*+ K- pi-
3409 if (GenBplusTag::PcheckDecay(genpart, -323, 321, -211)) {
3410 return -1 * (100000 * m_nPhotos + 1276);
3411 }//B- decays to K*- K+ pi-
3412 if (GenBplusTag::PcheckDecay(genpart, 313, -311, -211)) {
3413 return -1 * (100000 * m_nPhotos + 1277);
3414 }//B- decays to K*0 anti-K0 pi-
3415 if (GenBplusTag::PcheckDecay(genpart, 311, -313, -211)) {
3416 return -1 * (100000 * m_nPhotos + 1278);
3417 }//B- decays to K0 anti-K*0 pi-
3418 if (GenBplusTag::PcheckDecay(genpart, -321, 313, 111)) {
3419 return -1 * (100000 * m_nPhotos + 1279);
3420 }//B- decays to K- K*0 pi0
3421 if (GenBplusTag::PcheckDecay(genpart, -321, 313, 221)) {
3422 return -1 * (100000 * m_nPhotos + 1280);
3423 }//B- decays to K- K*0 eta
3424 if (GenBplusTag::PcheckDecay(genpart, -321, 313, 331)) {
3425 return -1 * (100000 * m_nPhotos + 1281);
3426 }//B- decays to K- K*0 eta'
3427 if (GenBplusTag::PcheckDecay(genpart, -323, 311, 111)) {
3428 return -1 * (100000 * m_nPhotos + 1282);
3429 }//B- decays to K*- K0 pi0
3430 if (GenBplusTag::PcheckDecay(genpart, -323, 311, 221)) {
3431 return -1 * (100000 * m_nPhotos + 1283);
3432 }//B- decays to K*- K0 eta
3433 if (GenBplusTag::PcheckDecay(genpart, -323, 311, 331)) {
3434 return -1 * (100000 * m_nPhotos + 1284);
3435 }//B- decays to K*- K0 eta'
3436 if (GenBplusTag::PcheckDecay(genpart, 333, -323)) {
3437 return -1 * (100000 * m_nPhotos + 1285);
3438 }//B- decays to phi K*-
3439 if (GenBplusTag::PcheckDecay(genpart, 333, -311, -211)) {
3440 return -1 * (100000 * m_nPhotos + 1286);
3441 }//B- decays to phi anti-K0 pi-
3442 if (GenBplusTag::PcheckDecay(genpart, 333, -321, 111)) {
3443 return -1 * (100000 * m_nPhotos + 1287);
3444 }//B- decays to phi K- pi0
3445 if (GenBplusTag::PcheckDecay(genpart, 333, -321, 221)) {
3446 return -1 * (100000 * m_nPhotos + 1288);
3447 }//B- decays to phi K- eta
3448 if (GenBplusTag::PcheckDecay(genpart, 333, -321, 331)) {
3449 return -1 * (100000 * m_nPhotos + 1289);
3450 }//B- decays to phi K- eta'
3451 if (GenBplusTag::PcheckDecay(genpart, -321, 321, -323)) {
3452 return -1 * (100000 * m_nPhotos + 1290);
3453 }//B- decays to K- K+ K*-
3454 if (GenBplusTag::PcheckDecay(genpart, -321, 323, -321)) {
3455 return -1 * (100000 * m_nPhotos + 1291);
3456 }//B- decays to K- K*+ K-
3457 if (GenBplusTag::PcheckDecay(genpart, -321, 313, -311)) {
3458 return -1 * (100000 * m_nPhotos + 1292);
3459 }//B- decays to K- K*0 anti-K0
3460 if (GenBplusTag::PcheckDecay(genpart, -321, 311, -313)) {
3461 return -1 * (100000 * m_nPhotos + 1293);
3462 }//B- decays to K- K0 anti-K*0
3463 if (GenBplusTag::PcheckDecay(genpart, 311, -323, -311)) {
3464 return -1 * (100000 * m_nPhotos + 1294);
3465 }//B- decays to K0 K*- anti-K0
3466 if (GenBplusTag::PcheckDecay(genpart, 321, -321, -321, 111)) {
3467 return -1 * (100000 * m_nPhotos + 1295);
3468 }//B- decays to K+ K- K- pi0
3469 if (GenBplusTag::PcheckDecay(genpart, 321, -321, -321, 221)) {
3470 return -1 * (100000 * m_nPhotos + 1296);
3471 }//B- decays to K+ K- K- eta
3472 if (GenBplusTag::PcheckDecay(genpart, 321, -321, -321, 331)) {
3473 return -1 * (100000 * m_nPhotos + 1297);
3474 }//B- decays to K+ K- K- eta'
3475 if (GenBplusTag::PcheckDecay(genpart, 321, -321, -311, -211)) {
3476 return -1 * (100000 * m_nPhotos + 1298);
3477 }//B- decays to K+ K- anti-K0 pi-
3478 if (GenBplusTag::PcheckDecay(genpart, 311, -311, -321, 111)) {
3479 return -1 * (100000 * m_nPhotos + 1299);
3480 }//B- decays to K0 anti-K0 K- pi0
3481 if (GenBplusTag::PcheckDecay(genpart, 311, -311, -321, 221)) {
3482 return -1 * (100000 * m_nPhotos + 1300);
3483 }//B- decays to K0 anti-K0 K- eta
3484 if (GenBplusTag::PcheckDecay(genpart, 311, -311, -321, 331)) {
3485 return -1 * (100000 * m_nPhotos + 1301);
3486 }//B- decays to K0 anti-K0 K- eta'
3487 if (GenBplusTag::PcheckDecay(genpart, 311, -311, -311, -211)) {
3488 return -1 * (100000 * m_nPhotos + 1302);
3489 }//B- decays to K0 anti-K0 anti-K0 pi-
3490 if (GenBplusTag::PcheckDecay(genpart, 333, -10321)) {
3491 return -1 * (100000 * m_nPhotos + 1303);
3492 }//B- decays to phi K_0*-
3493 if (GenBplusTag::PcheckDecay(genpart, -321, 321, -10321)) {
3494 return -1 * (100000 * m_nPhotos + 1304);
3495 }//B- decays to K- K+ K_0*-
3496 if (GenBplusTag::PcheckDecay(genpart, -321, -321, 10321)) {
3497 return -1 * (100000 * m_nPhotos + 1305);
3498 }//B- decays to K- K- K_0*+
3499 if (GenBplusTag::PcheckDecay(genpart, -321, -10311, 311)) {
3500 return -1 * (100000 * m_nPhotos + 1306);
3501 }//B- decays to K- anti-K_0*0 K0
3502 if (GenBplusTag::PcheckDecay(genpart, -321, 10311, -311)) {
3503 return -1 * (100000 * m_nPhotos + 1307);
3504 }//B- decays to K- K_0*0 anti-K0
3505 if (GenBplusTag::PcheckDecay(genpart, 333, -20323)) {
3506 return -1 * (100000 * m_nPhotos + 1308);
3507 }//B- decays to phi K'_1-
3508 if (GenBplusTag::PcheckDecay(genpart, -321, 321, -20323)) {
3509 return -1 * (100000 * m_nPhotos + 1309);
3510 }//B- decays to K- K+ K'_1-
3511 if (GenBplusTag::PcheckDecay(genpart, 333, 311, -321)) {
3512 return -1 * (100000 * m_nPhotos + 1310);
3513 }//B- decays to phi K0 K-
3514 if (GenBplusTag::PcheckDecay(genpart, 321, -321, -321, 311)) {
3515 return -1 * (100000 * m_nPhotos + 1311);
3516 }//B- decays to K+ K- K- K0
3517 if (GenBplusTag::PcheckDecay(genpart, 311, -311, 311, -321)) {
3518 return -1 * (100000 * m_nPhotos + 1312);
3519 }//B- decays to K0 anti-K0 K0 K-
3520 if (GenBplusTag::PcheckDecay(genpart, 113, 113, -211)) {
3521 return -1 * (100000 * m_nPhotos + 1313);
3522 }//B- decays to rho0 rho0 pi-
3523 if (GenBplusTag::PcheckDecay(genpart, -213, 113, 111)) {
3524 return -1 * (100000 * m_nPhotos + 1314);
3525 }//B- decays to rho- rho0 pi0
3526 if (GenBplusTag::PcheckDecay(genpart, -213, 113, 221)) {
3527 return -1 * (100000 * m_nPhotos + 1315);
3528 }//B- decays to rho- rho0 eta
3529 if (GenBplusTag::PcheckDecay(genpart, -213, 113, 331)) {
3530 return -1 * (100000 * m_nPhotos + 1316);
3531 }//B- decays to rho- rho0 eta'
3532 if (GenBplusTag::PcheckDecay(genpart, 213, -213, -211)) {
3533 return -1 * (100000 * m_nPhotos + 1317);
3534 }//B- decays to rho+ rho- pi-
3535 if (GenBplusTag::PcheckDecay(genpart, 223, 113, -211)) {
3536 return -1 * (100000 * m_nPhotos + 1318);
3537 }//B- decays to omega rho0 pi-
3538 if (GenBplusTag::PcheckDecay(genpart, 223, -213, 111)) {
3539 return -1 * (100000 * m_nPhotos + 1319);
3540 }//B- decays to omega rho- pi0
3541 if (GenBplusTag::PcheckDecay(genpart, 223, -213, 221)) {
3542 return -1 * (100000 * m_nPhotos + 1320);
3543 }//B- decays to omega rho- eta
3544 if (GenBplusTag::PcheckDecay(genpart, 223, -213, 331)) {
3545 return -1 * (100000 * m_nPhotos + 1321);
3546 }//B- decays to omega rho- eta'
3547 if (GenBplusTag::PcheckDecay(genpart, 113, 211, -211, -211)) {
3548 return -1 * (100000 * m_nPhotos + 1322);
3549 }//B- decays to rho0 pi+ pi- pi-
3550 if (GenBplusTag::PcheckDecay(genpart, 113, -211, 111, 111)) {
3551 return -1 * (100000 * m_nPhotos + 1323);
3552 }//B- decays to rho0 pi- pi0 pi0
3553 if (GenBplusTag::PcheckDecay(genpart, 113, -211, 221, 111)) {
3554 return -1 * (100000 * m_nPhotos + 1324);
3555 }//B- decays to rho0 pi- eta pi0
3556 if (GenBplusTag::PcheckDecay(genpart, 113, -211, 331, 111)) {
3557 return -1 * (100000 * m_nPhotos + 1325);
3558 }//B- decays to rho0 pi- eta' pi0
3559 if (GenBplusTag::PcheckDecay(genpart, 223, -211, 111, 111)) {
3560 return -1 * (100000 * m_nPhotos + 1326);
3561 }//B- decays to omega pi- pi0 pi0
3562 if (GenBplusTag::PcheckDecay(genpart, 223, -211, 221, 111)) {
3563 return -1 * (100000 * m_nPhotos + 1327);
3564 }//B- decays to omega pi- eta pi0
3565 if (GenBplusTag::PcheckDecay(genpart, 223, -211, 331, 111)) {
3566 return -1 * (100000 * m_nPhotos + 1328);
3567 }//B- decays to omega pi- eta' pi0
3568 if (GenBplusTag::PcheckDecay(genpart, 213, -211, -211, 111)) {
3569 return -1 * (100000 * m_nPhotos + 1329);
3570 }//B- decays to rho+ pi- pi- pi0
3571 if (GenBplusTag::PcheckDecay(genpart, 213, -211, -211, 221)) {
3572 return -1 * (100000 * m_nPhotos + 1330);
3573 }//B- decays to rho+ pi- pi- eta
3574 if (GenBplusTag::PcheckDecay(genpart, 213, -211, -211, 331)) {
3575 return -1 * (100000 * m_nPhotos + 1331);
3576 }//B- decays to rho+ pi- pi- eta'
3577 if (GenBplusTag::PcheckDecay(genpart, -213, 211, -211, 111)) {
3578 return -1 * (100000 * m_nPhotos + 1332);
3579 }//B- decays to rho- pi+ pi- pi0
3580 if (GenBplusTag::PcheckDecay(genpart, -213, 211, -211, 221)) {
3581 return -1 * (100000 * m_nPhotos + 1333);
3582 }//B- decays to rho- pi+ pi- eta
3583 if (GenBplusTag::PcheckDecay(genpart, -213, 211, -211, 331)) {
3584 return -1 * (100000 * m_nPhotos + 1334);
3585 }//B- decays to rho- pi+ pi- eta'
3586 if (GenBplusTag::PcheckDecay(genpart, -213, 111, 111, 111)) {
3587 return -1 * (100000 * m_nPhotos + 1335);
3588 }//B- decays to rho- pi0 pi0 pi0
3589 if (GenBplusTag::PcheckDecay(genpart, -213, 111, 221, 111)) {
3590 return -1 * (100000 * m_nPhotos + 1336);
3591 }//B- decays to rho- pi0 eta pi0
3592 if (GenBplusTag::PcheckDecay(genpart, -213, 221, 221, 111)) {
3593 return -1 * (100000 * m_nPhotos + 1337);
3594 }//B- decays to rho- eta eta pi0
3595 if (GenBplusTag::PcheckDecay(genpart, -213, 111, 331, 111)) {
3596 return -1 * (100000 * m_nPhotos + 1338);
3597 }//B- decays to rho- pi0 eta' pi0
3598 if (GenBplusTag::PcheckDecay(genpart, 211, -211, -211, 111, 111)) {
3599 return -1 * (100000 * m_nPhotos + 1339);
3600 }//B- decays to pi+ pi- pi- pi0 pi0
3601 if (GenBplusTag::PcheckDecay(genpart, 211, -211, -211, 221, 111)) {
3602 return -1 * (100000 * m_nPhotos + 1340);
3603 }//B- decays to pi+ pi- pi- eta pi0
3604 if (GenBplusTag::PcheckDecay(genpart, 211, -211, -211, 331, 111)) {
3605 return -1 * (100000 * m_nPhotos + 1341);
3606 }//B- decays to pi+ pi- pi- eta' pi0
3607 if (GenBplusTag::PcheckDecay(genpart, -211, 111, 111, 111, 111)) {
3608 return -1 * (100000 * m_nPhotos + 1342);
3609 }//B- decays to pi- pi0 pi0 pi0 pi0
3610 if (GenBplusTag::PcheckDecay(genpart, -211, 221, 111, 111, 111)) {
3611 return -1 * (100000 * m_nPhotos + 1343);
3612 }//B- decays to pi- eta pi0 pi0 pi0
3613 if (GenBplusTag::PcheckDecay(genpart, -211, 331, 111, 111, 111)) {
3614 return -1 * (100000 * m_nPhotos + 1344);
3615 }//B- decays to pi- eta' pi0 pi0 pi0
3616 if (GenBplusTag::PcheckDecay(genpart, -20213, 113)) {
3617 return -1 * (100000 * m_nPhotos + 1345);
3618 }//B- decays to a_1- rho0
3619 if (GenBplusTag::PcheckDecay(genpart, -20213, 223)) {
3620 return -1 * (100000 * m_nPhotos + 1346);
3621 }//B- decays to a_1- omega
3622 if (GenBplusTag::PcheckDecay(genpart, -20213, 10221)) {
3623 return -1 * (100000 * m_nPhotos + 1347);
3624 }//B- decays to a_1- f_0
3625 if (GenBplusTag::PcheckDecay(genpart, 20113, -211, 111)) {
3626 return -1 * (100000 * m_nPhotos + 1348);
3627 }//B- decays to a_10 pi- pi0
3628 if (GenBplusTag::PcheckDecay(genpart, 20113, -211, 221)) {
3629 return -1 * (100000 * m_nPhotos + 1349);
3630 }//B- decays to a_10 pi- eta
3631 if (GenBplusTag::PcheckDecay(genpart, 20113, -211, 331)) {
3632 return -1 * (100000 * m_nPhotos + 1350);
3633 }//B- decays to a_10 pi- eta'
3634 if (GenBplusTag::PcheckDecay(genpart, 20213, -211, -211)) {
3635 return -1 * (100000 * m_nPhotos + 1351);
3636 }//B- decays to a_1+ pi- pi-
3637 if (GenBplusTag::PcheckDecay(genpart, -20213, 211, -211)) {
3638 return -1 * (100000 * m_nPhotos + 1352);
3639 }//B- decays to a_1- pi+ pi-
3640 if (GenBplusTag::PcheckDecay(genpart, -20213, 111, 111)) {
3641 return -1 * (100000 * m_nPhotos + 1353);
3642 }//B- decays to a_1- pi0 pi0
3643 if (GenBplusTag::PcheckDecay(genpart, -20213, 111, 221)) {
3644 return -1 * (100000 * m_nPhotos + 1354);
3645 }//B- decays to a_1- pi0 eta
3646 if (GenBplusTag::PcheckDecay(genpart, -20213, 111, 331)) {
3647 return -1 * (100000 * m_nPhotos + 1355);
3648 }//B- decays to a_1- pi0 eta'
3649 if (GenBplusTag::PcheckDecay(genpart, -213, 10221, 111)) {
3650 return -1 * (100000 * m_nPhotos + 1356);
3651 }//B- decays to rho- f_0 pi0
3652 if (GenBplusTag::PcheckDecay(genpart, -213, 10221, 221)) {
3653 return -1 * (100000 * m_nPhotos + 1357);
3654 }//B- decays to rho- f_0 eta
3655 if (GenBplusTag::PcheckDecay(genpart, -213, 10221, 331)) {
3656 return -1 * (100000 * m_nPhotos + 1358);
3657 }//B- decays to rho- f_0 eta'
3658 if (GenBplusTag::PcheckDecay(genpart, 113, 10221, -211)) {
3659 return -1 * (100000 * m_nPhotos + 1359);
3660 }//B- decays to rho0 f_0 pi-
3661 if (GenBplusTag::PcheckDecay(genpart, 223, 10221, -211)) {
3662 return -1 * (100000 * m_nPhotos + 1360);
3663 }//B- decays to omega f_0 pi-
3664 if (GenBplusTag::PcheckDecay(genpart, -213, 10111, 111)) {
3665 return -1 * (100000 * m_nPhotos + 1361);
3666 }//B- decays to rho- a_00 pi0
3667 if (GenBplusTag::PcheckDecay(genpart, -213, 10111, 221)) {
3668 return -1 * (100000 * m_nPhotos + 1362);
3669 }//B- decays to rho- a_00 eta
3670 if (GenBplusTag::PcheckDecay(genpart, -213, 10111, 331)) {
3671 return -1 * (100000 * m_nPhotos + 1363);
3672 }//B- decays to rho- a_00 eta'
3673 if (GenBplusTag::PcheckDecay(genpart, 213, -10211, -211)) {
3674 return -1 * (100000 * m_nPhotos + 1364);
3675 }//B- decays to rho+ a_0- pi-
3676 if (GenBplusTag::PcheckDecay(genpart, 113, -10211, 111)) {
3677 return -1 * (100000 * m_nPhotos + 1365);
3678 }//B- decays to rho0 a_0- pi0
3679 if (GenBplusTag::PcheckDecay(genpart, 113, -10211, 221)) {
3680 return -1 * (100000 * m_nPhotos + 1366);
3681 }//B- decays to rho0 a_0- eta
3682 if (GenBplusTag::PcheckDecay(genpart, 113, -10211, 331)) {
3683 return -1 * (100000 * m_nPhotos + 1367);
3684 }//B- decays to rho0 a_0- eta'
3685 if (GenBplusTag::PcheckDecay(genpart, 10221, 211, -211, -211)) {
3686 return -1 * (100000 * m_nPhotos + 1368);
3687 }//B- decays to f_0 pi+ pi- pi-
3688 if (GenBplusTag::PcheckDecay(genpart, 10221, -211, 111, 111)) {
3689 return -1 * (100000 * m_nPhotos + 1369);
3690 }//B- decays to f_0 pi- pi0 pi0
3691 if (GenBplusTag::PcheckDecay(genpart, 10221, -211, 111, 221)) {
3692 return -1 * (100000 * m_nPhotos + 1370);
3693 }//B- decays to f_0 pi- pi0 eta
3694 if (GenBplusTag::PcheckDecay(genpart, 10221, -211, 111, 331)) {
3695 return -1 * (100000 * m_nPhotos + 1371);
3696 }//B- decays to f_0 pi- pi0 eta'
3697 if (GenBplusTag::PcheckDecay(genpart, 10111, -211, 111, 111)) {
3698 return -1 * (100000 * m_nPhotos + 1372);
3699 }//B- decays to a_00 pi- pi0 pi0
3700 if (GenBplusTag::PcheckDecay(genpart, -10211, 111, 111, 111)) {
3701 return -1 * (100000 * m_nPhotos + 1373);
3702 }//B- decays to a_0- pi0 pi0 pi0
3703 if (GenBplusTag::PcheckDecay(genpart, 10211, -211, -211, 111)) {
3704 return -1 * (100000 * m_nPhotos + 1374);
3705 }//B- decays to a_0+ pi- pi- pi0
3706 if (GenBplusTag::PcheckDecay(genpart, -213, -323, 211)) {
3707 return -1 * (100000 * m_nPhotos + 1375);
3708 }//B- decays to rho- K*- pi+
3709 if (GenBplusTag::PcheckDecay(genpart, 213, -323, -211)) {
3710 return -1 * (100000 * m_nPhotos + 1376);
3711 }//B- decays to rho+ K*- pi-
3712 if (GenBplusTag::PcheckDecay(genpart, -213, -313, 111)) {
3713 return -1 * (100000 * m_nPhotos + 1377);
3714 }//B- decays to rho- anti-K*0 pi0
3715 if (GenBplusTag::PcheckDecay(genpart, -213, -313, 221)) {
3716 return -1 * (100000 * m_nPhotos + 1378);
3717 }//B- decays to rho- anti-K*0 eta
3718 if (GenBplusTag::PcheckDecay(genpart, -213, -313, 331)) {
3719 return -1 * (100000 * m_nPhotos + 1379);
3720 }//B- decays to rho- anti-K*0 eta'
3721 if (GenBplusTag::PcheckDecay(genpart, 113, -313, -211)) {
3722 return -1 * (100000 * m_nPhotos + 1380);
3723 }//B- decays to rho0 anti-K*0 pi-
3724 if (GenBplusTag::PcheckDecay(genpart, 113, -323, 111)) {
3725 return -1 * (100000 * m_nPhotos + 1381);
3726 }//B- decays to rho0 K*- pi0
3727 if (GenBplusTag::PcheckDecay(genpart, 113, -323, 221)) {
3728 return -1 * (100000 * m_nPhotos + 1382);
3729 }//B- decays to rho0 K*- eta
3730 if (GenBplusTag::PcheckDecay(genpart, 113, -323, 331)) {
3731 return -1 * (100000 * m_nPhotos + 1383);
3732 }//B- decays to rho0 K*- eta'
3733 if (GenBplusTag::PcheckDecay(genpart, 223, -313, -211)) {
3734 return -1 * (100000 * m_nPhotos + 1384);
3735 }//B- decays to omega anti-K*0 pi-
3736 if (GenBplusTag::PcheckDecay(genpart, 223, -323, 111)) {
3737 return -1 * (100000 * m_nPhotos + 1385);
3738 }//B- decays to omega K*- pi0
3739 if (GenBplusTag::PcheckDecay(genpart, 223, -323, 221)) {
3740 return -1 * (100000 * m_nPhotos + 1386);
3741 }//B- decays to omega K*- eta
3742 if (GenBplusTag::PcheckDecay(genpart, 223, -323, 331)) {
3743 return -1 * (100000 * m_nPhotos + 1387);
3744 }//B- decays to omega K*- eta'
3745 if (GenBplusTag::PcheckDecay(genpart, 211, -211, -313, -211)) {
3746 return -1 * (100000 * m_nPhotos + 1388);
3747 }//B- decays to pi+ pi- anti-K*0 pi-
3748 if (GenBplusTag::PcheckDecay(genpart, -211, 111, -313, 111)) {
3749 return -1 * (100000 * m_nPhotos + 1389);
3750 }//B- decays to pi- pi0 anti-K*0 pi0
3751 if (GenBplusTag::PcheckDecay(genpart, -211, 221, -313, 111)) {
3752 return -1 * (100000 * m_nPhotos + 1390);
3753 }//B- decays to pi- eta anti-K*0 pi0
3754 if (GenBplusTag::PcheckDecay(genpart, -211, 331, -313, 111)) {
3755 return -1 * (100000 * m_nPhotos + 1391);
3756 }//B- decays to pi- eta' anti-K*0 pi0
3757 if (GenBplusTag::PcheckDecay(genpart, -211, 211, -323, 111)) {
3758 return -1 * (100000 * m_nPhotos + 1392);
3759 }//B- decays to pi- pi+ K*- pi0
3760 if (GenBplusTag::PcheckDecay(genpart, -211, 211, -323, 221)) {
3761 return -1 * (100000 * m_nPhotos + 1393);
3762 }//B- decays to pi- pi+ K*- eta
3763 if (GenBplusTag::PcheckDecay(genpart, -211, 211, -323, 331)) {
3764 return -1 * (100000 * m_nPhotos + 1394);
3765 }//B- decays to pi- pi+ K*- eta'
3766 if (GenBplusTag::PcheckDecay(genpart, 111, 111, -323, 111)) {
3767 return -1 * (100000 * m_nPhotos + 1395);
3768 }//B- decays to pi0 pi0 K*- pi0
3769 if (GenBplusTag::PcheckDecay(genpart, 111, 221, -323, 111)) {
3770 return -1 * (100000 * m_nPhotos + 1396);
3771 }//B- decays to pi0 eta K*- pi0
3772 if (GenBplusTag::PcheckDecay(genpart, 221, 221, -323, 111)) {
3773 return -1 * (100000 * m_nPhotos + 1397);
3774 }//B- decays to eta eta K*- pi0
3775 if (GenBplusTag::PcheckDecay(genpart, 111, 331, -323, 111)) {
3776 return -1 * (100000 * m_nPhotos + 1398);
3777 }//B- decays to pi0 eta' K*- pi0
3778 if (GenBplusTag::PcheckDecay(genpart, 221, 331, -323, 111)) {
3779 return -1 * (100000 * m_nPhotos + 1399);
3780 }//B- decays to eta eta' K*- pi0
3781 if (GenBplusTag::PcheckDecay(genpart, -213, -311, 211, -211)) {
3782 return -1 * (100000 * m_nPhotos + 1400);
3783 }//B- decays to rho- anti-K0 pi+ pi-
3784 if (GenBplusTag::PcheckDecay(genpart, -213, -311, 111, 111)) {
3785 return -1 * (100000 * m_nPhotos + 1401);
3786 }//B- decays to rho- anti-K0 pi0 pi0
3787 if (GenBplusTag::PcheckDecay(genpart, -213, -311, 221, 111)) {
3788 return -1 * (100000 * m_nPhotos + 1402);
3789 }//B- decays to rho- anti-K0 eta pi0
3790 if (GenBplusTag::PcheckDecay(genpart, -213, -311, 331, 111)) {
3791 return -1 * (100000 * m_nPhotos + 1403);
3792 }//B- decays to rho- anti-K0 eta' pi0
3793 if (GenBplusTag::PcheckDecay(genpart, -213, -321, 211, 111)) {
3794 return -1 * (100000 * m_nPhotos + 1404);
3795 }//B- decays to rho- K- pi+ pi0
3796 if (GenBplusTag::PcheckDecay(genpart, 213, -321, -211, 111)) {
3797 return -1 * (100000 * m_nPhotos + 1405);
3798 }//B- decays to rho+ K- pi- pi0
3799 if (GenBplusTag::PcheckDecay(genpart, 213, -311, -211, -211)) {
3800 return -1 * (100000 * m_nPhotos + 1406);
3801 }//B- decays to rho+ anti-K0 pi- pi-
3802 if (GenBplusTag::PcheckDecay(genpart, 113, -311, -211, 111)) {
3803 return -1 * (100000 * m_nPhotos + 1407);
3804 }//B- decays to rho0 anti-K0 pi- pi0
3805 if (GenBplusTag::PcheckDecay(genpart, 113, -321, 111, 111)) {
3806 return -1 * (100000 * m_nPhotos + 1408);
3807 }//B- decays to rho0 K- pi0 pi0
3808 if (GenBplusTag::PcheckDecay(genpart, 113, -321, 221, 111)) {
3809 return -1 * (100000 * m_nPhotos + 1409);
3810 }//B- decays to rho0 K- eta pi0
3811 if (GenBplusTag::PcheckDecay(genpart, 113, -321, 331, 111)) {
3812 return -1 * (100000 * m_nPhotos + 1410);
3813 }//B- decays to rho0 K- eta' pi0
3814 if (GenBplusTag::PcheckDecay(genpart, 223, -311, -211, 111)) {
3815 return -1 * (100000 * m_nPhotos + 1411);
3816 }//B- decays to omega anti-K0 pi- pi0
3817 if (GenBplusTag::PcheckDecay(genpart, 223, -321, 111, 111)) {
3818 return -1 * (100000 * m_nPhotos + 1412);
3819 }//B- decays to omega K- pi0 pi0
3820 if (GenBplusTag::PcheckDecay(genpart, 223, -321, 221, 111)) {
3821 return -1 * (100000 * m_nPhotos + 1413);
3822 }//B- decays to omega K- eta pi0
3823 if (GenBplusTag::PcheckDecay(genpart, 223, -321, 331, 111)) {
3824 return -1 * (100000 * m_nPhotos + 1414);
3825 }//B- decays to omega K- eta' pi0
3826 if (GenBplusTag::PcheckDecay(genpart, -211, -211, 211, -311, 111)) {
3827 return -1 * (100000 * m_nPhotos + 1415);
3828 }//B- decays to pi- pi- pi+ anti-K0 pi0
3829 if (GenBplusTag::PcheckDecay(genpart, -211, -211, 211, -311, 221)) {
3830 return -1 * (100000 * m_nPhotos + 1416);
3831 }//B- decays to pi- pi- pi+ anti-K0 eta
3832 if (GenBplusTag::PcheckDecay(genpart, -211, -211, 211, -311, 331)) {
3833 return -1 * (100000 * m_nPhotos + 1417);
3834 }//B- decays to pi- pi- pi+ anti-K0 eta'
3835 if (GenBplusTag::PcheckDecay(genpart, -211, 111, 111, -311, 111)) {
3836 return -1 * (100000 * m_nPhotos + 1418);
3837 }//B- decays to pi- pi0 pi0 anti-K0 pi0
3838 if (GenBplusTag::PcheckDecay(genpart, -211, 221, 111, -311, 111)) {
3839 return -1 * (100000 * m_nPhotos + 1419);
3840 }//B- decays to pi- eta pi0 anti-K0 pi0
3841 if (GenBplusTag::PcheckDecay(genpart, -211, 221, 221, -311, 111)) {
3842 return -1 * (100000 * m_nPhotos + 1420);
3843 }//B- decays to pi- eta eta anti-K0 pi0
3844 if (GenBplusTag::PcheckDecay(genpart, 211, -211, 211, -321, -211)) {
3845 return -1 * (100000 * m_nPhotos + 1421);
3846 }//B- decays to pi+ pi- pi+ K- pi-
3847 if (GenBplusTag::PcheckDecay(genpart, 211, -211, 111, -321, 111)) {
3848 return -1 * (100000 * m_nPhotos + 1422);
3849 }//B- decays to pi+ pi- pi0 K- pi0
3850 if (GenBplusTag::PcheckDecay(genpart, 211, -211, 221, -321, 111)) {
3851 return -1 * (100000 * m_nPhotos + 1423);
3852 }//B- decays to pi+ pi- eta K- pi0
3853 if (GenBplusTag::PcheckDecay(genpart, 211, -211, 331, -321, 111)) {
3854 return -1 * (100000 * m_nPhotos + 1424);
3855 }//B- decays to pi+ pi- eta' K- pi0
3856 if (GenBplusTag::PcheckDecay(genpart, 111, 111, 111, -321, 111)) {
3857 return -1 * (100000 * m_nPhotos + 1425);
3858 }//B- decays to pi0 pi0 pi0 K- pi0
3859 if (GenBplusTag::PcheckDecay(genpart, 111, 111, 221, -321, 111)) {
3860 return -1 * (100000 * m_nPhotos + 1426);
3861 }//B- decays to pi0 pi0 eta K- pi0
3862 if (GenBplusTag::PcheckDecay(genpart, 111, 221, 221, -321, 111)) {
3863 return -1 * (100000 * m_nPhotos + 1427);
3864 }//B- decays to pi0 eta eta K- pi0
3865 if (GenBplusTag::PcheckDecay(genpart, 111, 111, 331, -321, 111)) {
3866 return -1 * (100000 * m_nPhotos + 1428);
3867 }//B- decays to pi0 pi0 eta' K- pi0
3868 if (GenBplusTag::PcheckDecay(genpart, 111, 221, 331, -321, 111)) {
3869 return -1 * (100000 * m_nPhotos + 1429);
3870 }//B- decays to pi0 eta eta' K- pi0
3871 if (GenBplusTag::PcheckDecay(genpart, 113, -10311, -211)) {
3872 return -1 * (100000 * m_nPhotos + 1430);
3873 }//B- decays to rho0 anti-K_0*0 pi-
3874 if (GenBplusTag::PcheckDecay(genpart, -213, -10311, 111)) {
3875 return -1 * (100000 * m_nPhotos + 1431);
3876 }//B- decays to rho- anti-K_0*0 pi0
3877 if (GenBplusTag::PcheckDecay(genpart, -213, -10311, 221)) {
3878 return -1 * (100000 * m_nPhotos + 1432);
3879 }//B- decays to rho- anti-K_0*0 eta
3880 if (GenBplusTag::PcheckDecay(genpart, -213, -10311, 331)) {
3881 return -1 * (100000 * m_nPhotos + 1433);
3882 }//B- decays to rho- anti-K_0*0 eta'
3883 if (GenBplusTag::PcheckDecay(genpart, -213, -10321, 211)) {
3884 return -1 * (100000 * m_nPhotos + 1434);
3885 }//B- decays to rho- K_0*- pi+
3886 if (GenBplusTag::PcheckDecay(genpart, 113, -10321, 111)) {
3887 return -1 * (100000 * m_nPhotos + 1435);
3888 }//B- decays to rho0 K_0*- pi0
3889 if (GenBplusTag::PcheckDecay(genpart, 113, -10321, 221)) {
3890 return -1 * (100000 * m_nPhotos + 1436);
3891 }//B- decays to rho0 K_0*- eta
3892 if (GenBplusTag::PcheckDecay(genpart, 113, -10321, 331)) {
3893 return -1 * (100000 * m_nPhotos + 1437);
3894 }//B- decays to rho0 K_0*- eta'
3895 if (GenBplusTag::PcheckDecay(genpart, -211, -211, -10311, 211)) {
3896 return -1 * (100000 * m_nPhotos + 1438);
3897 }//B- decays to pi- pi- anti-K_0*0 pi+
3898 if (GenBplusTag::PcheckDecay(genpart, -211, 111, -10311, 111)) {
3899 return -1 * (100000 * m_nPhotos + 1439);
3900 }//B- decays to pi- pi0 anti-K_0*0 pi0
3901 if (GenBplusTag::PcheckDecay(genpart, -211, 111, -10311, 221)) {
3902 return -1 * (100000 * m_nPhotos + 1440);
3903 }//B- decays to pi- pi0 anti-K_0*0 eta
3904 if (GenBplusTag::PcheckDecay(genpart, -211, 111, -10311, 331)) {
3905 return -1 * (100000 * m_nPhotos + 1441);
3906 }//B- decays to pi- pi0 anti-K_0*0 eta'
3907 if (GenBplusTag::PcheckDecay(genpart, 111, 111, -10321, 111)) {
3908 return -1 * (100000 * m_nPhotos + 1442);
3909 }//B- decays to pi0 pi0 K_0*- pi0
3910 if (GenBplusTag::PcheckDecay(genpart, 111, 111, -10321, 221)) {
3911 return -1 * (100000 * m_nPhotos + 1443);
3912 }//B- decays to pi0 pi0 K_0*- eta
3913 if (GenBplusTag::PcheckDecay(genpart, 111, 111, -10321, 331)) {
3914 return -1 * (100000 * m_nPhotos + 1444);
3915 }//B- decays to pi0 pi0 K_0*- eta'
3916 if (GenBplusTag::PcheckDecay(genpart, -313, 10221, -211)) {
3917 return -1 * (100000 * m_nPhotos + 1445);
3918 }//B- decays to anti-K*0 f_0 pi-
3919 if (GenBplusTag::PcheckDecay(genpart, -323, 10221, 111)) {
3920 return -1 * (100000 * m_nPhotos + 1446);
3921 }//B- decays to K*- f_0 pi0
3922 if (GenBplusTag::PcheckDecay(genpart, -323, 10221, 221)) {
3923 return -1 * (100000 * m_nPhotos + 1447);
3924 }//B- decays to K*- f_0 eta
3925 if (GenBplusTag::PcheckDecay(genpart, -323, 10221, 331)) {
3926 return -1 * (100000 * m_nPhotos + 1448);
3927 }//B- decays to K*- f_0 eta'
3928 if (GenBplusTag::PcheckDecay(genpart, 20113, -323)) {
3929 return -1 * (100000 * m_nPhotos + 1449);
3930 }//B- decays to a_10 K*-
3931 if (GenBplusTag::PcheckDecay(genpart, 20113, -321, 111)) {
3932 return -1 * (100000 * m_nPhotos + 1450);
3933 }//B- decays to a_10 K- pi0
3934 if (GenBplusTag::PcheckDecay(genpart, 20113, -311, -211)) {
3935 return -1 * (100000 * m_nPhotos + 1451);
3936 }//B- decays to a_10 anti-K0 pi-
3937 if (GenBplusTag::PcheckDecay(genpart, -20213, -313)) {
3938 return -1 * (100000 * m_nPhotos + 1452);
3939 }//B- decays to a_1- anti-K*0
3940 if (GenBplusTag::PcheckDecay(genpart, -20213, -321, 211)) {
3941 return -1 * (100000 * m_nPhotos + 1453);
3942 }//B- decays to a_1- K- pi+
3943 if (GenBplusTag::PcheckDecay(genpart, -20213, -311, 111)) {
3944 return -1 * (100000 * m_nPhotos + 1454);
3945 }//B- decays to a_1- anti-K0 pi0
3946 if (GenBplusTag::PcheckDecay(genpart, -323, 10111, 111)) {
3947 return -1 * (100000 * m_nPhotos + 1455);
3948 }//B- decays to K*- a_00 pi0
3949 if (GenBplusTag::PcheckDecay(genpart, -313, -10211, 111)) {
3950 return -1 * (100000 * m_nPhotos + 1456);
3951 }//B- decays to anti-K*0 a_0- pi0
3952 if (GenBplusTag::PcheckDecay(genpart, 313, -313, -211)) {
3953 return -1 * (100000 * m_nPhotos + 1457);
3954 }//B- decays to K*0 anti-K*0 pi-
3955 if (GenBplusTag::PcheckDecay(genpart, 313, -323, 111)) {
3956 return -1 * (100000 * m_nPhotos + 1458);
3957 }//B- decays to K*0 K*- pi0
3958 if (GenBplusTag::PcheckDecay(genpart, 313, -323, 221)) {
3959 return -1 * (100000 * m_nPhotos + 1459);
3960 }//B- decays to K*0 K*- eta
3961 if (GenBplusTag::PcheckDecay(genpart, 313, -323, 331)) {
3962 return -1 * (100000 * m_nPhotos + 1460);
3963 }//B- decays to K*0 K*- eta'
3964 if (GenBplusTag::PcheckDecay(genpart, 333, 113, -211)) {
3965 return -1 * (100000 * m_nPhotos + 1461);
3966 }//B- decays to phi rho0 pi-
3967 if (GenBplusTag::PcheckDecay(genpart, 333, 223, -211)) {
3968 return -1 * (100000 * m_nPhotos + 1462);
3969 }//B- decays to phi omega pi-
3970 if (GenBplusTag::PcheckDecay(genpart, 333, 10221, -211)) {
3971 return -1 * (100000 * m_nPhotos + 1463);
3972 }//B- decays to phi f_0 pi-
3973 if (GenBplusTag::PcheckDecay(genpart, 333, -213, 111)) {
3974 return -1 * (100000 * m_nPhotos + 1464);
3975 }//B- decays to phi rho- pi0
3976 if (GenBplusTag::PcheckDecay(genpart, 333, -213, 221)) {
3977 return -1 * (100000 * m_nPhotos + 1465);
3978 }//B- decays to phi rho- eta
3979 if (GenBplusTag::PcheckDecay(genpart, 333, -213, 331)) {
3980 return -1 * (100000 * m_nPhotos + 1466);
3981 }//B- decays to phi rho- eta'
3982 if (GenBplusTag::PcheckDecay(genpart, 333, 211, -211, -211)) {
3983 return -1 * (100000 * m_nPhotos + 1467);
3984 }//B- decays to phi pi+ pi- pi-
3985 if (GenBplusTag::PcheckDecay(genpart, 333, -211, 111, 111)) {
3986 return -1 * (100000 * m_nPhotos + 1468);
3987 }//B- decays to phi pi- pi0 pi0
3988 if (GenBplusTag::PcheckDecay(genpart, 333, -211, 221, 111)) {
3989 return -1 * (100000 * m_nPhotos + 1469);
3990 }//B- decays to phi pi- eta pi0
3991 if (GenBplusTag::PcheckDecay(genpart, 333, -211, 331, 111)) {
3992 return -1 * (100000 * m_nPhotos + 1470);
3993 }//B- decays to phi pi- eta' pi0
3994 if (GenBplusTag::PcheckDecay(genpart, 311, -321, 213, -211)) {
3995 return -1 * (100000 * m_nPhotos + 1471);
3996 }//B- decays to K0 K- rho+ pi-
3997 if (GenBplusTag::PcheckDecay(genpart, 311, -321, -213, 211)) {
3998 return -1 * (100000 * m_nPhotos + 1472);
3999 }//B- decays to K0 K- rho- pi+
4000 if (GenBplusTag::PcheckDecay(genpart, 311, -321, 113, 111)) {
4001 return -1 * (100000 * m_nPhotos + 1473);
4002 }//B- decays to K0 K- rho0 pi0
4003 if (GenBplusTag::PcheckDecay(genpart, 311, -321, 113, 221)) {
4004 return -1 * (100000 * m_nPhotos + 1474);
4005 }//B- decays to K0 K- rho0 eta
4006 if (GenBplusTag::PcheckDecay(genpart, 311, -321, 113, 331)) {
4007 return -1 * (100000 * m_nPhotos + 1475);
4008 }//B- decays to K0 K- rho0 eta'
4009 if (GenBplusTag::PcheckDecay(genpart, 311, -321, 223, 111)) {
4010 return -1 * (100000 * m_nPhotos + 1476);
4011 }//B- decays to K0 K- omega pi0
4012 if (GenBplusTag::PcheckDecay(genpart, 311, -321, 10221, 111)) {
4013 return -1 * (100000 * m_nPhotos + 1477);
4014 }//B- decays to K0 K- f_0 pi0
4015 if (GenBplusTag::PcheckDecay(genpart, 321, -321, 113, -211)) {
4016 return -1 * (100000 * m_nPhotos + 1478);
4017 }//B- decays to K+ K- rho0 pi-
4018 if (GenBplusTag::PcheckDecay(genpart, 321, -321, -213, 111)) {
4019 return -1 * (100000 * m_nPhotos + 1479);
4020 }//B- decays to K+ K- rho- pi0
4021 if (GenBplusTag::PcheckDecay(genpart, 321, -321, -213, 221)) {
4022 return -1 * (100000 * m_nPhotos + 1480);
4023 }//B- decays to K+ K- rho- eta
4024 if (GenBplusTag::PcheckDecay(genpart, 321, -321, -213, 331)) {
4025 return -1 * (100000 * m_nPhotos + 1481);
4026 }//B- decays to K+ K- rho- eta'
4027 if (GenBplusTag::PcheckDecay(genpart, 321, -321, 223, -211)) {
4028 return -1 * (100000 * m_nPhotos + 1482);
4029 }//B- decays to K+ K- omega pi-
4030 if (GenBplusTag::PcheckDecay(genpart, 311, -311, 113, -211)) {
4031 return -1 * (100000 * m_nPhotos + 1483);
4032 }//B- decays to K0 anti-K0 rho0 pi-
4033 if (GenBplusTag::PcheckDecay(genpart, 311, -311, 223, -211)) {
4034 return -1 * (100000 * m_nPhotos + 1484);
4035 }//B- decays to K0 anti-K0 omega pi-
4036 if (GenBplusTag::PcheckDecay(genpart, 311, -311, 10221, -211)) {
4037 return -1 * (100000 * m_nPhotos + 1485);
4038 }//B- decays to K0 anti-K0 f_0 pi-
4039 if (GenBplusTag::PcheckDecay(genpart, 311, -311, -213, 111)) {
4040 return -1 * (100000 * m_nPhotos + 1486);
4041 }//B- decays to K0 anti-K0 rho- pi0
4042 if (GenBplusTag::PcheckDecay(genpart, 311, -311, -213, 221)) {
4043 return -1 * (100000 * m_nPhotos + 1487);
4044 }//B- decays to K0 anti-K0 rho- eta
4045 if (GenBplusTag::PcheckDecay(genpart, 311, -311, -213, 331)) {
4046 return -1 * (100000 * m_nPhotos + 1488);
4047 }//B- decays to K0 anti-K0 rho- eta'
4048 if (GenBplusTag::PcheckDecay(genpart, -311, 321, -213, -211)) {
4049 return -1 * (100000 * m_nPhotos + 1489);
4050 }//B- decays to anti-K0 K+ rho- pi-
4051 if (GenBplusTag::PcheckDecay(genpart, -311, 321, -211, -211, 111)) {
4052 return -1 * (100000 * m_nPhotos + 1490);
4053 }//B- decays to anti-K0 K+ pi- pi- pi0
4054 if (GenBplusTag::PcheckDecay(genpart, -311, 321, -211, -211, 221)) {
4055 return -1 * (100000 * m_nPhotos + 1491);
4056 }//B- decays to anti-K0 K+ pi- pi- eta
4057 if (GenBplusTag::PcheckDecay(genpart, -311, 321, -211, -211, 331)) {
4058 return -1 * (100000 * m_nPhotos + 1492);
4059 }//B- decays to anti-K0 K+ pi- pi- eta'
4060 if (GenBplusTag::PcheckDecay(genpart, 321, -321, 211, -211, -211)) {
4061 return -1 * (100000 * m_nPhotos + 1493);
4062 }//B- decays to K+ K- pi+ pi- pi-
4063 if (GenBplusTag::PcheckDecay(genpart, 321, -321, -211, 111, 111)) {
4064 return -1 * (100000 * m_nPhotos + 1494);
4065 }//B- decays to K+ K- pi- pi0 pi0
4066 if (GenBplusTag::PcheckDecay(genpart, 321, -321, -211, 221, 111)) {
4067 return -1 * (100000 * m_nPhotos + 1495);
4068 }//B- decays to K+ K- pi- eta pi0
4069 if (GenBplusTag::PcheckDecay(genpart, 321, -321, -211, 331, 111)) {
4070 return -1 * (100000 * m_nPhotos + 1496);
4071 }//B- decays to K+ K- pi- eta' pi0
4072 if (GenBplusTag::PcheckDecay(genpart, 311, -311, 211, -211, -211)) {
4073 return -1 * (100000 * m_nPhotos + 1497);
4074 }//B- decays to K0 anti-K0 pi+ pi- pi-
4075 if (GenBplusTag::PcheckDecay(genpart, 311, -311, -211, 111, 111)) {
4076 return -1 * (100000 * m_nPhotos + 1498);
4077 }//B- decays to K0 anti-K0 pi- pi0 pi0
4078 if (GenBplusTag::PcheckDecay(genpart, 311, -311, -211, 221, 111)) {
4079 return -1 * (100000 * m_nPhotos + 1499);
4080 }//B- decays to K0 anti-K0 pi- eta pi0
4081 if (GenBplusTag::PcheckDecay(genpart, 311, -311, -211, 331, 111)) {
4082 return -1 * (100000 * m_nPhotos + 1500);
4083 }//B- decays to K0 anti-K0 pi- eta' pi0
4084 if (GenBplusTag::PcheckDecay(genpart, 311, -321, 211, -211, 111)) {
4085 return -1 * (100000 * m_nPhotos + 1501);
4086 }//B- decays to K0 K- pi+ pi- pi0
4087 if (GenBplusTag::PcheckDecay(genpart, 311, -321, 211, -211, 221)) {
4088 return -1 * (100000 * m_nPhotos + 1502);
4089 }//B- decays to K0 K- pi+ pi- eta
4090 if (GenBplusTag::PcheckDecay(genpart, 311, -321, 211, -211, 331)) {
4091 return -1 * (100000 * m_nPhotos + 1503);
4092 }//B- decays to K0 K- pi+ pi- eta'
4093 if (GenBplusTag::PcheckDecay(genpart, 311, -321, 111, 111, 111)) {
4094 return -1 * (100000 * m_nPhotos + 1504);
4095 }//B- decays to K0 K- pi0 pi0 pi0
4096 if (GenBplusTag::PcheckDecay(genpart, 311, -321, 111, 221, 111)) {
4097 return -1 * (100000 * m_nPhotos + 1505);
4098 }//B- decays to K0 K- pi0 eta pi0
4099 if (GenBplusTag::PcheckDecay(genpart, 311, -321, 111, 331, 111)) {
4100 return -1 * (100000 * m_nPhotos + 1506);
4101 }//B- decays to K0 K- pi0 eta' pi0
4102 if (GenBplusTag::PcheckDecay(genpart, -313, 321, -211, -211)) {
4103 return -1 * (100000 * m_nPhotos + 1507);
4104 }//B- decays to anti-K*0 K+ pi- pi-
4105 if (GenBplusTag::PcheckDecay(genpart, 323, -311, -211, -211)) {
4106 return -1 * (100000 * m_nPhotos + 1508);
4107 }//B- decays to K*+ anti-K0 pi- pi-
4108 if (GenBplusTag::PcheckDecay(genpart, -323, 321, -211, 111)) {
4109 return -1 * (100000 * m_nPhotos + 1509);
4110 }//B- decays to K*- K+ pi- pi0
4111 if (GenBplusTag::PcheckDecay(genpart, 323, -321, -211, 111)) {
4112 return -1 * (100000 * m_nPhotos + 1510);
4113 }//B- decays to K*+ K- pi- pi0
4114 if (GenBplusTag::PcheckDecay(genpart, 313, -311, -211, 111)) {
4115 return -1 * (100000 * m_nPhotos + 1511);
4116 }//B- decays to K*0 anti-K0 pi- pi0
4117 if (GenBplusTag::PcheckDecay(genpart, 311, -313, -211, 111)) {
4118 return -1 * (100000 * m_nPhotos + 1512);
4119 }//B- decays to K0 anti-K*0 pi- pi0
4120 if (GenBplusTag::PcheckDecay(genpart, -321, 313, 111, 111)) {
4121 return -1 * (100000 * m_nPhotos + 1513);
4122 }//B- decays to K- K*0 pi0 pi0
4123 if (GenBplusTag::PcheckDecay(genpart, -321, 313, 221, 111)) {
4124 return -1 * (100000 * m_nPhotos + 1514);
4125 }//B- decays to K- K*0 eta pi0
4126 if (GenBplusTag::PcheckDecay(genpart, -321, 313, 331, 111)) {
4127 return -1 * (100000 * m_nPhotos + 1515);
4128 }//B- decays to K- K*0 eta' pi0
4129 if (GenBplusTag::PcheckDecay(genpart, -323, 311, 111, 111)) {
4130 return -1 * (100000 * m_nPhotos + 1516);
4131 }//B- decays to K*- K0 pi0 pi0
4132 if (GenBplusTag::PcheckDecay(genpart, -323, 311, 221, 111)) {
4133 return -1 * (100000 * m_nPhotos + 1517);
4134 }//B- decays to K*- K0 eta pi0
4135 if (GenBplusTag::PcheckDecay(genpart, -323, 311, 331, 111)) {
4136 return -1 * (100000 * m_nPhotos + 1518);
4137 }//B- decays to K*- K0 eta' pi0
4138 if (GenBplusTag::PcheckDecay(genpart, 333, -323, 111)) {
4139 return -1 * (100000 * m_nPhotos + 1519);
4140 }//B- decays to phi K*- pi0
4141 if (GenBplusTag::PcheckDecay(genpart, 333, -321, 113)) {
4142 return -1 * (100000 * m_nPhotos + 1520);
4143 }//B- decays to phi K- rho0
4144 if (GenBplusTag::PcheckDecay(genpart, 333, -321, 223)) {
4145 return -1 * (100000 * m_nPhotos + 1521);
4146 }//B- decays to phi K- omega
4147 if (GenBplusTag::PcheckDecay(genpart, 333, -321, 10221)) {
4148 return -1 * (100000 * m_nPhotos + 1522);
4149 }//B- decays to phi K- f_0
4150 if (GenBplusTag::PcheckDecay(genpart, 333, -311, -213)) {
4151 return -1 * (100000 * m_nPhotos + 1523);
4152 }//B- decays to phi anti-K0 rho-
4153 if (GenBplusTag::PcheckDecay(genpart, 333, -311, -211, 111)) {
4154 return -1 * (100000 * m_nPhotos + 1524);
4155 }//B- decays to phi anti-K0 pi- pi0
4156 if (GenBplusTag::PcheckDecay(genpart, 333, -321, 211, -211)) {
4157 return -1 * (100000 * m_nPhotos + 1525);
4158 }//B- decays to phi K- pi+ pi-
4159 if (GenBplusTag::PcheckDecay(genpart, 333, -321, 111, 111)) {
4160 return -1 * (100000 * m_nPhotos + 1526);
4161 }//B- decays to phi K- pi0 pi0
4162 if (GenBplusTag::PcheckDecay(genpart, 333, -321, 221, 111)) {
4163 return -1 * (100000 * m_nPhotos + 1527);
4164 }//B- decays to phi K- eta pi0
4165 if (GenBplusTag::PcheckDecay(genpart, 333, -321, 331, 111)) {
4166 return -1 * (100000 * m_nPhotos + 1528);
4167 }//B- decays to phi K- eta' pi0
4168 if (GenBplusTag::PcheckDecay(genpart, 321, -321, -323, 111)) {
4169 return -1 * (100000 * m_nPhotos + 1529);
4170 }//B- decays to K+ K- K*- pi0
4171 if (GenBplusTag::PcheckDecay(genpart, -321, 323, -321, 111)) {
4172 return -1 * (100000 * m_nPhotos + 1530);
4173 }//B- decays to K- K*+ K- pi0
4174 if (GenBplusTag::PcheckDecay(genpart, -321, 313, -311, 111)) {
4175 return -1 * (100000 * m_nPhotos + 1531);
4176 }//B- decays to K- K*0 anti-K0 pi0
4177 if (GenBplusTag::PcheckDecay(genpart, -321, 311, -313, 111)) {
4178 return -1 * (100000 * m_nPhotos + 1532);
4179 }//B- decays to K- K0 anti-K*0 pi0
4180 if (GenBplusTag::PcheckDecay(genpart, 311, -323, -311, 111)) {
4181 return -1 * (100000 * m_nPhotos + 1533);
4182 }//B- decays to K0 K*- anti-K0 pi0
4183 if (GenBplusTag::PcheckDecay(genpart, 321, -321, -321, 113)) {
4184 return -1 * (100000 * m_nPhotos + 1534);
4185 }//B- decays to K+ K- K- rho0
4186 if (GenBplusTag::PcheckDecay(genpart, 321, -321, -321, 223)) {
4187 return -1 * (100000 * m_nPhotos + 1535);
4188 }//B- decays to K+ K- K- omega
4189 if (GenBplusTag::PcheckDecay(genpart, 321, -321, -321, 10221)) {
4190 return -1 * (100000 * m_nPhotos + 1536);
4191 }//B- decays to K+ K- K- f_0
4192 if (GenBplusTag::PcheckDecay(genpart, -321, 321, -311, -213)) {
4193 return -1 * (100000 * m_nPhotos + 1537);
4194 }//B- decays to K- K+ anti-K0 rho-
4195 if (GenBplusTag::PcheckDecay(genpart, -321, -321, 321, 111, 111)) {
4196 return -1 * (100000 * m_nPhotos + 1538);
4197 }//B- decays to K- K- K+ pi0 pi0
4198 if (GenBplusTag::PcheckDecay(genpart, -321, -321, 321, 221, 111)) {
4199 return -1 * (100000 * m_nPhotos + 1539);
4200 }//B- decays to K- K- K+ eta pi0
4201 if (GenBplusTag::PcheckDecay(genpart, -321, -321, 321, 331, 111)) {
4202 return -1 * (100000 * m_nPhotos + 1540);
4203 }//B- decays to K- K- K+ eta' pi0
4204 if (GenBplusTag::PcheckDecay(genpart, 321, -321, -311, -211, 111)) {
4205 return -1 * (100000 * m_nPhotos + 1541);
4206 }//B- decays to K+ K- anti-K0 pi- pi0
4207 if (GenBplusTag::PcheckDecay(genpart, 311, -311, -321, 111, 111)) {
4208 return -1 * (100000 * m_nPhotos + 1542);
4209 }//B- decays to K0 anti-K0 K- pi0 pi0
4210 if (GenBplusTag::PcheckDecay(genpart, 311, -311, -321, 221, 111)) {
4211 return -1 * (100000 * m_nPhotos + 1543);
4212 }//B- decays to K0 anti-K0 K- eta pi0
4213 if (GenBplusTag::PcheckDecay(genpart, 311, -311, -321, 331, 111)) {
4214 return -1 * (100000 * m_nPhotos + 1544);
4215 }//B- decays to K0 anti-K0 K- eta' pi0
4216 if (GenBplusTag::PcheckDecay(genpart, 311, -311, -311, -211, 111)) {
4217 return -1 * (100000 * m_nPhotos + 1545);
4218 }//B- decays to K0 anti-K0 anti-K0 pi- pi0
4219 if (GenBplusTag::PcheckDecay(genpart, 333, -10311, -211)) {
4220 return -1 * (100000 * m_nPhotos + 1546);
4221 }//B- decays to phi anti-K_0*0 pi-
4222 if (GenBplusTag::PcheckDecay(genpart, 333, -10321, 111)) {
4223 return -1 * (100000 * m_nPhotos + 1547);
4224 }//B- decays to phi K_0*- pi0
4225 if (GenBplusTag::PcheckDecay(genpart, 333, -10321, 221)) {
4226 return -1 * (100000 * m_nPhotos + 1548);
4227 }//B- decays to phi K_0*- eta
4228 if (GenBplusTag::PcheckDecay(genpart, 333, -10321, 331)) {
4229 return -1 * (100000 * m_nPhotos + 1549);
4230 }//B- decays to phi K_0*- eta'
4231 if (GenBplusTag::PcheckDecay(genpart, -321, 321, -10321, 111)) {
4232 return -1 * (100000 * m_nPhotos + 1550);
4233 }//B- decays to K- K+ K_0*- pi0
4234 if (GenBplusTag::PcheckDecay(genpart, -321, 321, -10321, 221)) {
4235 return -1 * (100000 * m_nPhotos + 1551);
4236 }//B- decays to K- K+ K_0*- eta
4237 if (GenBplusTag::PcheckDecay(genpart, -321, 321, -10321, 331)) {
4238 return -1 * (100000 * m_nPhotos + 1552);
4239 }//B- decays to K- K+ K_0*- eta'
4240 if (GenBplusTag::PcheckDecay(genpart, -321, -321, 10321, 111)) {
4241 return -1 * (100000 * m_nPhotos + 1553);
4242 }//B- decays to K- K- K_0*+ pi0
4243 if (GenBplusTag::PcheckDecay(genpart, -321, -321, 10321, 221)) {
4244 return -1 * (100000 * m_nPhotos + 1554);
4245 }//B- decays to K- K- K_0*+ eta
4246 if (GenBplusTag::PcheckDecay(genpart, -321, -321, 10321, 331)) {
4247 return -1 * (100000 * m_nPhotos + 1555);
4248 }//B- decays to K- K- K_0*+ eta'
4249 if (GenBplusTag::PcheckDecay(genpart, -321, 321, -10311, -211)) {
4250 return -1 * (100000 * m_nPhotos + 1556);
4251 }//B- decays to K- K+ anti-K_0*0 pi-
4252 if (GenBplusTag::PcheckDecay(genpart, -321, -321, 10311, 211)) {
4253 return -1 * (100000 * m_nPhotos + 1557);
4254 }//B- decays to K- K- K_0*0 pi+
4255 if (GenBplusTag::PcheckDecay(genpart, -311, -311, 10311, -211)) {
4256 return -1 * (100000 * m_nPhotos + 1558);
4257 }//B- decays to anti-K0 anti-K0 K_0*0 pi-
4258 if (GenBplusTag::PcheckDecay(genpart, -321, -10311, 311, 111)) {
4259 return -1 * (100000 * m_nPhotos + 1559);
4260 }//B- decays to K- anti-K_0*0 K0 pi0
4261 if (GenBplusTag::PcheckDecay(genpart, -321, -10311, 311, 221)) {
4262 return -1 * (100000 * m_nPhotos + 1560);
4263 }//B- decays to K- anti-K_0*0 K0 eta
4264 if (GenBplusTag::PcheckDecay(genpart, -321, -10311, 311, 331)) {
4265 return -1 * (100000 * m_nPhotos + 1561);
4266 }//B- decays to K- anti-K_0*0 K0 eta'
4267 if (GenBplusTag::PcheckDecay(genpart, -321, 10311, -311, 111)) {
4268 return -1 * (100000 * m_nPhotos + 1562);
4269 }//B- decays to K- K_0*0 anti-K0 pi0
4270 if (GenBplusTag::PcheckDecay(genpart, -321, 10311, -311, 221)) {
4271 return -1 * (100000 * m_nPhotos + 1563);
4272 }//B- decays to K- K_0*0 anti-K0 eta
4273 if (GenBplusTag::PcheckDecay(genpart, -321, 10311, -311, 331)) {
4274 return -1 * (100000 * m_nPhotos + 1564);
4275 }//B- decays to K- K_0*0 anti-K0 eta'
4276 if (GenBplusTag::PcheckDecay(genpart, 333, -20313, -211)) {
4277 return -1 * (100000 * m_nPhotos + 1565);
4278 }//B- decays to phi anti-K'_10 pi-
4279 if (GenBplusTag::PcheckDecay(genpart, 333, -20323, 111)) {
4280 return -1 * (100000 * m_nPhotos + 1566);
4281 }//B- decays to phi K'_1- pi0
4282 if (GenBplusTag::PcheckDecay(genpart, 333, -20323, 221)) {
4283 return -1 * (100000 * m_nPhotos + 1567);
4284 }//B- decays to phi K'_1- eta
4285 if (GenBplusTag::PcheckDecay(genpart, 333, -20323, 331)) {
4286 return -1 * (100000 * m_nPhotos + 1568);
4287 }//B- decays to phi K'_1- eta'
4288 if (GenBplusTag::PcheckDecay(genpart, -321, 321, -20313, -211)) {
4289 return -1 * (100000 * m_nPhotos + 1569);
4290 }//B- decays to K- K+ anti-K'_10 pi-
4291 if (GenBplusTag::PcheckDecay(genpart, -321, 321, -20323, 111)) {
4292 return -1 * (100000 * m_nPhotos + 1570);
4293 }//B- decays to K- K+ K'_1- pi0
4294 if (GenBplusTag::PcheckDecay(genpart, -321, 321, -20323, 221)) {
4295 return -1 * (100000 * m_nPhotos + 1571);
4296 }//B- decays to K- K+ K'_1- eta
4297 if (GenBplusTag::PcheckDecay(genpart, -321, 321, -20323, 331)) {
4298 return -1 * (100000 * m_nPhotos + 1572);
4299 }//B- decays to K- K+ K'_1- eta'
4300 if (GenBplusTag::PcheckDecay(genpart, -321, -321, 20323, 111)) {
4301 return -1 * (100000 * m_nPhotos + 1573);
4302 }//B- decays to K- K- K'_1+ pi0
4303 if (GenBplusTag::PcheckDecay(genpart, -321, -321, -20313, 211)) {
4304 return -1 * (100000 * m_nPhotos + 1574);
4305 }//B- decays to K- K- anti-K'_10 pi+
4306 if (GenBplusTag::PcheckDecay(genpart, 311, -311, -20313, -211)) {
4307 return -1 * (100000 * m_nPhotos + 1575);
4308 }//B- decays to K0 anti-K0 anti-K'_10 pi-
4309 if (GenBplusTag::PcheckDecay(genpart, 311, -311, -20323, 111)) {
4310 return -1 * (100000 * m_nPhotos + 1576);
4311 }//B- decays to K0 anti-K0 K'_1- pi0
4312 if (GenBplusTag::PcheckDecay(genpart, 311, -311, -20323, 221)) {
4313 return -1 * (100000 * m_nPhotos + 1577);
4314 }//B- decays to K0 anti-K0 K'_1- eta
4315 if (GenBplusTag::PcheckDecay(genpart, 311, -311, -20323, 331)) {
4316 return -1 * (100000 * m_nPhotos + 1578);
4317 }//B- decays to K0 anti-K0 K'_1- eta'
4318 if (GenBplusTag::PcheckDecay(genpart, -311, -311, 20313, -211)) {
4319 return -1 * (100000 * m_nPhotos + 1579);
4320 }//B- decays to anti-K0 anti-K0 K'_10 pi-
4321 if (GenBplusTag::PcheckDecay(genpart, 311, 311, -20323, 111)) {
4322 return -1 * (100000 * m_nPhotos + 1580);
4323 }//B- decays to K0 K0 K'_1- pi0
4324 if (GenBplusTag::PcheckDecay(genpart, 311, 311, -20323, 221)) {
4325 return -1 * (100000 * m_nPhotos + 1581);
4326 }//B- decays to K0 K0 K'_1- eta
4327 if (GenBplusTag::PcheckDecay(genpart, 311, 311, -20323, 331)) {
4328 return -1 * (100000 * m_nPhotos + 1582);
4329 }//B- decays to K0 K0 K'_1- eta'
4330 if (GenBplusTag::PcheckDecay(genpart, -321, 311, -20313, 111)) {
4331 return -1 * (100000 * m_nPhotos + 1583);
4332 }//B- decays to K- K0 anti-K'_10 pi0
4333 if (GenBplusTag::PcheckDecay(genpart, -321, 311, -20313, 221)) {
4334 return -1 * (100000 * m_nPhotos + 1584);
4335 }//B- decays to K- K0 anti-K'_10 eta
4336 if (GenBplusTag::PcheckDecay(genpart, -321, 311, -20313, 331)) {
4337 return -1 * (100000 * m_nPhotos + 1585);
4338 }//B- decays to K- K0 anti-K'_10 eta'
4339 if (GenBplusTag::PcheckDecay(genpart, -321, 20313, -311, 111)) {
4340 return -1 * (100000 * m_nPhotos + 1586);
4341 }//B- decays to K- K'_10 anti-K0 pi0
4342 if (GenBplusTag::PcheckDecay(genpart, -321, 20313, -311, 221)) {
4343 return -1 * (100000 * m_nPhotos + 1587);
4344 }//B- decays to K- K'_10 anti-K0 eta
4345 if (GenBplusTag::PcheckDecay(genpart, -321, 20313, -311, 331)) {
4346 return -1 * (100000 * m_nPhotos + 1588);
4347 }//B- decays to K- K'_10 anti-K0 eta'
4348 if (GenBplusTag::PcheckDecay(genpart, 333, 333, -321)) {
4349 return -1 * (100000 * m_nPhotos + 1589);
4350 }//B- decays to phi phi K-
4351 if (GenBplusTag::PcheckDecay(genpart, 333, 333, -211)) {
4352 return -1 * (100000 * m_nPhotos + 1590);
4353 }//B- decays to phi phi pi-
4354 if (GenBplusTag::PcheckDecay(genpart, 333, 321, -321, -321)) {
4355 return -1 * (100000 * m_nPhotos + 1591);
4356 }//B- decays to phi K+ K- K-
4357 if (GenBplusTag::PcheckDecay(genpart, 333, 311, -311, -321)) {
4358 return -1 * (100000 * m_nPhotos + 1592);
4359 }//B- decays to phi K0 anti-K0 K-
4360 if (GenBplusTag::PcheckDecay(genpart, 333, 311, -311, -211)) {
4361 return -1 * (100000 * m_nPhotos + 1593);
4362 }//B- decays to phi K0 anti-K0 pi-
4363 if (GenBplusTag::PcheckDecay(genpart, 333, 311, -321, 111)) {
4364 return -1 * (100000 * m_nPhotos + 1594);
4365 }//B- decays to phi K0 K- pi0
4366 if (GenBplusTag::PcheckDecay(genpart, 321, -321, 321, -321, -211)) {
4367 return -1 * (100000 * m_nPhotos + 1595);
4368 }//B- decays to K+ K- K+ K- pi-
4369 if (GenBplusTag::PcheckDecay(genpart, 321, -321, 311, -311, -211)) {
4370 return -1 * (100000 * m_nPhotos + 1596);
4371 }//B- decays to K+ K- K0 anti-K0 pi-
4372 if (GenBplusTag::PcheckDecay(genpart, 321, -321, -321, 311, 111)) {
4373 return -1 * (100000 * m_nPhotos + 1597);
4374 }//B- decays to K+ K- K- K0 pi0
4375 if (GenBplusTag::PcheckDecay(genpart, 311, -311, 311, -321, 111)) {
4376 return -1 * (100000 * m_nPhotos + 1598);
4377 }//B- decays to K0 anti-K0 K0 K- pi0
4378 if (GenBplusTag::PcheckDecay(genpart, 333, 333, -323)) {
4379 return -1 * (100000 * m_nPhotos + 1599);
4380 }//B- decays to phi phi K*-
4381 if (GenBplusTag::PcheckDecay(genpart, 333, 321, -321, -323)) {
4382 return -1 * (100000 * m_nPhotos + 1600);
4383 }//B- decays to phi K+ K- K*-
4384 if (GenBplusTag::PcheckDecay(genpart, 333, 311, -311, -323)) {
4385 return -1 * (100000 * m_nPhotos + 1601);
4386 }//B- decays to phi K0 anti-K0 K*-
4387 if (GenBplusTag::PcheckDecay(genpart, 333, 311, -321, 313)) {
4388 return -1 * (100000 * m_nPhotos + 1602);
4389 }//B- decays to phi K0 K- K*0
4390 if (GenBplusTag::PcheckDecay(genpart, 333, 321, -321, -321, 111)) {
4391 return -1 * (100000 * m_nPhotos + 1603);
4392 }//B- decays to phi K+ K- K- pi0
4393 if (GenBplusTag::PcheckDecay(genpart, 333, 321, -321, -311, -211)) {
4394 return -1 * (100000 * m_nPhotos + 1604);
4395 }//B- decays to phi K+ K- anti-K0 pi-
4396 if (GenBplusTag::PcheckDecay(genpart, 333, 311, -311, -321, 111)) {
4397 return -1 * (100000 * m_nPhotos + 1605);
4398 }//B- decays to phi K0 anti-K0 K- pi0
4399 if (GenBplusTag::PcheckDecay(genpart, 333, 311, -311, -311, -211)) {
4400 return -1 * (100000 * m_nPhotos + 1606);
4401 }//B- decays to phi K0 anti-K0 anti-K0 pi-
4402 if (GenBplusTag::PcheckDecay(genpart, 333, 311, -321, -321, 211)) {
4403 return -1 * (100000 * m_nPhotos + 1607);
4404 }//B- decays to phi K0 K- K- pi+
4405 if (GenBplusTag::PcheckDecay(genpart, -20213, 20113)) {
4406 return -1 * (100000 * m_nPhotos + 1608);
4407 }//B- decays to a_1- a_10
4408 if (GenBplusTag::PcheckDecay(genpart, 443, -321)) {
4409 return -1 * (100000 * m_nPhotos + 1609);
4410 }//B- decays to J/psi K-
4411 if (GenBplusTag::PcheckDecay(genpart, 443, -323)) {
4412 return -1 * (100000 * m_nPhotos + 1610);
4413 }//B- decays to J/psi K*-
4414 if (GenBplusTag::PcheckDecay(genpart, 443, -211)) {
4415 return -1 * (100000 * m_nPhotos + 1611);
4416 }//B- decays to J/psi pi-
4417 if (GenBplusTag::PcheckDecay(genpart, 443, -213)) {
4418 return -1 * (100000 * m_nPhotos + 1612);
4419 }//B- decays to J/psi rho-
4420 if (GenBplusTag::PcheckDecay(genpart, 443, -311, -211)) {
4421 return -1 * (100000 * m_nPhotos + 1613);
4422 }//B- decays to J/psi anti-K0 pi-
4423 if (GenBplusTag::PcheckDecay(genpart, 443, -321, 111)) {
4424 return -1 * (100000 * m_nPhotos + 1614);
4425 }//B- decays to J/psi K- pi0
4426 if (GenBplusTag::PcheckDecay(genpart, 443, -20323)) {
4427 return -1 * (100000 * m_nPhotos + 1615);
4428 }//B- decays to J/psi K'_1-
4429 if (GenBplusTag::PcheckDecay(genpart, 443, -325)) {
4430 return -1 * (100000 * m_nPhotos + 1616);
4431 }//B- decays to J/psi K_2*-
4432 if (GenBplusTag::PcheckDecay(genpart, 443, -10323)) {
4433 return -1 * (100000 * m_nPhotos + 1617);
4434 }//B- decays to J/psi K_1-
4435 if (GenBplusTag::PcheckDecay(genpart, 443, -321, 211, -211)) {
4436 return -1 * (100000 * m_nPhotos + 1618);
4437 }//B- decays to J/psi K- pi+ pi-
4438 if (GenBplusTag::PcheckDecay(genpart, 443, -321, 321, -321)) {
4439 return -1 * (100000 * m_nPhotos + 1619);
4440 }//B- decays to J/psi K- K+ K-
4441 if (GenBplusTag::PcheckDecay(genpart, 443, 221, -321)) {
4442 return -1 * (100000 * m_nPhotos + 1620);
4443 }//B- decays to J/psi eta K-
4444 if (GenBplusTag::PcheckDecay(genpart, 443, 333, -321)) {
4445 return -1 * (100000 * m_nPhotos + 1621);
4446 }//B- decays to J/psi phi K-
4447 if (GenBplusTag::PcheckDecay(genpart, 443, 223, -321)) {
4448 return -1 * (100000 * m_nPhotos + 1622);
4449 }//B- decays to J/psi omega K-
4450 if (GenBplusTag::PcheckDecay(genpart, 443, -211, -211, -211, 211, 211)) {
4451 return -1 * (100000 * m_nPhotos + 1623);
4452 }//B- decays to J/psi pi- pi- pi- pi+ pi+
4453 if (GenBplusTag::PcheckDecay(genpart, 443, -2212, 3122)) {
4454 return -1 * (100000 * m_nPhotos + 1624);
4455 }//B- decays to J/psi anti-p- Lambda0
4456 if (GenBplusTag::PcheckDecay(genpart, 100443, -321)) {
4457 return -1 * (100000 * m_nPhotos + 1625);
4458 }//B- decays to psi(2S) K-
4459 if (GenBplusTag::PcheckDecay(genpart, 100443, -323)) {
4460 return -1 * (100000 * m_nPhotos + 1626);
4461 }//B- decays to psi(2S) K*-
4462 if (GenBplusTag::PcheckDecay(genpart, 100443, -311, -211)) {
4463 return -1 * (100000 * m_nPhotos + 1627);
4464 }//B- decays to psi(2S) anti-K0 pi-
4465 if (GenBplusTag::PcheckDecay(genpart, 100443, -321, 111)) {
4466 return -1 * (100000 * m_nPhotos + 1628);
4467 }//B- decays to psi(2S) K- pi0
4468 if (GenBplusTag::PcheckDecay(genpart, 100443, -321, 211, -211)) {
4469 return -1 * (100000 * m_nPhotos + 1629);
4470 }//B- decays to psi(2S) K- pi+ pi-
4471 if (GenBplusTag::PcheckDecay(genpart, 100443, -321, 111, 111)) {
4472 return -1 * (100000 * m_nPhotos + 1630);
4473 }//B- decays to psi(2S) K- pi0 pi0
4474 if (GenBplusTag::PcheckDecay(genpart, 100443, -311, -211, 111)) {
4475 return -1 * (100000 * m_nPhotos + 1631);
4476 }//B- decays to psi(2S) anti-K0 pi- pi0
4477 if (GenBplusTag::PcheckDecay(genpart, 100443, -10323)) {
4478 return -1 * (100000 * m_nPhotos + 1632);
4479 }//B- decays to psi(2S) K_1-
4480 if (GenBplusTag::PcheckDecay(genpart, 100443, -211)) {
4481 return -1 * (100000 * m_nPhotos + 1633);
4482 }//B- decays to psi(2S) pi-
4483 if (GenBplusTag::PcheckDecay(genpart, 100443, 333, -321)) {
4484 return -1 * (100000 * m_nPhotos + 1634);
4485 }//B- decays to psi(2S) phi K-
4486 if (GenBplusTag::PcheckDecay(genpart, 441, -321)) {
4487 return -1 * (100000 * m_nPhotos + 1635);
4488 }//B- decays to eta_c K-
4489 if (GenBplusTag::PcheckDecay(genpart, -323, 441)) {
4490 return -1 * (100000 * m_nPhotos + 1636);
4491 }//B- decays to K*- eta_c
4492 if (GenBplusTag::PcheckDecay(genpart, 441, -311, -211)) {
4493 return -1 * (100000 * m_nPhotos + 1637);
4494 }//B- decays to eta_c anti-K0 pi-
4495 if (GenBplusTag::PcheckDecay(genpart, 441, -321, 111)) {
4496 return -1 * (100000 * m_nPhotos + 1638);
4497 }//B- decays to eta_c K- pi0
4498 if (GenBplusTag::PcheckDecay(genpart, 441, -321, 211, -211)) {
4499 return -1 * (100000 * m_nPhotos + 1639);
4500 }//B- decays to eta_c K- pi+ pi-
4501 if (GenBplusTag::PcheckDecay(genpart, 441, -321, 111, 111)) {
4502 return -1 * (100000 * m_nPhotos + 1640);
4503 }//B- decays to eta_c K- pi0 pi0
4504 if (GenBplusTag::PcheckDecay(genpart, 441, -311, -211, 111)) {
4505 return -1 * (100000 * m_nPhotos + 1641);
4506 }//B- decays to eta_c anti-K0 pi- pi0
4507 if (GenBplusTag::PcheckDecay(genpart, 100441, -321)) {
4508 return -1 * (100000 * m_nPhotos + 1642);
4509 }//B- decays to eta_c(2S) K-
4510 if (GenBplusTag::PcheckDecay(genpart, -323, 100441)) {
4511 return -1 * (100000 * m_nPhotos + 1643);
4512 }//B- decays to K*- eta_c(2S)
4513 if (GenBplusTag::PcheckDecay(genpart, 100441, -311, -211)) {
4514 return -1 * (100000 * m_nPhotos + 1644);
4515 }//B- decays to eta_c(2S) anti-K0 pi-
4516 if (GenBplusTag::PcheckDecay(genpart, 100441, -321, 111)) {
4517 return -1 * (100000 * m_nPhotos + 1645);
4518 }//B- decays to eta_c(2S) K- pi0
4519 if (GenBplusTag::PcheckDecay(genpart, 100441, -321, 211, -211)) {
4520 return -1 * (100000 * m_nPhotos + 1646);
4521 }//B- decays to eta_c(2S) K- pi+ pi-
4522 if (GenBplusTag::PcheckDecay(genpart, 100441, -321, 111, 111)) {
4523 return -1 * (100000 * m_nPhotos + 1647);
4524 }//B- decays to eta_c(2S) K- pi0 pi0
4525 if (GenBplusTag::PcheckDecay(genpart, 100441, -311, -211, 111)) {
4526 return -1 * (100000 * m_nPhotos + 1648);
4527 }//B- decays to eta_c(2S) anti-K0 pi- pi0
4528 if (GenBplusTag::PcheckDecay(genpart, 10441, -321)) {
4529 return -1 * (100000 * m_nPhotos + 1649);
4530 }//B- decays to chi_c0 K-
4531 if (GenBplusTag::PcheckDecay(genpart, -323, 10441)) {
4532 return -1 * (100000 * m_nPhotos + 1650);
4533 }//B- decays to K*- chi_c0
4534 if (GenBplusTag::PcheckDecay(genpart, 10441, -311, -211)) {
4535 return -1 * (100000 * m_nPhotos + 1651);
4536 }//B- decays to chi_c0 anti-K0 pi-
4537 if (GenBplusTag::PcheckDecay(genpart, 10441, -321, 111)) {
4538 return -1 * (100000 * m_nPhotos + 1652);
4539 }//B- decays to chi_c0 K- pi0
4540 if (GenBplusTag::PcheckDecay(genpart, 10441, -321, 211, -211)) {
4541 return -1 * (100000 * m_nPhotos + 1653);
4542 }//B- decays to chi_c0 K- pi+ pi-
4543 if (GenBplusTag::PcheckDecay(genpart, 10441, -321, 111, 111)) {
4544 return -1 * (100000 * m_nPhotos + 1654);
4545 }//B- decays to chi_c0 K- pi0 pi0
4546 if (GenBplusTag::PcheckDecay(genpart, 10441, -311, -211, 111)) {
4547 return -1 * (100000 * m_nPhotos + 1655);
4548 }//B- decays to chi_c0 anti-K0 pi- pi0
4549 if (GenBplusTag::PcheckDecay(genpart, 20443, -321)) {
4550 return -1 * (100000 * m_nPhotos + 1656);
4551 }//B- decays to chi_c1 K-
4552 if (GenBplusTag::PcheckDecay(genpart, 20443, -323)) {
4553 return -1 * (100000 * m_nPhotos + 1657);
4554 }//B- decays to chi_c1 K*-
4555 if (GenBplusTag::PcheckDecay(genpart, 20443, -311, -211)) {
4556 return -1 * (100000 * m_nPhotos + 1658);
4557 }//B- decays to chi_c1 anti-K0 pi-
4558 if (GenBplusTag::PcheckDecay(genpart, 20443, -321, 111)) {
4559 return -1 * (100000 * m_nPhotos + 1659);
4560 }//B- decays to chi_c1 K- pi0
4561 if (GenBplusTag::PcheckDecay(genpart, 20443, -321, 211, -211)) {
4562 return -1 * (100000 * m_nPhotos + 1660);
4563 }//B- decays to chi_c1 K- pi+ pi-
4564 if (GenBplusTag::PcheckDecay(genpart, 20443, -321, 111, 111)) {
4565 return -1 * (100000 * m_nPhotos + 1661);
4566 }//B- decays to chi_c1 K- pi0 pi0
4567 if (GenBplusTag::PcheckDecay(genpart, 20443, -311, -211, 111)) {
4568 return -1 * (100000 * m_nPhotos + 1662);
4569 }//B- decays to chi_c1 anti-K0 pi- pi0
4570 if (GenBplusTag::PcheckDecay(genpart, 20443, -211)) {
4571 return -1 * (100000 * m_nPhotos + 1663);
4572 }//B- decays to chi_c1 pi-
4573 if (GenBplusTag::PcheckDecay(genpart, 445, -321)) {
4574 return -1 * (100000 * m_nPhotos + 1664);
4575 }//B- decays to chi_c2 K-
4576 if (GenBplusTag::PcheckDecay(genpart, 445, -323)) {
4577 return -1 * (100000 * m_nPhotos + 1665);
4578 }//B- decays to chi_c2 K*-
4579 if (GenBplusTag::PcheckDecay(genpart, 445, -311, -211)) {
4580 return -1 * (100000 * m_nPhotos + 1666);
4581 }//B- decays to chi_c2 anti-K0 pi-
4582 if (GenBplusTag::PcheckDecay(genpart, 445, -321, 111)) {
4583 return -1 * (100000 * m_nPhotos + 1667);
4584 }//B- decays to chi_c2 K- pi0
4585 if (GenBplusTag::PcheckDecay(genpart, 445, -321, 211, -211)) {
4586 return -1 * (100000 * m_nPhotos + 1668);
4587 }//B- decays to chi_c2 K- pi+ pi-
4588 if (GenBplusTag::PcheckDecay(genpart, 445, -321, 111, 111)) {
4589 return -1 * (100000 * m_nPhotos + 1669);
4590 }//B- decays to chi_c2 K- pi0 pi0
4591 if (GenBplusTag::PcheckDecay(genpart, 445, -311, -211, 111)) {
4592 return -1 * (100000 * m_nPhotos + 1670);
4593 }//B- decays to chi_c2 anti-K0 pi- pi0
4594 if (GenBplusTag::PcheckDecay(genpart, 30443, -321)) {
4595 return -1 * (100000 * m_nPhotos + 1671);
4596 }//B- decays to psi(3770) K-
4597 if (GenBplusTag::PcheckDecay(genpart, 30443, -323)) {
4598 return -1 * (100000 * m_nPhotos + 1672);
4599 }//B- decays to psi(3770) K*-
4600 if (GenBplusTag::PcheckDecay(genpart, 30443, -311, -211)) {
4601 return -1 * (100000 * m_nPhotos + 1673);
4602 }//B- decays to psi(3770) anti-K0 pi-
4603 if (GenBplusTag::PcheckDecay(genpart, 30443, -321, 111)) {
4604 return -1 * (100000 * m_nPhotos + 1674);
4605 }//B- decays to psi(3770) K- pi0
4606 if (GenBplusTag::PcheckDecay(genpart, 30443, -321, 211, -211)) {
4607 return -1 * (100000 * m_nPhotos + 1675);
4608 }//B- decays to psi(3770) K- pi+ pi-
4609 if (GenBplusTag::PcheckDecay(genpart, 30443, -321, 111, 111)) {
4610 return -1 * (100000 * m_nPhotos + 1676);
4611 }//B- decays to psi(3770) K- pi0 pi0
4612 if (GenBplusTag::PcheckDecay(genpart, 30443, -311, -211, 111)) {
4613 return -1 * (100000 * m_nPhotos + 1677);
4614 }//B- decays to psi(3770) anti-K0 pi- pi0
4615 if (GenBplusTag::PcheckDecay(genpart, 30443, -10323)) {
4616 return -1 * (100000 * m_nPhotos + 1678);
4617 }//B- decays to psi(3770) K_1-
4618 if (GenBplusTag::PcheckDecay(genpart, 9010443, -321)) {
4619 return -1 * (100000 * m_nPhotos + 1679);
4620 }//B- decays to psi(4160) K-
4621 if (GenBplusTag::PcheckDecay(genpart, 10443, -321)) {
4622 return -1 * (100000 * m_nPhotos + 1680);
4623 }//B- decays to h_c K-
4624 if (GenBplusTag::PcheckDecay(genpart, 421, -431)) {
4625 return -1 * (100000 * m_nPhotos + 1681);
4626 }//B- decays to D0 D_s-
4627 if (GenBplusTag::PcheckDecay(genpart, 423, -431)) {
4628 return -1 * (100000 * m_nPhotos + 1682);
4629 }//B- decays to D*0 D_s-
4630 if (GenBplusTag::PcheckDecay(genpart, -433, 421)) {
4631 return -1 * (100000 * m_nPhotos + 1683);
4632 }//B- decays to D_s*- D0
4633 if (GenBplusTag::PcheckDecay(genpart, -433, 423)) {
4634 return -1 * (100000 * m_nPhotos + 1684);
4635 }//B- decays to D_s*- D*0
4636 if (GenBplusTag::PcheckDecay(genpart, 20423, -431)) {
4637 return -1 * (100000 * m_nPhotos + 1685);
4638 }//B- decays to D'_10 D_s-
4639 if (GenBplusTag::PcheckDecay(genpart, 20423, -433)) {
4640 return -1 * (100000 * m_nPhotos + 1686);
4641 }//B- decays to D'_10 D_s*-
4642 if (GenBplusTag::PcheckDecay(genpart, 10423, -431)) {
4643 return -1 * (100000 * m_nPhotos + 1687);
4644 }//B- decays to D_10 D_s-
4645 if (GenBplusTag::PcheckDecay(genpart, 10423, -433)) {
4646 return -1 * (100000 * m_nPhotos + 1688);
4647 }//B- decays to D_10 D_s*-
4648 if (GenBplusTag::PcheckDecay(genpart, 425, -431)) {
4649 return -1 * (100000 * m_nPhotos + 1689);
4650 }//B- decays to D_2*0 D_s-
4651 if (GenBplusTag::PcheckDecay(genpart, 425, -433)) {
4652 return -1 * (100000 * m_nPhotos + 1690);
4653 }//B- decays to D_2*0 D_s*-
4654 if (GenBplusTag::PcheckDecay(genpart, -431, 411, -211)) {
4655 return -1 * (100000 * m_nPhotos + 1691);
4656 }//B- decays to D_s- D+ pi-
4657 if (GenBplusTag::PcheckDecay(genpart, -431, 421, 111)) {
4658 return -1 * (100000 * m_nPhotos + 1692);
4659 }//B- decays to D_s- D0 pi0
4660 if (GenBplusTag::PcheckDecay(genpart, -433, 411, -211)) {
4661 return -1 * (100000 * m_nPhotos + 1693);
4662 }//B- decays to D_s*- D+ pi-
4663 if (GenBplusTag::PcheckDecay(genpart, -433, 421, 111)) {
4664 return -1 * (100000 * m_nPhotos + 1694);
4665 }//B- decays to D_s*- D0 pi0
4666 if (GenBplusTag::PcheckDecay(genpart, -431, 411, -211, 111)) {
4667 return -1 * (100000 * m_nPhotos + 1695);
4668 }//B- decays to D_s- D+ pi- pi0
4669 if (GenBplusTag::PcheckDecay(genpart, -431, 421, -211, 211)) {
4670 return -1 * (100000 * m_nPhotos + 1696);
4671 }//B- decays to D_s- D0 pi- pi+
4672 if (GenBplusTag::PcheckDecay(genpart, -431, 421, 111, 111)) {
4673 return -1 * (100000 * m_nPhotos + 1697);
4674 }//B- decays to D_s- D0 pi0 pi0
4675 if (GenBplusTag::PcheckDecay(genpart, -433, 411, -211, 111)) {
4676 return -1 * (100000 * m_nPhotos + 1698);
4677 }//B- decays to D_s*- D+ pi- pi0
4678 if (GenBplusTag::PcheckDecay(genpart, -433, 421, -211, 211)) {
4679 return -1 * (100000 * m_nPhotos + 1699);
4680 }//B- decays to D_s*- D0 pi- pi+
4681 if (GenBplusTag::PcheckDecay(genpart, -433, 421, 111, 111)) {
4682 return -1 * (100000 * m_nPhotos + 1700);
4683 }//B- decays to D_s*- D0 pi0 pi0
4684 if (GenBplusTag::PcheckDecay(genpart, 421, -411, -311)) {
4685 return -1 * (100000 * m_nPhotos + 1701);
4686 }//B- decays to D0 D- anti-K0
4687 if (GenBplusTag::PcheckDecay(genpart, 421, -413, -311)) {
4688 return -1 * (100000 * m_nPhotos + 1702);
4689 }//B- decays to D0 D*- anti-K0
4690 if (GenBplusTag::PcheckDecay(genpart, 423, -411, -311)) {
4691 return -1 * (100000 * m_nPhotos + 1703);
4692 }//B- decays to D*0 D- anti-K0
4693 if (GenBplusTag::PcheckDecay(genpart, 423, -413, -311)) {
4694 return -1 * (100000 * m_nPhotos + 1704);
4695 }//B- decays to D*0 D*- anti-K0
4696 if (GenBplusTag::PcheckDecay(genpart, 421, -421, -321)) {
4697 return -1 * (100000 * m_nPhotos + 1705);
4698 }//B- decays to D0 anti-D0 K-
4699 if (GenBplusTag::PcheckDecay(genpart, 423, -421, -321)) {
4700 return -1 * (100000 * m_nPhotos + 1706);
4701 }//B- decays to D*0 anti-D0 K-
4702 if (GenBplusTag::PcheckDecay(genpart, 421, -423, -321)) {
4703 return -1 * (100000 * m_nPhotos + 1707);
4704 }//B- decays to D0 anti-D*0 K-
4705 if (GenBplusTag::PcheckDecay(genpart, 423, -423, -321)) {
4706 return -1 * (100000 * m_nPhotos + 1708);
4707 }//B- decays to D*0 anti-D*0 K-
4708 if (GenBplusTag::PcheckDecay(genpart, -411, 411, -321)) {
4709 return -1 * (100000 * m_nPhotos + 1709);
4710 }//B- decays to D- D+ K-
4711 if (GenBplusTag::PcheckDecay(genpart, -413, 411, -321)) {
4712 return -1 * (100000 * m_nPhotos + 1710);
4713 }//B- decays to D*- D+ K-
4714 if (GenBplusTag::PcheckDecay(genpart, -411, 413, -321)) {
4715 return -1 * (100000 * m_nPhotos + 1711);
4716 }//B- decays to D- D*+ K-
4717 if (GenBplusTag::PcheckDecay(genpart, -413, 413, -321)) {
4718 return -1 * (100000 * m_nPhotos + 1712);
4719 }//B- decays to D*- D*+ K-
4720 if (GenBplusTag::PcheckDecay(genpart, 421, -411, -313)) {
4721 return -1 * (100000 * m_nPhotos + 1713);
4722 }//B- decays to D0 D- anti-K*0
4723 if (GenBplusTag::PcheckDecay(genpart, 423, -411, -313)) {
4724 return -1 * (100000 * m_nPhotos + 1714);
4725 }//B- decays to D*0 D- anti-K*0
4726 if (GenBplusTag::PcheckDecay(genpart, 421, -413, -313)) {
4727 return -1 * (100000 * m_nPhotos + 1715);
4728 }//B- decays to D0 D*- anti-K*0
4729 if (GenBplusTag::PcheckDecay(genpart, 423, -413, -313)) {
4730 return -1 * (100000 * m_nPhotos + 1716);
4731 }//B- decays to D*0 D*- anti-K*0
4732 if (GenBplusTag::PcheckDecay(genpart, 421, -421, -323)) {
4733 return -1 * (100000 * m_nPhotos + 1717);
4734 }//B- decays to D0 anti-D0 K*-
4735 if (GenBplusTag::PcheckDecay(genpart, 423, -421, -323)) {
4736 return -1 * (100000 * m_nPhotos + 1718);
4737 }//B- decays to D*0 anti-D0 K*-
4738 if (GenBplusTag::PcheckDecay(genpart, 421, -423, -323)) {
4739 return -1 * (100000 * m_nPhotos + 1719);
4740 }//B- decays to D0 anti-D*0 K*-
4741 if (GenBplusTag::PcheckDecay(genpart, 423, -423, -323)) {
4742 return -1 * (100000 * m_nPhotos + 1720);
4743 }//B- decays to D*0 anti-D*0 K*-
4744 if (GenBplusTag::PcheckDecay(genpart, -411, 411, -323)) {
4745 return -1 * (100000 * m_nPhotos + 1721);
4746 }//B- decays to D- D+ K*-
4747 if (GenBplusTag::PcheckDecay(genpart, -413, 411, -323)) {
4748 return -1 * (100000 * m_nPhotos + 1722);
4749 }//B- decays to D*- D+ K*-
4750 if (GenBplusTag::PcheckDecay(genpart, -411, 413, -323)) {
4751 return -1 * (100000 * m_nPhotos + 1723);
4752 }//B- decays to D- D*+ K*-
4753 if (GenBplusTag::PcheckDecay(genpart, -413, 413, -323)) {
4754 return -1 * (100000 * m_nPhotos + 1724);
4755 }//B- decays to D*- D*+ K*-
4756 if (GenBplusTag::PcheckDecay(genpart, -411, 421)) {
4757 return -1 * (100000 * m_nPhotos + 1725);
4758 }//B- decays to D- D0
4759 if (GenBplusTag::PcheckDecay(genpart, -413, 421)) {
4760 return -1 * (100000 * m_nPhotos + 1726);
4761 }//B- decays to D*- D0
4762 if (GenBplusTag::PcheckDecay(genpart, 423, -411)) {
4763 return -1 * (100000 * m_nPhotos + 1727);
4764 }//B- decays to D*0 D-
4765 if (GenBplusTag::PcheckDecay(genpart, 423, -413)) {
4766 return -1 * (100000 * m_nPhotos + 1728);
4767 }//B- decays to D*0 D*-
4768 if (GenBplusTag::PcheckDecay(genpart, 423, -211)) {
4769 return -1 * (100000 * m_nPhotos + 1729);
4770 }//B- decays to D*0 pi-
4771 if (GenBplusTag::PcheckDecay(genpart, 421, -211)) {
4772 return -1 * (100000 * m_nPhotos + 1730);
4773 }//B- decays to D0 pi-
4774 if (GenBplusTag::PcheckDecay(genpart, -213, 421)) {
4775 return -1 * (100000 * m_nPhotos + 1731);
4776 }//B- decays to rho- D0
4777 if (GenBplusTag::PcheckDecay(genpart, 423, -213)) {
4778 return -1 * (100000 * m_nPhotos + 1732);
4779 }//B- decays to D*0 rho-
4780 if (GenBplusTag::PcheckDecay(genpart, 421, 111, -211)) {
4781 return -1 * (100000 * m_nPhotos + 1733);
4782 }//B- decays to D0 pi0 pi-
4783 if (GenBplusTag::PcheckDecay(genpart, 423, 111, -211)) {
4784 return -1 * (100000 * m_nPhotos + 1734);
4785 }//B- decays to D*0 pi0 pi-
4786 if (GenBplusTag::PcheckDecay(genpart, 411, -211, -211)) {
4787 return -1 * (100000 * m_nPhotos + 1735);
4788 }//B- decays to D+ pi- pi-
4789 if (GenBplusTag::PcheckDecay(genpart, 413, -211, -211)) {
4790 return -1 * (100000 * m_nPhotos + 1736);
4791 }//B- decays to D*+ pi- pi-
4792 if (GenBplusTag::PcheckDecay(genpart, -20213, 421)) {
4793 return -1 * (100000 * m_nPhotos + 1737);
4794 }//B- decays to a_1- D0
4795 if (GenBplusTag::PcheckDecay(genpart, 421, 113, -211)) {
4796 return -1 * (100000 * m_nPhotos + 1738);
4797 }//B- decays to D0 rho0 pi-
4798 if (GenBplusTag::PcheckDecay(genpart, 421, 211, -211, -211)) {
4799 return -1 * (100000 * m_nPhotos + 1739);
4800 }//B- decays to D0 pi+ pi- pi-
4801 if (GenBplusTag::PcheckDecay(genpart, 423, -20213)) {
4802 return -1 * (100000 * m_nPhotos + 1740);
4803 }//B- decays to D*0 a_1-
4804 if (GenBplusTag::PcheckDecay(genpart, 423, 113, -211)) {
4805 return -1 * (100000 * m_nPhotos + 1741);
4806 }//B- decays to D*0 rho0 pi-
4807 if (GenBplusTag::PcheckDecay(genpart, 423, 211, -211, -211)) {
4808 return -1 * (100000 * m_nPhotos + 1742);
4809 }//B- decays to D*0 pi+ pi- pi-
4810 if (GenBplusTag::PcheckDecay(genpart, 411, -213, -211)) {
4811 return -1 * (100000 * m_nPhotos + 1743);
4812 }//B- decays to D+ rho- pi-
4813 if (GenBplusTag::PcheckDecay(genpart, 411, 111, -211, -211)) {
4814 return -1 * (100000 * m_nPhotos + 1744);
4815 }//B- decays to D+ pi0 pi- pi-
4816 if (GenBplusTag::PcheckDecay(genpart, 413, -213, -211)) {
4817 return -1 * (100000 * m_nPhotos + 1745);
4818 }//B- decays to D*+ rho- pi-
4819 if (GenBplusTag::PcheckDecay(genpart, 413, 111, -211, -211)) {
4820 return -1 * (100000 * m_nPhotos + 1746);
4821 }//B- decays to D*+ pi0 pi- pi-
4822 if (GenBplusTag::PcheckDecay(genpart, 423, -213, 111)) {
4823 return -1 * (100000 * m_nPhotos + 1747);
4824 }//B- decays to D*0 rho- pi0
4825 if (GenBplusTag::PcheckDecay(genpart, 423, -211, 111, 111)) {
4826 return -1 * (100000 * m_nPhotos + 1748);
4827 }//B- decays to D*0 pi- pi0 pi0
4828 if (GenBplusTag::PcheckDecay(genpart, 10423, -211)) {
4829 return -1 * (100000 * m_nPhotos + 1749);
4830 }//B- decays to D_10 pi-
4831 if (GenBplusTag::PcheckDecay(genpart, 20423, -211)) {
4832 return -1 * (100000 * m_nPhotos + 1750);
4833 }//B- decays to D'_10 pi-
4834 if (GenBplusTag::PcheckDecay(genpart, 425, -211)) {
4835 return -1 * (100000 * m_nPhotos + 1751);
4836 }//B- decays to D_2*0 pi-
4837 if (GenBplusTag::PcheckDecay(genpart, 10423, -213)) {
4838 return -1 * (100000 * m_nPhotos + 1752);
4839 }//B- decays to D_10 rho-
4840 if (GenBplusTag::PcheckDecay(genpart, 20423, -213)) {
4841 return -1 * (100000 * m_nPhotos + 1753);
4842 }//B- decays to D'_10 rho-
4843 if (GenBplusTag::PcheckDecay(genpart, 425, -213)) {
4844 return -1 * (100000 * m_nPhotos + 1754);
4845 }//B- decays to D_2*0 rho-
4846 if (GenBplusTag::PcheckDecay(genpart, 10421, -211)) {
4847 return -1 * (100000 * m_nPhotos + 1755);
4848 }//B- decays to D_0*0 pi-
4849 if (GenBplusTag::PcheckDecay(genpart, 421, -321)) {
4850 return -1 * (100000 * m_nPhotos + 1756);
4851 }//B- decays to D0 K-
4852 if (GenBplusTag::PcheckDecay(genpart, 423, -321)) {
4853 return -1 * (100000 * m_nPhotos + 1757);
4854 }//B- decays to D*0 K-
4855 if (GenBplusTag::PcheckDecay(genpart, -323, 421)) {
4856 return -1 * (100000 * m_nPhotos + 1758);
4857 }//B- decays to K*- D0
4858 if (GenBplusTag::PcheckDecay(genpart, 423, -323)) {
4859 return -1 * (100000 * m_nPhotos + 1759);
4860 }//B- decays to D*0 K*-
4861 if (GenBplusTag::PcheckDecay(genpart, -411, 111)) {
4862 return -1 * (100000 * m_nPhotos + 1760);
4863 }//B- decays to D- pi0
4864 if (GenBplusTag::PcheckDecay(genpart, -413, 111)) {
4865 return -1 * (100000 * m_nPhotos + 1761);
4866 }//B- decays to D*- pi0
4867 if (GenBplusTag::PcheckDecay(genpart, -411, -311)) {
4868 return -1 * (100000 * m_nPhotos + 1762);
4869 }//B- decays to D- anti-K0
4870 if (GenBplusTag::PcheckDecay(genpart, -413, -311)) {
4871 return -1 * (100000 * m_nPhotos + 1763);
4872 }//B- decays to D*- anti-K0
4873 if (GenBplusTag::PcheckDecay(genpart, 421, -10431)) {
4874 return -1 * (100000 * m_nPhotos + 1764);
4875 }//B- decays to D0 D_s0*-
4876 if (GenBplusTag::PcheckDecay(genpart, 423, -10431)) {
4877 return -1 * (100000 * m_nPhotos + 1765);
4878 }//B- decays to D*0 D_s0*-
4879 if (GenBplusTag::PcheckDecay(genpart, -10433, 421)) {
4880 return -1 * (100000 * m_nPhotos + 1766);
4881 }//B- decays to D_s1- D0
4882 if (GenBplusTag::PcheckDecay(genpart, 423, -10433)) {
4883 return -1 * (100000 * m_nPhotos + 1767);
4884 }//B- decays to D*0 D_s1-
4885 if (GenBplusTag::PcheckDecay(genpart, 421, -321, -311)) {
4886 return -1 * (100000 * m_nPhotos + 1768);
4887 }//B- decays to D0 K- anti-K0
4888 if (GenBplusTag::PcheckDecay(genpart, 421, -321, -313)) {
4889 return -1 * (100000 * m_nPhotos + 1769);
4890 }//B- decays to D0 K- anti-K*0
4891 if (GenBplusTag::PcheckDecay(genpart, 423, -321, -313)) {
4892 return -1 * (100000 * m_nPhotos + 1770);
4893 }//B- decays to D*0 K- anti-K*0
4894 if (GenBplusTag::PcheckDecay(genpart, 421, 223, -211)) {
4895 return -1 * (100000 * m_nPhotos + 1771);
4896 }//B- decays to D0 omega pi-
4897 if (GenBplusTag::PcheckDecay(genpart, 423, 223, -211)) {
4898 return -1 * (100000 * m_nPhotos + 1772);
4899 }//B- decays to D*0 omega pi-
4900 if (GenBplusTag::PcheckDecay(genpart, 421, -20433)) {
4901 return -1 * (100000 * m_nPhotos + 1773);
4902 }//B- decays to D0 D'_s1-
4903 if (GenBplusTag::PcheckDecay(genpart, 423, -20433)) {
4904 return -1 * (100000 * m_nPhotos + 1774);
4905 }//B- decays to D*0 D'_s1-
4906 if (GenBplusTag::PcheckDecay(genpart, 4103, -2203)) {
4907 return -1 * (100000 * m_nPhotos + 1775);
4908 }//B- decays to cd_1 anti-uu_1
4909 if (GenBplusTag::PcheckDecay(genpart, 4303, -2203)) {
4910 return -1 * (100000 * m_nPhotos + 1776);
4911 }//B- decays to cs_1 anti-uu_1
4912 if (GenBplusTag::PcheckDecay(genpart, -2, 1, 4, -2)) {
4913 return -1 * (100000 * m_nPhotos + 1777);
4914 }//B- decays to anti-u d c anti-u
4915 if (GenBplusTag::PcheckDecay(genpart, -2, 1, 4, -2)) {
4916 return -1 * (100000 * m_nPhotos + 1778);
4917 }//B- decays to anti-u d c anti-u
4918 if (GenBplusTag::PcheckDecay(genpart, -2, 3, 4, -2)) {
4919 return -1 * (100000 * m_nPhotos + 1779);
4920 }//B- decays to anti-u s c anti-u
4921 if (GenBplusTag::PcheckDecay(genpart, -4, 3, 4, -2)) {
4922 return -1 * (100000 * m_nPhotos + 1780);
4923 }//B- decays to anti-c s c anti-u
4924 if (GenBplusTag::PcheckDecay(genpart, -4, 1, 4, -2)) {
4925 return -1 * (100000 * m_nPhotos + 1781);
4926 }//B- decays to anti-c d c anti-u
4927 if (GenBplusTag::PcheckDecay(genpart, -2, 1, 2, -2)) {
4928 return -1 * (100000 * m_nPhotos + 1782);
4929 }//B- decays to anti-u d u anti-u
4930 if (GenBplusTag::PcheckDecay(genpart, -4, 3, 2, -2)) {
4931 return -1 * (100000 * m_nPhotos + 1783);
4932 }//B- decays to anti-c s u anti-u
4933 if (GenBplusTag::PcheckDecay(genpart, -2, 2, 1, -2)) {
4934 return -1 * (100000 * m_nPhotos + 1784);
4935 }//B- decays to anti-u u d anti-u
4936 if (GenBplusTag::PcheckDecay(genpart, -1, 1, 1, -2)) {
4937 return -1 * (100000 * m_nPhotos + 1785);
4938 }//B- decays to anti-d d d anti-u
4939 if (GenBplusTag::PcheckDecay(genpart, -3, 3, 1, -2)) {
4940 return -1 * (100000 * m_nPhotos + 1786);
4941 }//B- decays to anti-s s d anti-u
4942 if (GenBplusTag::PcheckDecay(genpart, -2, 2, 3, -2)) {
4943 return -1 * (100000 * m_nPhotos + 1787);
4944 }//B- decays to anti-u u s anti-u
4945 if (GenBplusTag::PcheckDecay(genpart, -1, 1, 3, -2)) {
4946 return -1 * (100000 * m_nPhotos + 1788);
4947 }//B- decays to anti-d d s anti-u
4948 if (GenBplusTag::PcheckDecay(genpart, -3, 3, 3, -2)) {
4949 return -1 * (100000 * m_nPhotos + 1789);
4950 }//B- decays to anti-s s s anti-u
4951 if (GenBplusTag::PcheckDecay(genpart, 3, -2)) {
4952 return -1 * (100000 * m_nPhotos + 1790);
4953 }//B- decays to s anti-u
4954 if (GenBplusTag::PcheckDecay(genpart, 421, -321, 311)) {
4955 return -1 * (100000 * m_nPhotos + 1791);
4956 }//B- decays to D0 K- K0
4957 if (GenBplusTag::PcheckDecay(genpart, 421, -321, 313)) {
4958 return -1 * (100000 * m_nPhotos + 1792);
4959 }//B- decays to D0 K- K*0
4960 if (GenBplusTag::PcheckDecay(genpart, 423, 211, -211, -211, 111)) {
4961 return -1 * (100000 * m_nPhotos + 1793);
4962 }//B- decays to D*0 pi+ pi- pi- pi0
4963 if (GenBplusTag::PcheckDecay(genpart, 423, -211, -211, -211, 211, 211)) {
4964 return -1 * (100000 * m_nPhotos + 1794);
4965 }//B- decays to D*0 pi- pi- pi- pi+ pi+
4966 if (GenBplusTag::PcheckDecay(genpart, 413, -211, -211, -211, 211)) {
4967 return -1 * (100000 * m_nPhotos + 1795);
4968 }//B- decays to D*+ pi- pi- pi- pi+
4969 if (GenBplusTag::PcheckDecay(genpart, 431, -211, -321)) {
4970 return -1 * (100000 * m_nPhotos + 1796);
4971 }//B- decays to D_s+ pi- K-
4972 if (GenBplusTag::PcheckDecay(genpart, 433, -211, -321)) {
4973 return -1 * (100000 * m_nPhotos + 1797);
4974 }//B- decays to D_s*+ pi- K-
4975 if (GenBplusTag::PcheckDecay(genpart, 431, -321, -321)) {
4976 return -1 * (100000 * m_nPhotos + 1798);
4977 }//B- decays to D_s+ K- K-
4978 if (GenBplusTag::PcheckDecay(genpart, 221, -10321)) {
4979 return -1 * (100000 * m_nPhotos + 1799);
4980 }//B- decays to eta K_0*-
4981 if (GenBplusTag::PcheckDecay(genpart, 221, -325)) {
4982 return -1 * (100000 * m_nPhotos + 1800);
4983 }//B- decays to eta K_2*-
4984 if (GenBplusTag::PcheckDecay(genpart, 223, -10321)) {
4985 return -1 * (100000 * m_nPhotos + 1801);
4986 }//B- decays to omega K_0*-
4987 if (GenBplusTag::PcheckDecay(genpart, 223, -325)) {
4988 return -1 * (100000 * m_nPhotos + 1802);
4989 }//B- decays to omega K_2*-
4990 if (GenBplusTag::PcheckDecay(genpart, -313, -211)) {
4991 return -1 * (100000 * m_nPhotos + 1803);
4992 }//B- decays to anti-K*0 pi-
4993 if (GenBplusTag::PcheckDecay(genpart, 225, -321)) {
4994 return -1 * (100000 * m_nPhotos + 1804);
4995 }//B- decays to f_2 K-
4996 if (GenBplusTag::PcheckDecay(genpart, -315, -211)) {
4997 return -1 * (100000 * m_nPhotos + 1805);
4998 }//B- decays to anti-K_2*0 pi-
4999 if (GenBplusTag::PcheckDecay(genpart, -323, -313)) {
5000 return -1 * (100000 * m_nPhotos + 1806);
5001 }//B- decays to K*- anti-K*0
5002 if (GenBplusTag::PcheckDecay(genpart, 333, -10323)) {
5003 return -1 * (100000 * m_nPhotos + 1807);
5004 }//B- decays to phi K_1-
5005 if (GenBplusTag::PcheckDecay(genpart, 333, -325)) {
5006 return -1 * (100000 * m_nPhotos + 1808);
5007 }//B- decays to phi K_2*-
5008 if (GenBplusTag::PcheckDecay(genpart, 221, -321, 22)) {
5009 return -1 * (100000 * m_nPhotos + 1809);
5010 }//B- decays to eta K- gamma
5011 if (GenBplusTag::PcheckDecay(genpart, 331, -321, 22)) {
5012 return -1 * (100000 * m_nPhotos + 1810);
5013 }//B- decays to eta' K- gamma
5014 if (GenBplusTag::PcheckDecay(genpart, 333, -321, 22)) {
5015 return -1 * (100000 * m_nPhotos + 1811);
5016 }//B- decays to phi K- gamma
5017 if (GenBplusTag::PcheckDecay(genpart, -2212, 2212, -211)) {
5018 return -1 * (100000 * m_nPhotos + 1812);
5019 }//B- decays to anti-p- p+ pi-
5020 if (GenBplusTag::PcheckDecay(genpart, -2212, 2212, -321)) {
5021 return -1 * (100000 * m_nPhotos + 1813);
5022 }//B- decays to anti-p- p+ K-
5023 if (GenBplusTag::PcheckDecay(genpart, -2212, 2212, -323)) {
5024 return -1 * (100000 * m_nPhotos + 1814);
5025 }//B- decays to anti-p- p+ K*-
5026 if (GenBplusTag::PcheckDecay(genpart, -2212, 3122, 22)) {
5027 return -1 * (100000 * m_nPhotos + 1815);
5028 }//B- decays to anti-p- Lambda0 gamma
5029 if (GenBplusTag::PcheckDecay(genpart, -2212, 3122, 111)) {
5030 return -1 * (100000 * m_nPhotos + 1816);
5031 }//B- decays to anti-p- Lambda0 pi0
5032 if (GenBplusTag::PcheckDecay(genpart, -2212, 3122, -211, 211)) {
5033 return -1 * (100000 * m_nPhotos + 1817);
5034 }//B- decays to anti-p- Lambda0 pi- pi+
5035 if (GenBplusTag::PcheckDecay(genpart, -2212, 3122, 113)) {
5036 return -1 * (100000 * m_nPhotos + 1818);
5037 }//B- decays to anti-p- Lambda0 rho0
5038 if (GenBplusTag::PcheckDecay(genpart, -2212, 3122, 225)) {
5039 return -1 * (100000 * m_nPhotos + 1819);
5040 }//B- decays to anti-p- Lambda0 f_2
5041 if (GenBplusTag::PcheckDecay(genpart, -3122, 3122, -321)) {
5042 return -1 * (100000 * m_nPhotos + 1820);
5043 }//B- decays to anti-Lambda0 Lambda0 K-
5044 if (GenBplusTag::PcheckDecay(genpart, -3122, 3122, -323)) {
5045 return -1 * (100000 * m_nPhotos + 1821);
5046 }//B- decays to anti-Lambda0 Lambda0 K*-
5047 if (GenBplusTag::PcheckDecay(genpart, 4122, -2212, -211)) {
5048 return -1 * (100000 * m_nPhotos + 1822);
5049 }//B- decays to Lambda_c+ anti-p- pi-
5050 if (GenBplusTag::PcheckDecay(genpart, 4122, -2212, -211, 111)) {
5051 return -1 * (100000 * m_nPhotos + 1823);
5052 }//B- decays to Lambda_c+ anti-p- pi- pi0
5053 if (GenBplusTag::PcheckDecay(genpart, 4122, -2212, -211, -211, 211)) {
5054 return -1 * (100000 * m_nPhotos + 1824);
5055 }//B- decays to Lambda_c+ anti-p- pi- pi- pi+
5056 if (GenBplusTag::PcheckDecay(genpart, 4112, -2212)) {
5057 return -1 * (100000 * m_nPhotos + 1825);
5058 }//B- decays to Sigma_c0 anti-p-
5059 if (GenBplusTag::PcheckDecay(genpart, 4112, -2212, 111)) {
5060 return -1 * (100000 * m_nPhotos + 1826);
5061 }//B- decays to Sigma_c0 anti-p- pi0
5062 if (GenBplusTag::PcheckDecay(genpart, 4112, -2212, 211, -211)) {
5063 return -1 * (100000 * m_nPhotos + 1827);
5064 }//B- decays to Sigma_c0 anti-p- pi+ pi-
5065 if (GenBplusTag::PcheckDecay(genpart, 4222, -2212, -211, -211)) {
5066 return -1 * (100000 * m_nPhotos + 1828);
5067 }//B- decays to Sigma_c++ anti-p- pi- pi-
5068 return -1 * (int)genpart.size();
5069}// Rest of the B- decays
int Mode_B_minus(std::vector< int > genDAU)
returns B- mode identifier
GenBplusTag()
Constructor.
int Mode_B_plus(std::vector< int > genDAU)
returns B+ mode identifier
Definition: GenBplusTag.cc:95
int m_nPhotos
number of photons
Definition: GenBplusTag.h:35
bool PcheckDecay(std::vector< int > gp, int da1, int da2)
check decay with two daughters
Definition: GenBplusTag.cc:16
Abstract base class for different kinds of events.