Skip to content

Commit c905d7b

Browse files
Add configurable to enable/disable side-based TPC drift correction
1 parent 648236e commit c905d7b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

PWGLF/Utils/strangenessBuilderModule.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,7 @@ struct v0Configurables : o2::framework::ConfigurableGroup {
345345
std::string prefix = "v0BuilderOpts";
346346
o2::framework::Configurable<bool> generatePhotonCandidates{"generatePhotonCandidates", false, "generate gamma conversion candidates (V0s using TPC-only tracks)"};
347347
o2::framework::Configurable<bool> moveTPCOnlyTracks{"moveTPCOnlyTracks", true, "if dealing with TPC-only tracks, move them according to TPC drift / time info"};
348+
o2::framework::Configurable<bool> useSideBasedCorrection{"useSideBasedCorrection", false, "when moving TPC-only tracks, use TPC side flags (with legacy fallback) instead of tgl sign"};
348349

349350
// baseline conditionals of V0 building
350351
o2::framework::Configurable<int> minCrossedRows{"minCrossedRows", 50, "minimum TPC crossed rows for daughter tracks"};
@@ -835,6 +836,8 @@ class BuilderModule
835836
if (eventSelectOpts.cfgApplyRCTrequirement) {
836837
rctFlagsChecker.init(eventSelectOpts.cfgRCTLabel.value, eventSelectOpts.cfgCheckZDC, eventSelectOpts.cfgTreatLimitedAcceptanceAsBad);
837838
}
839+
840+
mVDriftMgr.setUseSideBasedCorrection(v0BuilderOpts.useSideBasedCorrection.value);
838841
}
839842

840843
// for sorting

0 commit comments

Comments
 (0)