Belle II Software development
SensorInfoBase Class Reference

Base class to provide Sensor Information for PXD and SVD. More...

#include <SensorInfoBase.h>

Inheritance diagram for SensorInfoBase:
SensorInfo SensorInfo

Public Types

enum  SensorType {
  PXD = 0 ,
  SVD = 1 ,
  TEL = 2 ,
  VXD = -1
}
 Enum specifing the type of sensor the SensorInfo represents. More...
 

Public Member Functions

 SensorInfoBase (SensorType type, VxdID id, double width, double length, double thickness, int uCells, int vCells, double width2=-1, double splitLength=-1, int vCells2=0)
 Constructor for a SensorInfo instance.
 
virtual ~SensorInfoBase ()
 Default constructor to make class polymorph.
 
SensorType getType () const
 Return the Type of the Sensor.
 
VxdID getID () const
 Return the ID of the Sensor.
 
double getWidth (double v=0) const
 Return the width of the sensor.
 
double getBackwardWidth () const
 Convinience Wrapper to return width at backward side.
 
double getForwardWidth () const
 Convinience Wrapper to return width at forward side.
 
double getLength () const
 Return the length of the sensor.
 
double getThickness () const
 Return the thickness of the sensor.
 
double getUSize (double v=0) const
 Return the width of the sensor.
 
double getVSize () const
 Return the length of the sensor.
 
double getWSize () const
 Return the thickness of the sensor.
 
double getUPitch (double v=0) const
 Return the pitch of the sensor.
 
double getVPitch (double v=0) const
 Return the pitch of the sensor.
 
int getVPitchID (double v=0) const
 Return the pitch ID of the sensor.
 
double getUCellPosition (int uID, int vID=-1) const
 Return the position of a specific strip/pixel in u direction.
 
double getVCellPosition (int vID) const
 Return the position of a specific strip/pixel in v direction.
 
int getUCellID (double u, double v=0, bool clamp=false) const
 Return the corresponding pixel/strip ID of a given u coordinate.
 
int getVCellID (double v, bool clamp=false) const
 Return the corresponding pixel/strip ID of a given v coordinate.
 
int getUCells () const
 Return number of pixel/strips in u direction.
 
int getVCells () const
 Return number of pixel/strips in v direction.
 
int getVCells2 () const
 Return number of pixel/strips in v direction up to change pitch.
 
bool inside (double u, double v, double uTolerance=DBL_EPSILON, double vTolerance=DBL_EPSILON) const
 Check wether a given point is inside the active area.
 
bool inside (const ROOT::Math::XYZVector &local, double uTolerance=DBL_EPSILON, double vTolerance=DBL_EPSILON, double wTolerance=DBL_EPSILON) const
 Check wether a given point is inside the active area.
 
void forceInside (double &u, double &v) const
 Force a position to be inside the active area.
 
void forceInside (ROOT::Math::XYZVector &local) const
 Force a given point inside the active area.
 
ROOT::Math::XYZVector pointToGlobal (const ROOT::Math::XYZVector &local, bool reco=false) const
 Convert a point from local to global coordinates.
 
ROOT::Math::XYZVector vectorToGlobal (const ROOT::Math::XYZVector &local, bool reco=false) const
 Convert a vector from local to global coordinates.
 
ROOT::Math::XYZVector pointToLocal (const ROOT::Math::XYZVector &global, bool reco=false) const
 Convert a point from global to local coordinates.
 
ROOT::Math::XYZVector vectorToLocal (const ROOT::Math::XYZVector &global, bool reco=false) const
 Convert a vector from global to local coordinates.
 
void setTransformation (const TGeoHMatrix &transform, bool reco=false)
 Set the transformation matrix of the Sensor.
 
const TGeoHMatrix & getTransformation (bool reco=false) const
 Return the transformation matrix of the Sensor.
 
void setSurfaceParameters (const std::vector< double > &planarParameters)
 Fill parameters of planar deformation to vector.
 
const std::vector< double > & getSurfaceParameters () const
 Return parameters of planar deformation.
 

Protected Attributes

SensorType m_type
 Type of the Sensor.
 
unsigned short m_id
 ID of the Sensor.
 
double m_width
 Width of the sensor.
 
double m_length
 Length of the Sensor.
 
double m_thickness
 Thickness of the Sensor.
 
double m_deltaWidth
 Difference between backward and forward width, 0 for rectangular sensors.
 
