Closed krasznaa closed 1 month ago
I’m very sorry for my very late response.
First, let me reply to:
What is the exact meaning of the
maximum_shared_hits parameter
? Is "hit" a "cell", or a "measurement" in this context? Though in either case, having a maximum allowed value of1
seems a bit harsh
The maximum_shared_hits
is the maximum allowed common measurements
between two tracks. The value 1 means "no shared measurement allowed", every track needs to be fully independent. The greedy ambiguity resolution algorithm only deals with (unique) measurement ids.
In ACTS, the Maximum amount of shared hits per track.
is defined as follows: std::uint32_t maximumSharedHits = 1;
in the file Examples/Algorithms/AmbiguityResolution/include/ActsExamples/AmbiguityResolution/GreedyAmbiguityResolutionAlgorithm.hpp
. So the ACTS version allows no shared measurement either. And I’m 99,9% sure that the name hit
is referring to measurements
.
For all the following examples, we have:
===== Performance metrics for fitting =====
Valid: 1786 (34%)
Duplicates: 2170 (41%)
Fakes: 1340 (25%)
For example, with the toy detector
used by the seeding_example
, with no common measurements, we have:
===== Performance metrics for ambiguity resolution (check v2) =====
Valid: 1766 (99%)
Duplicates: 0 (0%)
Fakes: 14 (1%)
And with maximum_shared_hits = 2
(so maximum one single shared measurement between tracks), we have:
===== Performance metrics for ambiguity resolution (check v2) =====
Valid: 1769 (98%)
Duplicates: 0 (0%)
Fakes: 45 (2%)
And with maximum_shared_hits = 3
(so maximum two shared measurements between tracks), we have:
===== Performance metrics for ambiguity resolution (check v2) =====
Valid: 1769 (93%)
Duplicates: 9 (0%)
Fakes: 128 (7%)
I will investigate the error messages and be back as soon as possible.
PR Remove duplicate measurements for each track #590 should solve this issue :fox_face: I did not anticipate that a track could be made of the same measurement_id
more than once!
Now that I finally started using the ttbar samples that I produced as described in #561, I came across an interesting type of error message from the track ambiguity resolution code. :thinking:
@SylvainJoube, what is the exact meaning of the
maximum_shared_hits
parameter? Is "hit" a "cell", or a "measurement" in this context? Though in either case, having a maximum allowed value of1
seems a bit harsh. Our track reconstruction is certainly allowed to reconstruct tracks with more shared measurements than that at the moment. :thinking:But while this setting seems more of a tuning issue, the error output suggests some actual bug in the code. Since in both errors the output refers to the same track. :confused:
Not the most urgent thing to fix, but you should have a look during this coming week if possible.
Pinging @beomki-yeo as well for info. :wink: