Skip to content

Commit ac5900e

Browse files
SteffimroStefanie Mrozinski
andauthored
[PWGEM] Add configurable to enable/disable side-based TPC drift correction (#17944)
Co-authored-by: Stefanie Mrozinski <stefanie.mrozinski@stud.uni-frankfurt.de>
1 parent e23946d commit ac5900e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

PWGEM/PhotonMeson/TableProducer/photonconversionbuilder.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ struct PhotonConversionBuilder {
186186
Configurable<int> useMatCorrType{"useMatCorrType", 0, "0: none, 1: TGeo, 2: LUT"};
187187
Configurable<int> modeTrackPropagation{"modeTrackPropagation", 0, "0: use real track propagation, including material, 1: use fast approximation using only geometry, 2: Use real track propagation and make comparison to fast propagation (only for debugging and testing)"};
188188
Configurable<float> propV0LegsRadius{"propV0LegsRadius", 60.f, "Radius to which the V0 legs are propagated to calculate psipair and phiV"};
189+
o2::framework::Configurable<bool> useSideBasedCorrection{"useSideBasedCorrection", false, "when moving TPC-only tracks, use TPC side flags (with legacy fallback) instead of tgl sign"};
189190

190191
// deduplication settings
191192
struct : ConfigurableGroup {
@@ -476,6 +477,8 @@ struct PhotonConversionBuilder {
476477
}
477478
}
478479
}
480+
481+
mVDriftMgr.setUseSideBasedCorrection(useSideBasedCorrection.value);
479482
}
480483

481484
void initCCDB(MyBCs::iterator const& bc)

0 commit comments

Comments
 (0)