Skip to content

AOD: initialise each instance of the producer, not only the first - #16250

Merged
ktf merged 6 commits into
AliceO2Group:devfrom
ktf:pr16250
Dec 1, 2026
Merged

ktf merged 6 commits into
AliceO2Group:devfrom
ktf:pr16250

Conversation

@ktf

@ktf ktf commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

The one-off initialisation in updateTimeDependentParams was guarded by a
function-local static, shared by every instance in the process: only the
first instance created and configured what is its own. Keep the flag in
the instance. With a single instance nothing changes.

The filled BCs still go once per process into o2::tof::Utils, which keeps
one list for all.

ktf added 6 commits December 1, 2026 12:55
The one-off initialisation in updateTimeDependentParams was guarded by a
function-local static, shared by every instance in the process: only the
first instance created and configured what is its own. Keep the flag in
the instance. With a single instance nothing changes.
The one-off initialisation in updateTimeDependentParams was guarded by a
function-local static, shared by every instance in the process: only the
first instance created and configured what is its own. Keep the flag in
the instance. With a single instance nothing changes.
…nly the first

The one-off initialisation in updateTimeDependentParams was guarded by a
function-local static, shared by every instance in the process: only the
first instance created and configured what is its own. Keep the flag in
the instance. With a single instance nothing changes.

In the ITS-TPC, global forward and vertex-track matchers, the primary and
secondary vertexers, the TPC track interpolation and MatchTPCITS itself.
The one-off initialisation in updateTimeDependentParams was guarded by a
function-local static, shared by every instance in the process: only the
first instance created and configured what is its own. Keep the flag in
the instance. With a single instance nothing changes.

In the global tracking, the tracklet transformer and the track based
calibration.
The one-off initialisation in updateTimeDependentParams was guarded by a
function-local static, shared by every instance in the process: only the
first instance created and configured what is its own. Keep the flag in
the instance. With a single instance nothing changes.
The one-off initialisation in updateTimeDependentParams was guarded by a
function-local static, shared by every instance in the process: only the
first instance created and configured what is its own. Keep the flag in
the instance. With a single instance nothing changes.

The filled BCs still go once per process into o2::tof::Utils, which keeps
one list for all.
@ktf ktf changed the title EventVisualisation: initialise each instance of the display, not only the first AOD: initialise each instance of the producer, not only the first Dec 1, 2026
@ktf

ktf commented Dec 1, 2026

Copy link
Copy Markdown
Member Author

@davidrohr this is what we were discussing this morning. Each clone of this device needs to reinitialise itself until they are fully re-entrant.

@ktf
ktf merged commit 2d49554 into AliceO2Group:dev Dec 1, 2026
11 checks passed
@ktf

ktf commented Dec 1, 2026

Copy link
Copy Markdown
Member Author

Mechanical changes. Merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant