Skip to content

Commit 6fd19f4

Browse files
authored
Merge pull request #44 from feisenhu/b2CC2ee_Signal_CheckMCPairTemplates
Apply changes for b2cc2l for CheckMCPairTemplates
2 parents 5ac6cfd + 2a3aaca commit 6fd19f4

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

PWGEM/Dilepton/Tasks/checkMCPairTemplate.cxx

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,9 @@ struct checkMCPairTemplate {
329329
"bbbar/b2l_b2l/", // 16
330330
"bbbar/b2c2l_b2c2l/", // 17
331331
"bbbar/b2c2l_b2l_sameb/", // 18
332-
"bbbar/b2c2l_b2l_diffb/" // 19
332+
"bbbar/b2c2l_b2l_diffb/", // 19
333+
"bbbar/b2cc2l_b2c2l/", // 20
334+
"bbbar/b2cc2l_b2cc2l/", // 21
333335
}; // unordered_map is better, but cannot be constexpr.
334336
static constexpr std::string_view unfolding_dilepton_source_types[3] = {"sm/", "ccbar/", "bbbar/"};
335337

@@ -424,6 +426,8 @@ struct checkMCPairTemplate {
424426
fRegistry.addClone("Generated/ccbar/c2l_c2l/", "Generated/bbbar/b2c2l_b2c2l/");
425427
fRegistry.addClone("Generated/ccbar/c2l_c2l/", "Generated/bbbar/b2c2l_b2l_sameb/");
426428
fRegistry.addClone("Generated/ccbar/c2l_c2l/", "Generated/bbbar/b2c2l_b2l_diffb/"); // LS
429+
fRegistry.addClone("Generated/ccbar/c2l_c2l/", "Generated/bbbar/b2cc2l_b2c2l/");
430+
fRegistry.addClone("Generated/ccbar/c2l_c2l/", "Generated/bbbar/b2cc2l_b2cc2l/");
427431

428432
// for charmed hadrons // create 28 combinations
429433
static constexpr std::string_view charmed_mesons[] = {"Dplus", "D0", "Dsplus"}; // 411, 421, 431
@@ -562,6 +566,8 @@ struct checkMCPairTemplate {
562566
fRegistry.addClone("Pair/ccbar/c2l_c2l/", "Pair/bbbar/b2c2l_b2c2l/");
563567
fRegistry.addClone("Pair/ccbar/c2l_c2l/", "Pair/bbbar/b2c2l_b2l_sameb/");
564568
fRegistry.addClone("Pair/ccbar/c2l_c2l/", "Pair/bbbar/b2c2l_b2l_diffb/"); // LS
569+
fRegistry.addClone("Pair/ccbar/c2l_c2l/", "Pair/bbbar/b2cc2l_b2c2l/");
570+
fRegistry.addClone("Pair/ccbar/c2l_c2l/", "Pair/bbbar/b2cc2l_b2cc2l/");
565571

566572
if (cfgFillSeparateCharmHadronPairs) {
567573
for (int im = 0; im < nm_c; im++) {
@@ -2326,6 +2332,12 @@ struct checkMCPairTemplate {
23262332
case static_cast<int>(EM_HFeeType::kBCe_Be_DiffB):
23272333
fillGenHistograms<19>(sign1, sign2, mp1.pdgCode(), mp2.pdgCode(), v12.M(), v12.Pt(), weight); // b2c2l_b2l_diffb
23282334
break;
2335+
case static_cast<int>(EM_HFeeType::kBCCe_BCe):
2336+
fillGenHistograms<20>(sign1, sign2, mp1.pdgCode(), mp2.pdgCode(), v12.M(), v12.Pt(), weight); // b2cc2l_b2c2l
2337+
break;
2338+
case static_cast<int>(EM_HFeeType::kBCCe_BCCe):
2339+
fillGenHistograms<21>(sign1, sign2, mp1.pdgCode(), mp2.pdgCode(), v12.M(), v12.Pt(), weight); // b2cc2l_b2cc2l
2340+
break;
23292341
default:
23302342
break;
23312343
}

0 commit comments

Comments
 (0)