double m_splitLength
 Relative length at which second pixel size starts, 0 for only one pixel size.
 
int m_uCells
 Number of strips/pixels in u direction.
 
int m_vCells
 Number of strips/pixels in v direction (up to splitLength for two pixel sizes)
 
int m_vCells2
 Number of strips/pixels in v direction after splitLength, 0 for only one pixel size.
 
TGeoHMatrix m_transform
 Nominal transformation matrix of the Sensor.
 
TGeoHMatrix m_recoTransform
 Alignment-corrected transformation matrix of the Sensor for use in reconstruction.
 
std::vector< double > m_surfaceDeformationParameters = std::vector<double>(12, 0.0)
 Vector contains all parameter needed for description planar deformation of sensors.
 

Detailed Description

Base class to provide Sensor Information for PXD and SVD.

This class is meant to provide the basic services like length/thickness parameters, pixel/stip ID and position calculation and coordinate transformation.

Definition at line 29 of file SensorInfoBase.h.

Member Enumeration Documentation

◆ SensorType

enum SensorType

Enum specifing the type of sensor the SensorInfo represents.

Enumerator
PXD 

PXD Sensor.

SVD 

SVD Sensor.

TEL 

Testbeam telescope sensor.

VXD 

Any type of VXD Sensor.

Definition at line 32 of file SensorInfoBase.h.

32 {
33 PXD = 0,
34 SVD = 1,
35 TEL = 2,
36 VXD = -1,
37 };
@ VXD
Any type of VXD Sensor.
@ TEL
Testbeam telescope sensor.

Constructor & Destructor Documentation

◆ SensorInfoBase()

SensorInfoBase ( SensorType  type,
VxdID  id,
double  width,
double  length,
double  thickness,
int  uCells,
int  vCells,
double  width2 = -1,
double  splitLength = -1,
int  vCells2 = 0 
)
inline

Constructor for a SensorInfo instance.

this class holds all the information to calculate pixel/strip positions and ids. it can accomodate rectangular and trapezoidal shapes and also has the possibility to segment the strip/pixelsize once in v, thus having two different pixel sizes in one sensor: vcells pixels from start to splitlength and vcells2 pixels from splitlength to length.

Parameters
typeType of the Sensor, one of PXD or SVD
idVxdID of the Sensor
widthWidth of the Sensor in default units
lengthLength of the Sensor in default units
thicknessThickness of the Sensor in default units
uCellsNumber of Pixels/Strips in u direction (local x)
vCellsNumber of Pixels/Strips in v direction (local y)
width2Width of trapezoidal sensor on positive side, <=0 means rectangular
splitLengthLength at which the pixel size changes, starting at 0. <=0 means only one pixel/strip size in v
vCells2Number of pixels in v direction after split length.

Definition at line 60 of file SensorInfoBase.h.

61 :
62 m_type(type), m_id(id), m_width(width), m_length(length), m_thickness(thickness),
63 m_deltaWidth(0), m_splitLength(0), m_uCells(uCells), m_vCells(vCells), m_vCells2(vCells2)
64 {
65 if (width2 > 0) m_deltaWidth = width2 - width;
66 if (splitLength > 0) m_splitLength = splitLength / length;
67 }
double m_width
Width of the sensor.
double m_thickness
Thickness of the Sensor.
int m_vCells
Number of strips/pixels in v direction (up to splitLength for two pixel sizes)
unsigned short m_id
ID of the Sensor.
double m_deltaWidth
Difference between backward and forward width, 0 for rectangular sensors.
SensorType m_type
Type of the Sensor.
double m_length
Length of the Sensor.
int m_vCells2
Number of strips/pixels in v direction after splitLength, 0 for only one pixel size.
int m_uCells
Number of strips/pixels in u direction.
double m_splitLength
Relative length at which second pixel size starts, 0 for only one pixel size.

◆ ~SensorInfoBase()

virtual ~SensorInfoBase ( )
inlinevirtual

Default constructor to make class polymorph.

Definition at line 69 of file SensorInfoBase.h.

69{}

Member Function Documentation

◆ forceInside() [1/2]

void forceInside ( double &  u,
double &  v 
) const
inline

Force a position to be inside the active area.

Parameters
uu coordinate to be forced inside
vv coordinate to be forced inside

Definition at line 255 of file SensorInfoBase.h.

