File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -897,6 +897,9 @@ class BuilderModule
897897
898898 // handle TPC-only tracks properly (photon conversions)
899899 if (v0BuilderOpts.moveTPCOnlyTracks ) {
900+ if (collision.has_bc ()) {
901+ mVDriftMgr .update (collision.template bc_as <aod::BCsWithTimestamps>().timestamp ());
902+ }
900903 if (isPosTPCOnly) {
901904 // Nota bene: positive is TPC-only -> this entire V0 merits treatment as photon candidate
902905 posTrackPar.setPID (o2::track::PID::Electron);
@@ -1368,6 +1371,9 @@ class BuilderModule
13681371 pvX = collision.posX ();
13691372 pvY = collision.posY ();
13701373 pvZ = collision.posZ ();
1374+ if (v0BuilderOpts.moveTPCOnlyTracks && collision.has_bc ()) {
1375+ mVDriftMgr .update (collision.template bc_as <aod::BCsWithTimestamps>().timestamp ());
1376+ }
13711377 }
13721378 auto const & posTrack = tracks.rawIteratorAt (v0.posTrackId );
13731379 auto const & negTrack = tracks.rawIteratorAt (v0.negTrackId );
You can’t perform that action at this time.
0 commit comments