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