256 {
257 double length = getLength() / 2.0;
258 v = std::min(length, std::max(-length, v));
259 double width = getWidth(v) / 2.0;
260 u = std::min(width, std::max(-width, u));
261 }
double getWidth(double v=0) const
Return the width of the sensor.
double getLength() const
Return the length of the sensor.

◆ forceInside() [2/2]

void forceInside ( ROOT::Math::XYZVector &  local) const
inline

Force a given point inside the active area.

Parameters
localpoint in local coordinates, will be modified to lie inside or at the border of the sensor

Definition at line 358 of file SensorInfoBase.h.

359 {
360 double u = local.X();
361 double v = local.Y();
362 double thickness = getThickness() / 2.0;
363 forceInside(u, v);
364 local.SetX(u);
365 local.SetY(v);
366 local.SetZ(std::min(thickness, std::max(-thickness, local.Z())));
367 }
double getThickness() const
Return the thickness of the sensor.
void forceInside(double &u, double &v) const
Force a position to be inside the active area.

◆ getBackwardWidth()

double getBackwardWidth ( ) const
inline

Convinience Wrapper to return width at backward side.

Returns
width of the sensor at the backward side

Definition at line 89 of file SensorInfoBase.h.

90 {
91 return getWidth(-0.5 * m_length);
92 }

◆ getForwardWidth()

double getForwardWidth ( ) const
inline

Convinience Wrapper to return width at forward side.

Returns
width of the sensor at the forward side

Definition at line 97 of file SensorInfoBase.h.

98 {
99 return getWidth(0.5 * m_length);
100 }

◆ getID()

VxdID getID ( ) const
inline

Return the ID of the Sensor.

Definition at line 74 of file SensorInfoBase.h.

74{ return m_id; }

◆ getLength()

double getLength ( ) const
inline

Return the length of the sensor.

Returns
length of the sensor

Definition at line 105 of file SensorInfoBase.h.

105{ return m_length; }

◆ getSurfaceParameters()

const std::vector< double > & getSurfaceParameters ( ) const
inline

Return parameters of planar deformation.

Definition at line 324 of file SensorInfoBase.h.

325 {
327 }
std::vector< double > m_surfaceDeformationParameters
Vector contains all parameter needed for description planar deformation of sensors.

◆ getThickness()

double getThickness ( ) const
inline

Return the thickness of the sensor.

Returns
thickness of the sensor

Definition at line 110 of file SensorInfoBase.h.

110{ return m_thickness; }

◆ getTransformation()

const TGeoHMatrix & getTransformation ( bool  reco = false) const
inline

Return the transformation matrix of the Sensor.

Returns
Transformation matrix of the Sensor
Parameters
recoGet transformation for reconstruction (true) or nominal (false)

Definition at line 311 of file SensorInfoBase.h.

312 {
313 if (reco) return m_recoTransform;
314 else return m_transform;
315 }
TGeoHMatrix m_recoTransform
Alignment-corrected transformation matrix of the Sensor for use in reconstruction.
TGeoHMatrix m_transform
Nominal transformation matrix of the Sensor.

◆ getType()

SensorType getType ( ) const
inline

Return the Type of the Sensor.

Definition at line 72 of file SensorInfoBase.h.

72{ return m_type; }

◆ getUCellID()

int getUCellID ( double  u,
double  v = 0,
bool  clamp = false 
) const
inline

Return the corresponding pixel/strip ID of a given u coordinate.

Parameters
uu coordinate of the pixel/strip
vv coordinate of the pixel/strip, ignored for rectangular sensors
clampflag for clamp
Returns
ID of the pixel/strip covering the given coordinate

Definition at line 193 of file SensorInfoBase.h.

194 {
195 if (clamp) return std::min(getUCells() - 1, std::max(0, getUCellID(u, v, false)));
196 return static_cast<int>((u / getWidth(v) + 0.5) * m_uCells);
197 }
int getUCells() const
Return number of pixel/strips in u direction.
int getUCellID(double u, double v=0, bool clamp=false) const
Return the corresponding pixel/strip ID of a given u coordinate.

◆ getUCellPosition()

double getUCellPosition ( int  uID,
int  vID = -1 
) const
inline

Return the position of a specific strip/pixel in u direction.

Parameters
uIDid of the strip/pixel in u coordinates
vIDid of the strip/pixel in v coordinates, ignored for rectangular sensors
Returns
Pixel/Strip position in u direction

Definition at line 168 of file SensorInfoBase.h.

