Skip to content

Commit 79d5215

Browse files
committed
test various concatenations of the HIST macro
1 parent 478b8c5 commit 79d5215

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

PWGHF/D2H/Tasks/taskLc.cxx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,18 @@ struct HfTaskLc {
480480
const float gamma = std::sqrt(1 + p2m * p2m); // mother's particle Lorentz factor
481481
const float properLifetime = mcDaughter0.vt() * NanoToPico / gamma; // from ns to ps * from lab time to proper time
482482

483+
// ============================ for debug purposes only ============================
484+
registry.fill(HIST("MC/generated/") + HIST(SignalFolders[Signal]) + HIST("/hPtGen") + HIST(SignalSuffixes[Signal]), ptGen);
485+
registry.fill(HIST("MC/generated/") + HIST(SignalFolders[0]) + HIST("/hPtGen") + HIST(SignalSuffixes[0]), ptGen);
486+
registry.fill(HIST("MC/generated/") + HIST(SignalFolders[0]) + HIST("/hPtGen"), ptGen);
487+
registry.fill(HIST("MC/generated/") + HIST(SignalFolders[0]) + HIST("/hPtGen") + HIST(""), ptGen);
488+
registry.fill(HIST("MC/generated/") + HIST("signal") + HIST("/hPtGen") + HIST(""), ptGen);
489+
registry.fill(HIST("MC/generated/") + HIST("signal") + HIST("/hPtGen") + HIST(SignalSuffixes[0]), ptGen);
490+
registry.fill(HIST("MC/generated/signal/hPtGen") + HIST(SignalSuffixes[0]), ptGen);
491+
registry.fill(HIST("MC/generated/") + HIST("signal") + HIST("/hPtGen"), ptGen);
492+
registry.fill(HIST("MC/generated/signal") + HIST("/hPtGen"), ptGen);
493+
// =================================================================================
494+
483495
auto fillHistogramsGen = [&]<int signalType>() {
484496
registry.fill(HIST("MC/generated/") + HIST(SignalFolders[signalType]) + HIST("/hPtGen") + HIST(SignalSuffixes[signalType]), ptGen);
485497
registry.fill(HIST("MC/generated/") + HIST(SignalFolders[signalType]) + HIST("/hEtaGen") + HIST(SignalSuffixes[signalType]), particle.eta());

0 commit comments

Comments
 (0)