Skip to content

Commit b0b1854

Browse files
committed
Add checkMCPairTemplate.cxx as task to study shape of different b->Hc->e decays, fix naming of histograms using 'bar'
1 parent d0b523c commit b0b1854

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

PWGEM/Dilepton/Tasks/checkMCPairTemplate.cxx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1241,19 +1241,19 @@ struct checkMCPairTemplate {
12411241
}
12421242
} else if (std::abs(pdgMotherC1) == kBS && std::abs(pdgMotherC2) == kBS) {
12431243
if (sign1 * sign2 < 0) { // ULS
1244-
fRegistry.fill(HIST("Generated/bbbar/Bs0_Bs0/uls/hs"), mass, pt, weight);
1244+
fRegistry.fill(HIST("Generated/bbbar/Bs0_Bs0bar/uls/hs"), mass, pt, weight);
12451245
} else if (sign1 > 0 && sign2 > 0) { // LS++
1246-
fRegistry.fill(HIST("Generated/bbbar/Bs0_Bs0/lspp/hs"), mass, pt, weight);
1246+
fRegistry.fill(HIST("Generated/bbbar/Bs0_Bs0bar/lspp/hs"), mass, pt, weight);
12471247
} else if (sign1 < 0 && sign2 < 0) { // LS--
1248-
fRegistry.fill(HIST("Generated/bbbar/Bs0_Bs0/lsmm/hs"), mass, pt, weight);
1248+
fRegistry.fill(HIST("Generated/bbbar/Bs0_Bs0bar/lsmm/hs"), mass, pt, weight);
12491249
}
12501250
} else if (std::abs(pdgMotherC1) == kLambdaB0 && std::abs(pdgMotherC2) == kLambdaB0) {
12511251
if (sign1 * sign2 < 0) { // ULS
1252-
fRegistry.fill(HIST("Generated/bbbar/Lb0_Lb0/uls/hs"), mass, pt, weight);
1252+
fRegistry.fill(HIST("Generated/bbbar/Lb0_Lb0bar/uls/hs"), mass, pt, weight);
12531253
} else if (sign1 > 0 && sign2 > 0) { // LS++
1254-
fRegistry.fill(HIST("Generated/bbbar/Lb0_Lb0/lspp/hs"), mass, pt, weight);
1254+
fRegistry.fill(HIST("Generated/bbbar/Lb0_Lb0bar/lspp/hs"), mass, pt, weight);
12551255
} else if (sign1 < 0 && sign2 < 0) { // LS--
1256-
fRegistry.fill(HIST("Generated/bbbar/Lb0_Lb0/lsmm/hs"), mass, pt, weight);
1256+
fRegistry.fill(HIST("Generated/bbbar/Lb0_Lb0bar/lsmm/hs"), mass, pt, weight);
12571257
}
12581258
} else if ((std::abs(pdgMotherC1) == kBPlus && std::abs(pdgMotherC2) == kB0) || (std::abs(pdgMotherC2) == kBPlus && std::abs(pdgMotherC1) == kB0)) {
12591259
if (sign1 * sign2 < 0) { // ULS
@@ -1590,19 +1590,19 @@ struct checkMCPairTemplate {
15901590
}
15911591
} else if (std::abs(pdgMotherC1) == kBS && std::abs(pdgMotherC2) == kBS) {
15921592
if (sign1 * sign2 < 0) { // ULS
1593-
fRegistry.fill(HIST("Pair/bbbar/Bs0_Bs0/uls/hs"), mass, pt, pair_dca, weight);
1593+
fRegistry.fill(HIST("Pair/bbbar/Bs0_Bs0bar/uls/hs"), mass, pt, pair_dca, weight);
15941594
} else if (sign1 > 0 && sign2 > 0) { // LS++
1595-
fRegistry.fill(HIST("Pair/bbbar/Bs0_Bs0/lspp/hs"), mass, pt, pair_dca, weight);
1595+
fRegistry.fill(HIST("Pair/bbbar/Bs0_Bs0bar/lspp/hs"), mass, pt, pair_dca, weight);
15961596
} else if (sign1 < 0 && sign2 < 0) { // LS--
1597-
fRegistry.fill(HIST("Pair/bbbar/Bs0_Bs0/lsmm/hs"), mass, pt, pair_dca, weight);
1597+
fRegistry.fill(HIST("Pair/bbbar/Bs0_Bs0bar/lsmm/hs"), mass, pt, pair_dca, weight);
15981598
}
15991599
} else if (std::abs(pdgMotherC1) == kLambdaB0 && std::abs(pdgMotherC2) == kLambdaB0) {
16001600
if (sign1 * sign2 < 0) { // ULS
1601-
fRegistry.fill(HIST("Pair/bbbar/Lb0_Lb0/uls/hs"), mass, pt, pair_dca, weight);
1601+
fRegistry.fill(HIST("Pair/bbbar/Lb0_Lb0bar/uls/hs"), mass, pt, pair_dca, weight);
16021602
} else if (sign1 > 0 && sign2 > 0) { // LS++
1603-
fRegistry.fill(HIST("Pair/bbbar/Lb0_Lb0/lspp/hs"), mass, pt, pair_dca, weight);
1603+
fRegistry.fill(HIST("Pair/bbbar/Lb0_Lb0bar/lspp/hs"), mass, pt, pair_dca, weight);
16041604
} else if (sign1 < 0 && sign2 < 0) { // LS--
1605-
fRegistry.fill(HIST("Pair/bbbar/Lb0_Lb0/lsmm/hs"), mass, pt, pair_dca, weight);
1605+
fRegistry.fill(HIST("Pair/bbbar/Lb0_Lb0bar/lsmm/hs"), mass, pt, pair_dca, weight);
16061606
}
16071607
} else if ((std::abs(pdgMotherC1) == kBPlus && std::abs(pdgMotherC2) == kB0) || (std::abs(pdgMotherC2) == kBPlus && std::abs(pdgMotherC1) == kB0)) {
16081608
if (sign1 * sign2 < 0) { // ULS

0 commit comments

Comments
 (0)