169 {
170 if (m_deltaWidth == 0) return ((uID + 0.5) / m_uCells - 0.5) * m_width;
171 double v = 0;
172 if (vID >= 0) v = getVCellPosition(vID);
173 return ((uID + 0.5) / m_uCells - 0.5) * getWidth(v);
174 }
double getVCellPosition(int vID) const
Return the position of a specific strip/pixel in v direction.

◆ getUCells()

int getUCells ( ) const
inline

Return number of pixel/strips in u direction.

Definition at line 214 of file SensorInfoBase.h.

214{ return m_uCells; }

◆ getUPitch()

double getUPitch ( double  v = 0) const
inline

Return the pitch of the sensor.

Parameters
vv-coordinate where to determine the pitch, ignored for rectangular sensors
Returns
Pixel/Strip size in u direction

Definition at line 132 of file SensorInfoBase.h.

132{ return getWidth(v) / m_uCells; }

◆ getUSize()

double getUSize ( double  v = 0) const
inline

Return the width of the sensor.

Parameters
vv-coordinate where to determine the width, ignored for recangular sensors
Returns
width of the Sensor

Definition at line 116 of file SensorInfoBase.h.

116{ return getWidth(v); }

◆ getVCellID()

int getVCellID ( double  v,
bool  clamp = false 
) const
inline

Return the corresponding pixel/strip ID of a given v coordinate.

Parameters
vv coordinate of the pixel/strip
clampflag for clamp
Returns
ID of the pixel/strip covering the given coordinate

Definition at line 204 of file SensorInfoBase.h.

205 {
206 if (clamp) return std::min(getVCells() - 1, std::max(0, getVCellID(v, false)));
207 double nv = v / m_length + 0.5;
208 if (m_splitLength <= 0) return static_cast<int>(nv * m_vCells);
209 if (nv >= m_splitLength) return static_cast<int>((nv - m_splitLength) / (1 - m_splitLength) * m_vCells2) + m_vCells;
210 return static_cast<int>(nv / m_splitLength * m_vCells);
211 }
int getVCells() const
Return number of pixel/strips in v direction.
int getVCellID(double v, bool clamp=false) const
Return the corresponding pixel/strip ID of a given v coordinate.

◆ getVCellPosition()

double getVCellPosition ( int  vID) const
inline

Return the position of a specific strip/pixel in v direction.

Parameters
vIDid of the strip/pixel in v coordinates
Returns
Pixel/Strip position in v direction

Definition at line 180 of file SensorInfoBase.h.

181 {
182 if (m_splitLength <= 0) return ((vID + 0.5) / m_vCells - 0.5) * m_length;
183 if (vID >= m_vCells) return ((vID - m_vCells + 0.5) / m_vCells2 * (1 - m_splitLength) - 0.5 + m_splitLength) * m_length;
184 return ((vID + 0.5) / m_vCells * m_splitLength - 0.5) * m_length;
185 }

◆ getVCells()

int getVCells ( ) const
inline

Return number of pixel/strips in v direction.

Definition at line 216 of file SensorInfoBase.h.

216{ return m_vCells + m_vCells2; }

◆ getVCells2()

int getVCells2 ( ) const
inline

Return number of pixel/strips in v direction up to change pitch.

Definition at line 218 of file SensorInfoBase.h.

218{ return m_vCells2; }

◆ getVPitch()

double getVPitch ( double  v = 0) const
inline

Return the pitch of the sensor.

Parameters
vv-coordinate where to determine the pitch, only used for sensors with two different pixel sizes along v
Returns
Pixel/Strip size in v direction

Definition at line 139 of file SensorInfoBase.h.

140 {
141 if (m_splitLength <= 0) return m_length / m_vCells;
142 if (v / m_length + 0.5 >= m_splitLength) return m_length * (1 - m_splitLength) / m_vCells2;
144 }

◆ getVPitchID()

int getVPitchID ( double  v = 0) const
inline

Return the pitch ID of the sensor.

Parameters
vv-coordinate where to determine the pitchID only used for PXD sensors with two different pixel sizes along v
Returns
Pixel/Strip ID in v direction: 0 for pitch at smaller v, 1 for bigger v Attention: Pitch ID depend from sensor position For PXD it swap for sensor=1 vs. seensor=2 Sensor=1: bigger pitch = 0, smaller = 1 Sensor=2: smaller pitch = 0, bigger = 1

Definition at line 156 of file SensorInfoBase.h.

