Fix event based digitization and reconstruction for the MVD detector
Flush the internal buffer after each event when running in event based mode. This creates digis for all channels even if the dead time of the channel is not yet reached. All digis are written into the current timeslice. Flushing the internal buffer after the last event when running in time based mode to avoid losing data.
The current implementation creates for ~99.3% of the MvdPoints corresponding MvdHits. The resulting residuals can be seen in the attached plots.
mvd_hit_error_x.pdf mvd_hit_error_y.pdf
Superseded by !1557 (merged)
Merge request reports
Activity
changed milestone to %OCT23
added BugFix CI/CD Reconstruction Simulation labels
requested review from @p.-a.loizeau
assigned to @p.-a.loizeau
requested review from @v.friese and removed review request for @p.-a.loizeau
- Resolved by Michael Deveaux
I reran the test on
run4
and accessed the temp log file in order to get the non-truncated logs of the failing test (see MR1504_failing_test_log_untrunc_2023_11_16_11_45.txt for the test full log).It seems that the failure comes from the following error:
[...] Error in <TH2F::Interpolate>: Cannot interpolate outside histogram domain. Error in <TH2F::Interpolate>: Cannot interpolate outside histogram domain. [INFO] Event based mode [INFO] MCEvent 9 with T0 -1 [INFO] Writing MC-tracks from event # 8 file 0 [FATAL] CbmMatchRecoToMC::MatchClusters => no Match found for system 1 digi index 7373 (digi 1 from cluster 0) ! For later analysis we write a core dump to core_dump_32448 <end of output> Test time = 65.86 sec ---------------------------------------------------------- Test Fail Reason: Required regular expression not found. Regex=[Test Passed All ok
Not sure how 2 runners managed to pass the test while all others fail it
mentioned in merge request !1493 (closed)
Supersedes !1493 (closed). Fix both, the event based digitization and cluster finding.
added 6 commits
-
cde8a677...cead145f - 3 commits from branch
computing:master
- 2600af3c - Fix generation of MvdDigi in event based mode
- 7b8de4db - Add back event mode in MVD cluster finder
- f4d3a63c - Fix the reconstruction topology
Toggle commit list-
cde8a677...cead145f - 3 commits from branch
added 1 commit
- 8eb8f942 - Fix the reconstruction topologies at several places
Dear @f.uhlig, @p.-a.loizeau, @c.muentz, @m.deveaux, @v.friese,
you have been identified as code owner of at least one file which was changed with this merge request.
Please check the changes and approve them or request changes.
added CodeOwners label
please have a look at the changes to the MVD digitizer and cluster finder and do a cross check. In case of event based reconstruction I simply (at least that is what i tried) use all digis from the time slice for digitization and cluster finding. Up to now I did not find the time to check the results by comparing hits to MC points but hope to do it beginning of next week.
added 9 commits
-
8eb8f942...4f519993 - 5 commits from branch
computing:master
- 652db4cd - Fix generation of MvdDigi in event based mode
- cd7c4e3b - Add back event mode in MVD cluster finder
- f23e47fa - Fix the reconstruction topologies at several places
- 07e757d7 - Add event based CI tests fore MVD QA
Toggle commit list-
8eb8f942...4f519993 - 5 commits from branch
- Resolved by Pierre-Alain Loizeau
@f.uhlig As you add new CI based on the existing macros for which I found many warnings in #3088 (
..._qa3_...
and..._qa4_...
), could I ask you to apply the two changes mentioned by Michael in the issue to the 4 macros (2 original and 2 new)?Edited by Pierre-Alain Loizeau
- Resolved by Pierre-Alain Loizeau
Unfortunately when I built this commit, it didn't solve the MVD hit problem as far as I could see.
root [6] cbmsim->Scan("MvdHit.fX") *********************************** * Row * Instance * MvdHit.fX * *********************************** * 0 * 0 * * * 1 * 0 * * * 2 * 0 * * * 3 * 0 * * * 4 * 0 * * *********************************** (long long) 5 root [7] .q
PS: I followed steps in https://redmine.cbm.gsi.de/issues/3074#change-14808
Edited by Eoin Clerkin
added 7 commits
-
01be99b1 - 1 commit from branch
computing:master
- 63a4d754 - Fix generation of MvdDigi in event based mode
- 9372677b - Add back event mode in MVD cluster finder
- 84f5dd97 - Fix the reconstruction topologies at several places
- 2d7d5548 - Add event based CI tests for MVD QA
- 0075e88f - Remove huge omount of log outout
- 5331ecf5 - Add MvdHit errors
Toggle commit list-
01be99b1 - 1 commit from branch
added 6 commits
Toggle commit listadded 16 commits
-
af553e1b...f025ce83 - 7 commits from branch
computing:master
- 50a78ebf - Fix generation of MvdDigi in event based mode
- 7b2e0494 - Add back event mode in MVD cluster finder
- 234ef3e5 - Fix the reconstruction topologies at several places
- a2b4a8d6 - Add event based CI tests for MVD QA
- baf8ea5c - Remove huge omount of log outout
- 5366ffb1 - Add MvdHit errors
- 0bc53f44 - Fix event mode of MvdClusterfinder
- 538b1f85 - Implement event based MVD hit finding
- 16abc4b8 - Fix the reconstruction topologies at several places
Toggle commit list-
af553e1b...f025ce83 - 7 commits from branch
added 19 commits
-
07825e6c...317f9a34 - 9 commits from branch
computing:master
- b8715c48 - Fix generation of MvdDigi in event based mode
- 24bc3eef - Add back event mode in MVD cluster finder
- ba536cfb - Fix the reconstruction topologies at several places
- 70e38713 - Add event based CI tests for MVD QA
- d52b36be - Remove huge omount of log outout
- 1cb00171 - Add MvdHit errors
- 2261bf22 - Fix event mode of MvdClusterfinder
- 5f8451e6 - Implement event based MVD hit finding
- ad2a5aa2 - Fix the reconstruction topologies at several places
- c864e5b2 - Fix stupid copy-n-paste mistake
Toggle commit list-
07825e6c...317f9a34 - 9 commits from branch
added 1 commit
- e7763d23 - Apply clang-format after change of configuration
added 1 commit
- 2a6aef1f - Apply clang-format after change of configuration
Closing, since this MR is superseded by !1557 (merged).