This utilises itertools.tee() in order to replicate the iterators from components like simulators, trackers and detectors, for use later on. This avoids need for DummyDetector and calls to iter.
Also use longest track in track2track fusion example plot, as sometimes randomly chosen example is very short.
This utilises
itertools.tee()
in order to replicate the iterators from components like simulators, trackers and detectors, for use later on. This avoids need forDummyDetector
and calls toiter
.Also use longest track in track2track fusion example plot, as sometimes randomly chosen example is very short.