Skip to content

Commit 636bfd0

Browse files
Joonsuk Baeclaude
andcommitted
[PWGJE] jetCrossSectionEfficiency: add cascade variants for event-selection studies
Adds parallel step-by-step cascade histograms with three orderings plus an optional RCT_pass filter, to expose how each event-selection step contributes to the cumulative jet efficiency. * Truth-level kITSROFBorder step is added to the existing main cascade (h_mccollisions_eventselection) before the reco-collision requirement, so the ITS-ROF-border contribution is measured upstream of collision reconstruction. * New "v3_analysisTrue" cascade (filled inside the existing processCrossSectionEfficiency function). Mirrors the cut chain that downstream jet analyses apply on reconstructed collisions: INEL -> +hasRecoColl -> +|zReco|<10 -> +hasSplit -> +kTVX -> +kNoTFB -> +kNoITSROFB -> +kNoSBP * New process function processCrossSectionEfficiencyCollRecoFirst (default ON). Same ordering as v3_analysisTrue with an optional +RCT_pass step at bin 2 (no-op unless applyRctPass=true). BC bits read from the reco-collision EvSels bitmask. * New process function processCrossSectionEfficiencyBcBitsFirst (default OFF). BC bits read from the MC truth BC (BcSels) BEFORE requiring a reconstructed collision; the SBP step uses a Preslice on JetMcCollisions to require exactly one MC collision per truth BC. Cascade: INEL -> +RCT_pass -> +kTVX(truth) -> +kNoTFB(truth) -> +kNoITSROFB(truth) -> +kNoSBP(truth) -> +hasColl -> +|zReco|<10 -> +noSplit * applyRctPass Configurable (default false) + rctPassRunList (vector<int>) gate the optional RCT_pass step. The bin is always registered so the histogram shape stays fixed across configurations; with applyRctPass=false the step is a no-op (every event passes). Comparing CollRecoFirst and BcBitsFirst on the same input separates BC-versus-collision-reco contributions to the cumulative efficiency loss. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 04e6560 commit 636bfd0

1 file changed

Lines changed: 679 additions & 13 deletions

File tree

0 commit comments

Comments
 (0)