Skip to content

Commit f06df02

Browse files
f3schchiarazampolli
authored andcommitted
AODPRODUCER: disable propagation to PV for SV
This feature was introduced in #11458, however the additional check for SV was forgotten. This is anyways not enabled by default and should not have affected any default production.
1 parent a1a9a6d commit f06df02

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Detectors/AOD/src/AODProducerWorkflowSpec.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ void AODProducerWorkflowDPL::fillTrackTablesPerCollision(int collisionID,
491491
}
492492
const auto& trOrig = data.getTrackParam(trackIndex);
493493
bool isProp = false;
494-
if (mPropTracks && trOrig.getX() < mMinPropR) {
494+
if (mPropTracks && trOrig.getX() < mMinPropR && mGIDUsedBySVtx.find(trackIndex) != mGIDUsedBySVtx.end()) {
495495
auto trackPar(trOrig);
496496
isProp = propagateTrackToPV(trackPar, data, collisionID);
497497
if (isProp) {

0 commit comments

Comments
 (0)