Skip to content

Commit 2d591d1

Browse files
committed
Implement DCAxy parameterization cut
1 parent bee0346 commit 2d591d1

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

‎PWGDQ/TableProducer/globalTrackEstimator.cxx‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ struct GlobalTrackEstimator {
4848
Produces<o2::aod::ReducedEventsGlobalTrk> reducedEventsGlobalTrk;
4949
Produces<o2::aod::ReducedEventsMultAzimuth> reducedEventsMultAzimuth;
5050

51-
Configurable<float> cfgMaxDCAxy{"cfgMaxDCAxy", 2.0, "Maximum DCAxy"};
51+
Configurable<float> cfgShiftDCAxy{"cfgShiftDCAxy", 0.0105, "Constant shift of DCAxy paramterization"};
52+
Configurable<float> cfgPtMagnitudeDCAxy{"cfgPtMagnitudeDCAxy", 0.035, "Magnitude of the pT dependency of the DCAxy paramterization"};
53+
Configurable<float> cfgExponentDCAxy{"cfgExponentDCAxy", 1.1, "Exponent of the pT dependency of the DCAxy paramterization"};
5254
Configurable<float> cfgMaxDCAz{"cfgMaxDCAz", 2.0, "Maximum DCAz"};
5355
Configurable<float> cfgMinPt{"cfgMinPt", 0.1, "Minimum required pT"};
5456
Configurable<float> cfgEtaRange{"cfgEtaRange", 0.8, "Pseudorapidity range"};
@@ -129,7 +131,11 @@ struct GlobalTrackEstimator {
129131
continue;
130132
}
131133

132-
if (std::abs(VarManager::fgValues[VarManager::kTrackDCAxy]) > cfgMaxDCAxy.value || std::abs(VarManager::fgValues[VarManager::kTrackDCAz]) > cfgMaxDCAz.value) {
134+
if (std::abs(VarManager::fgValues[VarManager::kTrackDCAz]) > cfgMaxDCAz.value) {
135+
continue;
136+
}
137+
138+
if (std::abs(VarManager::fgValues[VarManager::kTrackDCAxy]) > cfgShiftDCAxy + cfgPtMagnitudeDCAxy / pow(track.pt(), cfgExponentDCAxy)) {
133139
continue;
134140
}
135141

0 commit comments

Comments
 (0)