Belle II Software development
|
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 | |
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. | |
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. | |
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. | |
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.
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.
Definition at line 64 of file XHitFilterFactory.h.
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.
Definition at line 61 of file XHitFilterFactory.h.
using TwoHitFunction = typename std::function<double(const PointType&, const PointType&)> |
typedef for more readable function-type - to be used for 2-hit-selectionVariables.
Definition at line 58 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 |
constructor where virtual IP has been passed
Definition at line 40 of file XHitFilterFactory.h.
|
inline |
For given name of a variableType a function for the corresponding Filter is returned.
Definition at line 69 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.
Definition at line 193 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.
Definition at line 312 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.
|
protected |
contains all 4-hit-filters.
Definition at line 365 of file XHitFilterFactory.h.
|
protected |
contains all 3-hit-filters.
Definition at line 364 of file XHitFilterFactory.h.
|
protected |
contains all 2-hit-filters.
Definition at line 363 of file XHitFilterFactory.h.
|
protected |
contains global coordinates of virtual interaction point.
Definition at line 367 of file XHitFilterFactory.h.