Skip to content

Conversation

@sawenzel
Copy link
Collaborator

We can now regenerate a TPC digit file using the TPC chunked-digit merger. This is useful when we have the TPC "drift-time" digits (as in O2DPG) and want to obtain the full timeframe of TPC digits in ROOT file tpcdigits.root.

There is a new special mode for this and the command line to use is

${O2_ROOT}/bin/o2-tpc-chunkeddigit-merger --writer-mode --tpc-lanes 8

for the case in which we had 8 separate lanes of drift-time digits.

This commit includes:

  • small modularity and library refactoring
  • do not fatal in the TPCDigitRootWriter if no triggers are sent
  • merging/treatment of the TPC common modes in the merger (so far not done)

We can now regenerate a TPC digit file using the TPC chunked-digit merger.
This is useful when we have the TPC "drift-time" digits (as in O2DPG) and want
to obtain the full timeframe of TPC digits in ROOT file tpcdigits.root.

There is a new special mode for this and the command line to use is
```
${O2_ROOT}/bin/o2-tpc-chunkeddigit-merger --writer-mode --tpc-lanes 8
```
for the case in which we had 8 separate lanes of drift-time digits.

This commit includes:
* small modularity and library refactoring
* do not fatal in the TPCDigitRootWriter if no triggers are sent
* merging/treatment of the TPC common modes in the merger (so far not done)

Co-author: @ChSonnabend.
@github-actions
Copy link
Contributor

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 sawenzel force-pushed the swenzel/TPCdigitmerger_ROOTfile branch from 29044ec to 7dd8cfc Compare August 21, 2025 13:03
@ChSonnabend ChSonnabend enabled auto-merge (squash) August 21, 2025 21:32
@ChSonnabend
Copy link
Collaborator

Hi @shahor02 , could we merge this when convenient?

@ChSonnabend ChSonnabend merged commit 06c1b84 into AliceO2Group:dev Aug 21, 2025
12 checks passed
@sawenzel sawenzel deleted the swenzel/TPCdigitmerger_ROOTfile branch August 22, 2025 11:28
mhemmer-cern pushed a commit to mhemmer-cern/AliceO2 that referenced this pull request Sep 9, 2025
We can now regenerate a TPC digit file using the TPC chunked-digit merger.
This is useful when we have the TPC "drift-time" digits (as in O2DPG) and want
to obtain the full timeframe of TPC digits in ROOT file tpcdigits.root.

There is a new special mode for this and the command line to use is
```
${O2_ROOT}/bin/o2-tpc-chunkeddigit-merger --writer-mode --tpc-lanes 8
```
for the case in which we had 8 separate lanes of drift-time digits.

This commit includes:
* small modularity and library refactoring
* do not fatal in the TPCDigitRootWriter if no triggers are sent
* merging/treatment of the TPC common modes in the merger (so far not done)

Co-author: @ChSonnabend.
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.

4 participants