Belle II Software development
FilterExceptions.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8
9#pragma once
10
11#include <framework/core/FrameworkExceptions.h>
12
13namespace Belle2 {
21 public:
22// friend class ThreeHitFilters;
23
25 BELLE2_DEFINE_EXCEPTION(Straight_Line, "The hits are on a straight Line (or indistinguishably near to being on it).");
26
28 BELLE2_DEFINE_EXCEPTION(Calculating_Curvature_Failed,
29 "It was not possible to determine the curvature of the track (number of times for left handed and right handed curvature was identical)");
30
32 BELLE2_DEFINE_EXCEPTION(Straight_Up, "The line is straight up, so the parametrization y=kx+d makes no sense.");
33
35 BELLE2_DEFINE_EXCEPTION(Duplicate_hit, "Two hits are identical");
36
38 BELLE2_DEFINE_EXCEPTION(Invalid_result_Nan, "Result includes 'nan'-entries!");
39
41 BELLE2_DEFINE_EXCEPTION(Center_Is_Origin, "The Calculated Circle Center is the origin, not supported by this fitter.");
42
44 BELLE2_DEFINE_EXCEPTION(Circle_too_small, "The radius of the circle is too small for useful pT-estimation.");
45
46 };
47
49}
Exception which are thrown by members of the FilterClasses.
BELLE2_DEFINE_EXCEPTION(Center_Is_Origin, "The Calculated Circle Center is the origin, not supported by this fitter.")
The circle- and the helixFit can not fit tracks whose projected circle center is in the origin.
BELLE2_DEFINE_EXCEPTION(Calculating_Curvature_Failed, "It was not possible to determine the curvature of the track (number of times for left handed and right handed curvature was identical)")
this exception is thrown by the TrackletFilters::CalcCurvature, when the track is ziggzagging all the...
BELLE2_DEFINE_EXCEPTION(Invalid_result_Nan, "Result includes 'nan'-entries!")
this exception is thrown by the momentumSeed-calculator and the helixFit, if the input was not fittab...
BELLE2_DEFINE_EXCEPTION(Duplicate_hit, "Two hits are identical")
this exception is currently not used and should indicate, if the fitter was filled with the same hit ...
BELLE2_DEFINE_EXCEPTION(Circle_too_small, "The radius of the circle is too small for useful pT-estimation.")
this exception catches TCs which are too small to be able to be detected by the TC,...
BELLE2_DEFINE_EXCEPTION(Straight_Up, "The line is straight up, so the parametrization y=kx+d makes no sense.")
this exception is thrown by the StraightLineFit, which currently has a weakness for tracks pointing p...
BELLE2_DEFINE_EXCEPTION(Straight_Line, "The hits are on a straight Line (or indistinguishably near to being on it).")
this exception is thrown by the CircleFit and occurs when the track is too straight
Abstract base class for different kinds of events.