Skip to content

Conversation

@noferini
Copy link
Collaborator

This is a new PR started from a non-dev branch.
Previous one was closed (PR6423).
Missing comments by Ruben to be addressed are reported below.

  • What is the problem with makeConstrainedTPCTracks refit? W/o it the match cannot be used in the downstream workflows.
  • you could actually reserve less slots if you would count the numbers of different track types fetched by the creator, e.g. you cannot have mRecoCont->getTPCTracks().size() TPC matches, since part of TPC tracks will come via ITS-TPC or TPC-TRD etc.

BTW, what prevents processing the TPC-TRD and ITS-TPC-TRD tracks at once?

  • Why are you doing this check after adding the track? You could apply this trivial cut directly in the creator and simply not call the addXXXSeed at all if the track does not reach the TPC outer ref. (2 times!)

@noferini noferini requested review from a team and shahor02 as code owners June 17, 2021 13:38
@noferini noferini force-pushed the matcher branch 5 times, most recently from b0dd5f2 to 217b3e7 Compare June 18, 2021 09:51
@noferini
Copy link
Collaborator Author

All comments fully addressed but:

  • What is the problem with makeConstrainedTPCTracks refit? W/o it the match cannot be used in the downstream workflows.
    -The error is
    [171553:tof-matcher]: [12:18:48][INFO] Shifting Z for 20 matched TPC tracks according to TOF time info
    [171553:tof-matcher]: terminate called without an active exception
    [ERROR] websocket_server_callback: Error while reading from websocket

To be defined how to split outputs for constrained track once TPC-TRD and ITS-TPC-TRD will be included

@noferini noferini force-pushed the matcher branch 3 times, most recently from 6b79f81 to ffe9d1b Compare June 18, 2021 14:41
@noferini
Copy link
Collaborator Author

makeConstrainedTPCTracks problem fixes. Now it works (filling of one vector was missing)

@noferini
Copy link
Collaborator Author

build/O2/o2 check expected to be fixed after
AliceO2Group/QualityControl#735

Copy link
Collaborator

@shahor02 shahor02 left a comment

Choose a reason for hiding this comment

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

Thanks @noferini
Since the FullCI fails due to the QC, did you run the FST locally to make sure it is not broken.
BTW, to not forget: once this is merged, the TOF reco should be updated also in the https://github.com/AliceO2Group/O2DPG/blob/b7a46515d5bbe54c3d9cd90dd4b063f01cf7e775/MC/bin/o2dpg_sim_workflow.py#L482-L487

Comment on lines 164 to 168
Copy link
Collaborator

Choose a reason for hiding this comment

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

At the moment ok, later may change this either to more meaningful names or use subspec.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Now the o2-tof-reco-workflow will produce only digits and clusters, while this one will run with current defaults the TPC and ITS-TPC mathing, right?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

right

@noferini
Copy link
Collaborator Author

Thanks @noferini
Since the FullCI fails due to the QC, did you run the FST locally to make sure it is not broken.
BTW, to not forget: once this is merged, the TOF reco should be updated also in the https://github.com/AliceO2Group/O2DPG/blob/b7a46515d5bbe54c3d9cd90dd4b063f01cf7e775/MC/bin/o2dpg_sim_workflow.py#L482-L487

Sorry, what is "FST"?
I compiled locally QC after removing the dependency and then open PR
AliceO2Group/QualityControl#735
I will fix O2DPG after the merging of this one.

@shahor02
Copy link
Collaborator

Hi, FST is the prodtests/full_system_test.sh script

@noferini
Copy link
Collaborator Author

I had problem in my laptop with FST with SHM which I didn't understand but I was able to run from scratch these commands (after a minor fix in tof-reco-workflow already ported)

o2-sim-serial -n 10 -g pythia8pp -e TGeant3 -m ITS TPC TRD TOF
o2-sim-digitizer-workflow -b --onlyDet ITS,TPC,TRD,TOF --shm-segment-size 4000000000
o2-tof-reco-workflow -b --output-type clusters --shm-segment-size 4000000000
o2-its-reco-workflow -b --shm-segment-size 4000000000
o2-tpc-reco-workflow -b --shm-segment-size 4000000000 --output-type clusters,tracks
o2-tpcits-match-workflow -b --shm-segment-size 4000000000
o2-tof-matcher-workflow -b --shm-segment-size 4000000000
o2-tof-matcher-workflow -b --high-purity --shm-segment-size 4000000000
[O2/latest AEGIS/latest] ~/prodtest $>

