93 {
94
95
96
97
98
99
100
101
102
103
104 static constexpr std::array<int, 33> one_b_Ids = {
105
106 -511, -521, -10511, -10521, -513, -523, -10513, -10523, -20513, -20523,
107 -515, -525, -531, -10531, -533, -10533, -20533,
108 -535,
109
110 5122, 5112, 5212, 5222, 5114, 5214, 5224, 5132, 5232, 5312, 5322, 5314,
111 5324, 5332, 5334
112 };
113 static constexpr std::array<int,33> one_antib_Ids =
negateID(one_b_Ids);
114 static constexpr std::array<int,6> one_b_one_antic_Ids = {
115
116 -541, -10541, -543, -10543, -20543, -545
117 };
118 static constexpr std::array<int,6> one_antib_one_c_Ids =
negateID(one_b_one_antic_Ids);
119 static constexpr std::array<int,9> one_b_one_c_Ids = {
120
121 5142, 5242, 5412, 5422, 5414, 5424, 5342, 5432, 5434
122 };
123 static constexpr std::array<int,9> one_antib_one_antic_Ids =
negateID(one_b_one_c_Ids);
124 static constexpr std::array<int,2> one_b_two_cs_Ids = {
125
126 5442, 5444
127 };
128 static constexpr std::array<int,2> one_antib_two_antics_Ids =
negateID(one_b_two_cs_Ids);
129 static constexpr std::array<int,6> two_bs_Ids = {
130
131 5512, 5522, 5514, 5524, 5532, 5534
132 };
133 static constexpr std::array<int,6> two_antibs_Ids =
negateID(two_bs_Ids);
134 static constexpr std::array<int,2> two_bs_one_c_Ids = {
135
136 5542, 5544
137 };
138 static constexpr std::array<int,2> two_antibs_one_antic_Ids =
negateID(two_bs_one_c_Ids);
139 static constexpr std::array<int,1> three_bs = {
140
141 5554
142 };
143 static constexpr std::array<int,1> three_antibs =
negateID(three_bs);
144
145 static constexpr std::array<int,33> one_c_Ids = {
146
147 411, 421, 10411, 10421, 413, 423, 10413, 10423, 20413, 20423,
148 415, 425, 431, 10431, 433, 10433, 20433, 435,
149
150 4122, 4222, 4212, 4112, 4224, 4214, 4114, 4232, 4132, 4322, 4312, 4324,
151 4314, 4332, 4334
152 };
153 static constexpr std::array<int,33> one_antic_Ids =
negateID(one_c_Ids);
154 static constexpr std::array<int,6> two_c_Ids = {
155
156 4412, 4422, 4414, 4424, 4432, 4434
157 };
158 static constexpr std::array<int,6> two_antic_Ids =
negateID(two_c_Ids);
159 static constexpr std::array<int,1> three_c_Ids = {
160 4444
161 };
162 static constexpr std::array<int,1> three_antic_Ids =
negateID(three_c_Ids);
163
164
166
167
168 if (
hit(three_bs, pdgId)) {
nb = 3; }
169 else if (
hit(three_antibs, pdgId)) {
nb = -3; }
170 else if (
hit(two_bs_one_c_Ids, pdgId)) {
nb = 2;
nc = 1; }
171 else if (
hit(two_antibs_one_antic_Ids, pdgId)) {
nb = -2;
nc = -1; }
172 else if (
hit(two_bs_Ids, pdgId)) {
nb = 2; }
173 else if (
hit(two_antibs_Ids, pdgId)) {
nb = -2; }
174 else if (
hit(one_b_two_cs_Ids, pdgId)) {
nb = 1;
nc = 2; }
175 else if (
hit(one_antib_two_antics_Ids, pdgId)) {
nb = -1;
nc = -2; }
176 else if (
hit(one_b_one_c_Ids, pdgId)) {
nb = 1;
nc = 1; }
177 else if (
hit(one_antib_one_antic_Ids, pdgId)) {
nb = -1;
nc = -1; }
178 else if (
hit(one_b_one_antic_Ids, pdgId)) {
nb = 1;
nc = -1; }
179 else if (
hit(one_antib_one_c_Ids, pdgId)) {
nb = -1;
nc = 1; }
180
181 else if (
hit(one_b_Ids, pdgId)) {
nb = 1; }
182 else if (
hit(one_antib_Ids, pdgId)) {
nb = -1; }
183 else if (
hit(three_c_Ids, pdgId)) {
nc = 3; }
184 else if (
hit(three_antic_Ids, pdgId)) {
nc = -3; }
185 else if (
hit(two_c_Ids, pdgId)) {
nc = 2; }
186 else if (
hit(two_antic_Ids, pdgId)) {
nc = -2; }
187 else if (
hit(one_c_Ids, pdgId)) {
nc = 1; }
188 else if (
hit(one_antic_Ids, pdgId)) {
nc = -1; }
189
190 return FlavInfo(0,0,0,nc,nb,0,0);
191}