GSI Helmholtzzentrum für Schwerionenforschung
Dear colleagues, following Ola's suggestion, I changed the exception handling in GENFIT a little. The lazy flag is not removed from the code, but it lost its function completely. The setting of this flag does not have any effect anymore. The FitterException class has a flag now which you set with setFatal() and you get via isFatal(). This is to be set for exceptions which are not recoverable, i.e. those which kill the whole track (e.g. theta<THETACUT). Exceptions which only affect the fitting of single hits (cov[0][0]==0 or findpca failed, ....) shall not set this flag. The Kalman filter will check for isFatal(), and in case it is fatal, will flag the track representation and not fit it anymore for the following hits. Ola, I hope this solves your problem, and I hope that everybody else wont have any problems with this either, but I dont think so. If you think that one exception should be fatal, which isnt right now, or the other way around, please let me know... Cheers, Christian