I got proper outputs with tof-matcher-workflow (also with high-purity selected)

@noferini
Copy link
Collaborator Author

vector management (resize, reserve, ...) optimized
QC is expected to compile now
minor fix for TGeo INFO (instead of warning) ported [@davidrohr ]

@noferini
Copy link
Collaborator Author

I will re-open the PR since it seems to me that the last changes ported to QC are not included here for the tests.
Do you agree?

@davidrohr
Copy link
Collaborator

I don't understand what you mean by reopen?

@noferini
Copy link
Collaborator Author

I don't understand what you mean by reopen?

I see that checks are running with the old QC even if my fix is merged.
I was wondering if the new QC master will be used in the check if I close and then open a new PR

@davidrohr
Copy link
Collaborator

Hi Francesco, closing and reopening will not change what is used in the test. I think merging to QC master is not enough, we need a new QC tag in bump it in alidist, to test with your fix. @Barthelemy : could you take care?

@Barthelemy
Copy link
Collaborator

Barthelemy commented Jun 24, 2021

@davidrohr QC v1.20 is out, the alidist bump is pending here: alisw/alidist#3122

@davidrohr
Copy link
Collaborator

thx
@noferini : Could you rebase this PR to dev?

@noferini
Copy link
Collaborator Author

What is the plan for this PR?
I suspect that the conflict will continue to appear if we don't merge these changes

@shahor02
Copy link
Collaborator

Hi @noferini
I'll merge it as soon as it passes the FST (will test locally once the conflicts are resolved).

@davidrohr
Copy link
Collaborator

davidrohr commented Jun 24, 2021 via email

@shahor02
Copy link
Collaborator

Hi @noferini

Both the full_system_test.sh and sim_challenge are broken by this PR... I've opened a noferini#28 in your repo which fixes them: apart from workflows options/reshuffling, I've also reverted the MATCHINFO_0 and MATCHINFO_1 to MATCHINFOS_TPC and MATCHINFOS resp.. The alternative would be to modify other workflows, but this should be anyway changed on TOF side: (1) the TOF matcher should not always return all 4 MATCHINFO_X types and (2) there should be difference between the same (detector-wise) matchinfo in strict and relaxed modes.
I propose that you merge my fix, I merge this PR after the CI, then I will gradually fix the DataSpecs issue (most probably, using different subspecs).

@noferini
Copy link
Collaborator Author

Hi @noferini

Both the full_system_test.sh and sim_challenge are broken by this PR... I've opened a noferini#28 in your repo which fixes them: apart from workflows options/reshuffling, I've also reverted the MATCHINFO_0 and MATCHINFO_1 to MATCHINFOS_TPC and MATCHINFOS resp.. The alternative would be to modify other workflows, but this should be anyway changed on TOF side: (1) the TOF matcher should not always return all 4 MATCHINFO_X types and (2) there should be difference between the same (detector-wise) matchinfo in strict and relaxed modes.
I propose that you merge my fix, I merge this PR after the CI, then I will gradually fix the DataSpecs issue (most probably, using different subspecs).

Merged in my own branch

@shahor02
Copy link
Collaborator

Hi @noferini
Could you please apply from O2 dir.:

git diff --diff-filter d --name-only $(git merge-base HEAD origin/dev) | xargs sed -i 's/\t/ /g'
git diff --diff-filter d --name-only $(git merge-base HEAD origin/dev) | xargs sed -i 's/[[:space:]]*$//'

The QC v1.20 was just merged, hopefully o2 CI will be ok at next iteration.

@shahor02
Copy link
Collaborator

local FST passed, merging.

@shahor02 shahor02 merged commit 78aba6f into AliceO2Group:dev Jun 26, 2021
mcoquet642 pushed a commit to mcoquet642/AliceO2 that referenced this pull request Jul 4, 2021
* generalize TOF matcher

* add MatchInfoTOFReco class

* cleanup TOF reco workflow

* Updated copyright headers in all files with new text … (AliceO2Group#6430)

* Updated copyright headers in all files with new text agreed in the O2 project

* fix copyrights new TOF classes

* Fixes

* fix for checks

Co-authored-by: Ivana Hrivnacova <Ivana.Hrivnacova@cern.ch>
Co-authored-by: shahoian <ruben.shahoyan@cern.ch>
@noferini noferini deleted the matcher branch September 3, 2021 07:17
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.

5 participants