Skip to content

Commit 1163331

Browse files
[PWGLF] Fix crash due to the update of the TPC drift manager (#15318)
1 parent 9ca0c83 commit 1163331

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGLF/Utils/strangenessBuilderModule.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1371,7 +1371,7 @@ class BuilderModule
13711371
pvX = collision.posX();
13721372
pvY = collision.posY();
13731373
pvZ = collision.posZ();
1374-
if (v0BuilderOpts.moveTPCOnlyTracks && collision.has_bc()) {
1374+
if (v0BuilderOpts.generatePhotonCandidates && v0BuilderOpts.moveTPCOnlyTracks && collision.has_bc()) {
13751375
mVDriftMgr.update(collision.template bc_as<aod::BCsWithTimestamps>().timestamp());
13761376
}
13771377
}

0 commit comments

Comments
 (0)