![]() |
Belle II Software
release-08-02-04
|
The factory serves as an interface between all x-hit-filters and a user only knowing their name (in string), but not their type. More...
#include <XHitFilterFactory.h>

Public Types | |
| typedef FilterID::filterTypes | XHitFilterType |
| constructor where nothing has been passed More... | |
| using | TwoHitFunction = typename std::function< double(const PointType &, const PointType &)> |
| typedef for more readable function-type - to be used for 2-hit-selectionVariables. | |
| using | ThreeHitFunction = typename std::function< double(const PointType &, const PointType &, const PointType &)> |
| typedef for more readable function-type - to be used for 3-hit-selectionVariables. | |
| using | FourHitFunction = typename std::function< double(const PointType &, const PointType &, const PointType &, const PointType &)> |
| typedef for more readable function-type - to be used for 4-hit-selectionVariables. | |
Public Member Functions | |
| XHitFilterFactory (double x=0, double y=0, double z=0, double mField=1.5) | |
| constructor where virtual IP has been passed | |
| TwoHitFunction | get2HitInterface (std::string variableName) |
| For given name of a variableType a function for the corresponding Filter is returned. | |
| TwoHitFunction | get2HitInterface (XHitFilterType variableType) |
| For given name of a variableType a function for the corresponding Filter is returned. More... | |
| ThreeHitFunction | get3HitInterface (std::string variableName) |
| For given name of a variableType a function for the corresponding Filter is returned. | |
| ThreeHitFunction | get3HitInterface (XHitFilterType variableType) |
| For given name of a variableType a function for the corresponding Filter is returned. More... | |
| FourHitFunction | get4HitInterface (std::string variableName) |
| For given name of a variableType a function for the corresponding Filter is returned. | |
| FourHitFunction | get4HitInterface (XHitFilterType variableType) |
| For given name of a variableType a function for the corresponding Filter is returned. More... | |
Protected Attributes | |
| TwoHitFilters | m_twoHit |
| contains all 2-hit-filters. | |
| ThreeHitFilters | m_threeHit |
| contains all 3-hit-filters. | |
| FourHitFilters | m_fourHit |
| contains all 4-hit-filters. | |
| B2Vector3D | m_virtualIP |
| contains global coordinates of virtual interaction point. | |
The factory serves as an interface between all x-hit-filters and a user only knowing their name (in string), but not their type.
Definition at line 36 of file XHitFilterFactory.h.
| typedef FilterID::filterTypes XHitFilterType |
constructor where nothing has been passed
shortCut for better readability.
Definition at line 55 of file XHitFilterFactory.h.
|
inline |
For given name of a variableType a function for the corresponding Filter is returned.
2-hit:
2+1-hit:
Definition at line 78 of file XHitFilterFactory.h.
|
inline |
For given name of a variableType a function for the corresponding Filter is returned.
3-hit:
3+1hit:
Definition at line 202 of file XHitFilterFactory.h.
|
inline |
For given name of a variableType a function for the corresponding Filter is returned.
4-hit:
Definition at line 321 of file XHitFilterFactory.h.