16#ifndef ALICEO2_ITS_RECOGEOMHELPER_H
17#define ALICEO2_ITS_RECOGEOMHELPER_H
100 std::array<RecoLayer, o2::itsmft::ChipMappingITS::NLayers>
layers;
117 float dif = phi -
phiMean, difa = fabs(dif);
118 if (difa <
dphiH + toler) {
121 if (difa > o2::constants::math::PI) {
122 difa = o2::constants::math::TwoPI - difa;
123 if (difa <
dphiH + toler) {
136 int ic = (
z - zRange.getMin()) * z2chipID;
137 return ic < 0 ? 0 : (ic < lastChipInLadder ? ic : lastChipInLadder);
146 o2::math_utils::bringTo02Pi(phi);
147 return phi2ladder[int(phi * phi2bin)];
General auxilliary methods.
unsigned short int uint16_t
Declarations of 2D primitives.
Definition of the SegmentationAlpide class.
static constexpr int getNChips()
number of chips per barrel
static constexpr int NLayers
static constexpr float SensorSizeRows
GLdouble GLdouble GLdouble z
detail::IntervalXY< float > IntervalXYf_t
detail::Bracket< float > Bracketf_t
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
void updateLimits(const o2::math_utils::Point3D< float > &pnt)
Relation isPhiOutside(float phi, float toler=0) const
ClassDefNV(RecoLadder, 0)
void updateLimits(const o2::math_utils::Point3D< float > &pnt)
std::vector< RecoChip > chips
const RecoLadder & getLadder(int id) const
std::vector< RecoLadder > ladders
int getLadderID(float phi) const
std::vector< uint16_t > phi2ladder
int getChipID(float z) const
void updateLimits(const o2::math_utils::Point3D< float > &pnt)
std::array< RecoLayer, o2::itsmft::ChipMappingITS::NLayers > layers
void init(int minLayer=0, int maxLayer=getNLayers())
static constexpr float ladderWidth()
static constexpr int getNLayers()
ClassDefNV(RecoGeomHelper, 0)
static constexpr int getNChips()
static constexpr float ladderWidthInv()