157 {
158 if (m_splitLength <= 0) return 0;
159 if (v / m_length + 0.5 >= m_splitLength) return 0;
160 return 1;
161 }

◆ getVSize()

double getVSize ( ) const
inline

Return the length of the sensor.

Returns
length of the sensor

Definition at line 121 of file SensorInfoBase.h.

121{ return getLength(); }

◆ getWidth()

double getWidth ( double  v = 0) const
inline

Return the width of the sensor.

Parameters
vv-coordinate where to determine the width, ignored for recangular sensors
Returns
width of the Sensor

Definition at line 80 of file SensorInfoBase.h.

81 {
82 if (m_deltaWidth == 0) return m_width;
83 return m_width + (v / m_length + 0.5) * m_deltaWidth;
84 }

◆ getWSize()

double getWSize ( ) const
inline

Return the thickness of the sensor.

Returns
thickness of the sensor

Definition at line 126 of file SensorInfoBase.h.

126{ return getThickness(); }

◆ inside() [1/2]

bool inside ( const ROOT::Math::XYZVector &  local,
double  uTolerance = DBL_EPSILON,
double  vTolerance = DBL_EPSILON,
double  wTolerance = DBL_EPSILON 
) const
inline

Check wether a given point is inside the active area.

Parameters
localpoint in local coordinates
uTolerancetolerance to be added on each side of the sensor in u direction
vTolerancetolerance to be added on each side of the sensor in v direction
wTolerancetolerance to be added on each side of the sensor in w direction
Returns
true if inside active area, false otherwise

Definition at line 243 of file SensorInfoBase.h.

245 {
246 double nw = local.Z() / (getThickness() + 2 * wTolerance) + 0.5;
247
248 return inside(local.X(), local.Y(), uTolerance, vTolerance) && 0 <= nw && nw <= 1;
249 }
bool inside(double u, double v, double uTolerance=DBL_EPSILON, double vTolerance=DBL_EPSILON) const
Check wether a given point is inside the active area.

◆ inside() [2/2]

bool inside ( double  u,
double  v,
double  uTolerance = DBL_EPSILON,
double  vTolerance = DBL_EPSILON 
) const
inline

Check wether a given point is inside the active area.

Optionally, one can specify a tolerance which should be added to the sensor edges to still be considered inside

Parameters
uu coordinate to check, supply 0 if not interested
vv coordinate to check, supply 0 if not interested
uTolerancetolerance to be added on each side of the sensor in u direction
vTolerancetolerance to be added on each side of the sensor in v direction
Returns
true if inside active area, false otherwise

Definition at line 229 of file SensorInfoBase.h.

230 {
231 double nu = u / (getWidth(v) + 2 * uTolerance) + 0.5;
232 double nv = v / (getLength() + 2 * vTolerance) + 0.5;
233 return 0 <= nu && nu <= 1 && 0 <= nv && nv <= 1;
234 }

◆ pointToGlobal()

ROOT::Math::XYZVector pointToGlobal ( const ROOT::Math::XYZVector &  local,
bool  reco = false 
) const
inline

Convert a point from local to global coordinates.

Parameters
localpoint in local coordinates
recoUse sensor position in reconstruction (true) or in nominal geometry (false)
Returns
point in global coordinates

Definition at line 369 of file SensorInfoBase.h.

370 {
371 double clocal[3];
372 double cmaster[3];
373 local.GetCoordinates(clocal);
374 if (reco) m_recoTransform.LocalToMaster(clocal, cmaster);
375 else m_transform.LocalToMaster(clocal, cmaster);
376 return ROOT::Math::XYZVector(cmaster[0], cmaster[1], cmaster[2]);
377 }

◆ pointToLocal()

ROOT::Math::XYZVector pointToLocal ( const ROOT::Math::XYZVector &  global,
bool  reco = false 
) const
inline

Convert a point from global to local coordinates.

Parameters
globalpoint in global coordinates
recoUse sensor position in reconstruction (true) or in nominal geometry (false)
Returns
point in local coordinates

Definition at line 389 of file SensorInfoBase.h.

390 {
391 double clocal[3];
392 double cmaster[3];
393 global.GetCoordinates(cmaster);
394 if (reco) m_recoTransform.MasterToLocal(cmaster, clocal);
395 else m_transform.MasterToLocal(cmaster, clocal);
396 return ROOT::Math::XYZVector(clocal[0], clocal[1], clocal[2]);
397 }

◆ setSurfaceParameters()

