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