![]() |
PandaRoot
|
Functions | |
bool | IsSkewedLayer (const uint8_t layerId) |
bool | IsOutermostLayer (const uint8_t layerId) |
float | GetSlope (const uint8_t layerId) |
PndFtsStation | GetStationFromLayer (const uint8_t layerId) noexcept |
PndFtsStation | GetStationFromStraw (const uint16_t strawId) noexcept |
float PndFtsTrackFinder::GeomUtil::GetSlope | ( | const uint8_t | layerId | ) |
Auxiliary function to get a slope of the given layer in degrees. Possible slope values are: 0, 11.43 or -11.43 deg. Layers 3, 4, 11, 12, 19, 20, 27, 28, 35, 36, 43, 44 have negative slope. Other fSkewed layers have positive slope. Vertical layers have no slope.
layerId | id (number) of the layer |
|
noexcept |
Auxiliary function to get a station containing the given layer. Each FtsStation contains 16 layers.
layerId | id (number) of the layer |
|
noexcept |
bool PndFtsTrackFinder::GeomUtil::IsOutermostLayer | ( | const uint8_t | layerId | ) |
Auxiliary function to check whether the given layer is fOutermost layer. Outermost layers are: 1, 2, 3, 4, 13, 14, 15, 16, 17, 18, 19, 20, 29, 30, 31, 32, 33, 34, 35, 36, 45, 46, 47, 48.
layerId | id (number) of the layer |
bool PndFtsTrackFinder::GeomUtil::IsSkewedLayer | ( | const uint8_t | layerId | ) |
Auxiliary function to check whether the given layer contains fSkewed (layer is fSkewed) or vertical straws. Skewed layers are: 3, 4, 5, 6, 11, 12, 13, 14, 19, 20, 21, 22, 27, 28, 29, 30, 35, 36, 37, 38, 43, 44, 45, 46.
layerId | id (number) of the layer |