void setSurfaceParameters ( const std::vector< double > &  planarParameters)
inline

Fill parameters of planar deformation to vector.

Definition at line 318 of file SensorInfoBase.h.

319 {
320 m_surfaceDeformationParameters = planarParameters;
321 }

◆ setTransformation()

void setTransformation ( const TGeoHMatrix &  transform,
bool  reco = false 
)
inline

Set the transformation matrix of the Sensor.

Parameters
transformTransformation matrix of the Sensor
recoSet transformation for reconstruction (true) or nominal (false)

Definition at line 301 of file SensorInfoBase.h.

302 {
303 if (reco) m_recoTransform = transform;
304 else m_transform = transform;
305 }

◆ vectorToGlobal()

ROOT::Math::XYZVector vectorToGlobal ( const ROOT::Math::XYZVector &  local,
bool  reco = false 
) const
inline

Convert a vector from local to global coordinates.

Parameters
localvector in local coordinates
recoUse sensor position in reconstruction (true) or in nominal geometry (false)
Returns
vector in global coordinates

Definition at line 379 of file SensorInfoBase.h.

380 {
381 double clocal[3];
382 double cmaster[3];
383 local.GetCoordinates(clocal);
384 if (reco) m_recoTransform.LocalToMasterVect(clocal, cmaster);
385 else m_transform.LocalToMasterVect(clocal, cmaster);
386 return ROOT::Math::XYZVector(cmaster[0], cmaster[1], cmaster[2]);
387 }

◆ vectorToLocal()

ROOT::Math::XYZVector vectorToLocal ( const ROOT::Math::XYZVector &  global,
bool  reco = false 
) const
inline

Convert a vector from global to local coordinates.

Parameters
globalvector in global coordinates
recoUse sensor position in reconstruction (true) or in nominal geometry (false)
Returns
vector in local coordinates

Definition at line 399 of file SensorInfoBase.h.

400 {
401 double clocal[3];
402 double cmaster[3];
403 global.GetCoordinates(cmaster);
404 if (reco) m_recoTransform.MasterToLocalVect(cmaster, clocal);
405 else m_transform.MasterToLocalVect(cmaster, clocal);
406 return ROOT::Math::XYZVector(clocal[0], clocal[1], clocal[2]);
407 }

Member Data Documentation

◆ m_deltaWidth

double m_deltaWidth
protected

Difference between backward and forward width, 0 for rectangular sensors.

Definition at line 341 of file SensorInfoBase.h.

◆ m_id

unsigned short m_id
protected

ID of the Sensor.

Definition at line 333 of file SensorInfoBase.h.

◆ m_length

double m_length
protected

Length of the Sensor.

Definition at line 337 of file SensorInfoBase.h.

◆ m_recoTransform

TGeoHMatrix m_recoTransform
protected

Alignment-corrected transformation matrix of the Sensor for use in reconstruction.

Definition at line 353 of file SensorInfoBase.h.

◆ m_splitLength

double m_splitLength
protected

Relative length at which second pixel size starts, 0 for only one pixel size.

Definition at line 343 of file SensorInfoBase.h.

◆ m_surfaceDeformationParameters

std::vector<double> m_surfaceDeformationParameters = std::vector<double>(12, 0.0)
protected

Vector contains all parameter needed for description planar deformation of sensors.

Definition at line 355 of file SensorInfoBase.h.

◆ m_thickness

double m_thickness
protected

Thickness of the Sensor.

Definition at line 339 of file SensorInfoBase.h.

◆ m_transform

TGeoHMatrix m_transform
protected

Nominal transformation matrix of the Sensor.

Definition at line 351 of file SensorInfoBase.h.

◆ m_type

SensorType m_type
protected

Type of the Sensor.

Definition at line 331 of file SensorInfoBase.h.

◆ m_uCells

int m_uCells
protected

Number of strips/pixels in u direction.

Definition at line 345 of file SensorInfoBase.h.

◆ m_vCells

int m_vCells
protected

Number of strips/pixels in v direction (up to splitLength for two pixel sizes)

Definition at line 347 of file SensorInfoBase.h.

◆ m_vCells2

int m_vCells2
protected

Number of strips/pixels in v direction after splitLength, 0 for only one pixel size.

Definition at line 349 of file SensorInfoBase.h.

◆ m_width

double m_width
protected

Width of the sensor.

Definition at line 335 of file SensorInfoBase.h.


The documentation for this class was generated from the following file: