Skip to content

Conversation

@sawenzel
Copy link
Contributor

No description provided.

@github-actions
Copy link

REQUEST FOR PRODUCTION RELEASES:
To request your PR to be included in production software, please add the corresponding labels called "async-" to your PR. Add the labels directly (if you have the permissions) or add a comment of the form (note that labels are separated by a ",")

+async-label <label1>, <label2>, !<label3> ...

This will add <label1> and <label2> and removes <label3>.

The following labels are available
async-2023-pbpb-apass4
async-2023-pp-apass4
async-2024-pp-apass1
async-2022-pp-apass7
async-2024-pp-cpass0
async-2024-PbPb-apass1
async-2024-ppRef-apass1
async-2024-PbPb-apass2
async-2023-PbPb-apass5

@sawenzel
Copy link
Contributor Author

@shahor02, @miranov25 : This should make the TPC time series task react on a disabled TOF detector. However, the workflow then actually crashes: It still searches for TOF. Could you maybe take a look when you have moment?

@sawenzel sawenzel changed the title TPC-timer-series: dynamic track-types TPC-time-series: dynamic track-types Sep 30, 2025
@sawenzel sawenzel marked this pull request as draft October 1, 2025 06:26
@miranov25
Copy link
Contributor

@matthias-kleiner, could you please review this Pull Request from @sawenzel?

It appears to be a technical fix for the performance generator module and should not impact standard data taking or physics workflows.

Thank you for checking!

Best,
Marian

timeseries_clustertypes=cleanDetectorInputList("FT0,TOF,TPC")
TPCTStask = createTask(name='tpctimeseries_'+str(tf), needs=tpctsneeds, tf=tf, cwd=timeframeworkdir, lab=["RECO"], mem='2000', cpu='1')
TPCTStask['cmd'] = 'o2-global-track-cluster-reader --disable-mc --cluster-types "FT0,TOF,TPC" --track-types "ITS,TPC,ITS-TPC,ITS-TPC-TOF,ITS-TPC-TRD-TOF"'
TPCTStask['cmd'] = f'o2-global-track-cluster-reader --disable-mc --cluster-types {timeseries_clustertypes} --track-types {timeseries_tracktypes}'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It initialises unconditionally the readers for TOF clusters and tracks, in the absence of TOF this should lead to a crash. The timeseries_tracktypes and timeseries_clustertypes should not have contributions from detectors which are absent. Also the o2-tpc-time-series-workflow currently implicitly expects all track types it can digest, the same --track-types {timeseries_tracktypes} should be passed to it.
But why are the inputs of this workflow not simply copied from the anchor production workflow?

@matthias-kleiner, in the long run it would be better to modify the o2-global-track-cluster-reader to do what all other global workflows do: configure its input readers internally according to requested options, unless --disable-root-input is requested, e.g. https://github.com/AliceO2Group/AliceO2/blob/166180af16ecac7fa234714cdd7ae0394ea5a192/Detectors/GlobalTrackingWorkflow/src/SecondaryVertexingSpec.cxx#L246-L273

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @shahor02 ,
many thanks for the detailed comment. I will take a look into it.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants