You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
doprocessMc || doprocessMcWithMl) { // processing MC
189
186
190
187
for (auto i = 0; i < DataType::kDataTypes; ++i) {
191
-
if (i == DataType::McDsPrompt || i == DataType::McDsNonPrompt || i == DataType::McDplusPrompt || i == DataType::McDplusNonPrompt || i == DataType::McDplusBkg) {
188
+
if (i == DataType::McDsPrompt || i == DataType::McDsNonPrompt || i == DataType::McDplusPrompt || i == DataType::McDplusNonPrompt || i == DataType::McDplusBkg || i == DataType::McLcBkg) {
auto yCand = whichSpeciesDecay == SpeciesAndDecay::DsToKKPi ? hfHelper.yDs(candidate) : hfHelper.yDplus(candidate);
405
410
if (yCandRecoMax >= 0. && std::abs(yCand) > yCandRecoMax) {
406
411
return;
407
412
}
@@ -462,15 +467,16 @@ struct HfTaskDs {
462
467
CandDsMcGen const& mcParticles)
463
468
{
464
469
// MC rec.
465
-
std::array<MemberFunctionPointer<CandDs>, 5> isOfType = {// Contains the functions to check if the candidate is of a certain type
470
+
std::array<MemberFunctionPointer<CandDs>, 6> isOfType = {// Contains the functions to check if the candidate is of a certain type
466
471
&HfTaskDs::isDsPrompt<CandDs>,
467
472
&HfTaskDs::isDsNonPrompt<CandDs>,
468
473
&HfTaskDs::isDplusPrompt<CandDs>,
469
474
&HfTaskDs::isDplusNonPrompt<CandDs>,
470
-
&HfTaskDs::isDplusBkg<CandDs>};
475
+
&HfTaskDs::isDplusBkg<CandDs>,
476
+
&HfTaskDs::isLcBkg<CandDs>};
471
477
472
478
bool isBkg = true;
473
-
for (int i = DataType::McDsPrompt; i <= DataType::McDplusBkg; i++) { // Check what type of MC signal candidate it is, and fill the corresponding histograms
479
+
for (int i = DataType::McDsPrompt; i <= DataType::McLcBkg; i++) { // Check what type of MC signal candidate it is, and fill the corresponding histograms
474
480
if ((this->*isOfType[i - DataType::McDsPrompt])(candidate)) {
0 commit comments