Yes, you can change the convergence threshold as follows:
FieldOfViewDetector fovDetector = new FieldOfViewDetector(...).
Note that all the
withXxx() methods return a new object, they do not modify the instance,
so you should really use the last instance returned. The API is follows the fluent design, so
if you want to change several settings (threshold, max check, max iter, …) you use the following
SomeDetector detector = new SomeDetector(...).
Beware not to confuse max check interval and tolerance. The max check interval does not affect accuracy, but may degrade performance a lot if set too small. It is used to ensure you do not miss close pairs of events (entry followed by exit of field of view), by forcing the propagator to check at least once every maxCheck seconds. Typical settings are about 60s for maxCheck (you are generally not interested in too short visibility ranges and accept to miss two events separated by less than one minute) and 1ms for events location accuracy. At least, maxCheck should be larger than tolerance, otherwise it does not really make sense.