![]() |
Belle II Software
release-08-02-04
|
Namespace to provide code needed by both Vertex Detectors, PXD and SVD. More...
#include <VXDSensorInfoBasePar.h>


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 | |
| VXDSensorInfoBasePar () | |
| Default constructor. | |
| VXDSensorInfoBasePar (SensorType type, VxdID id, double width, double length, double thickness, int uCells, int vCells, double width2=0, double splitLength=-1, int vCells2=0) | |
| Constructor for a SensorInfo instance. More... | |
| virtual | ~VXDSensorInfoBasePar () |
| Virtual destructor to make class polymorph. | |
| SensorType | getType () const |
| Return the Type of the Sensor. | |
| VxdID | getID () const |
| Return the ID of the Sensor. | |
| double | getWidth2 () const |
| Return forward width for a slanted sensor. | |
| double | getWidth () const |
| Return the (backward) width of the sensor. | |
| double | getLength () const |
| Return the length of the sensor. | |
| double | getSplitLength () const |
| Return the splitLength of the sensor. | |
| double | getThickness () const |
| Return the thickness of the sensor. | |
| int | getUCells () const |
| Return number of pixel/strips in u direction. | |
| int | getVCells () const |
| Return number of pixel/strips in v direction. | |
| int | getVCells1 () const |
| Return number of pixel/strips in v direction for first segment. | |
| int | getVCells2 () const |
| Return number of pixel/strips in v direction for second segment. | |
Protected Member Functions | |
| ClassDef (VXDSensorInfoBasePar, 6) | |
| ClassDef, must be the last term before the closing {}. | |
Protected Attributes | |
| SensorType | m_type |
| Type of the Sensor. | |
| unsigned short | m_id |
| ID of the Sensor. | |
| double | m_width |
| Width of the sensor, backward width for wedge sensors. | |
| double | m_length |
| Length of the Sensor. | |
| double | m_thickness |
| Thickness of the Sensor. | |
| double | m_width2 |
| Forward width for wedge sensors, 0 for rectangular sensors. | |
| double | m_splitLength |
| 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. | |
Namespace to provide code needed by both Vertex Detectors, PXD and SVD.
Data containter to carry Sensor Information for PXD and SVD to/from the database.. The data are sensor type, sensor id, width/length/thickness, number of cells.
Definition at line 25 of file VXDSensorInfoBasePar.h.
| enum SensorType |
|
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.
| type | Type of the Sensor, one of PXD or SVD |
| id | VxdID of the Sensor |
| width | Width of the Sensor in default units |
| length | Length of the Sensor in default units |
| thickness | Thickness of the Sensor in default units |
| uCells | Number of Pixels/Strips in u direction (local x) |
| vCells | Number of Pixels/Strips in v direction (local y) |
| width2 | Width of trapezoidal sensor on positive side, <=0 means rectangular |
| splitLength | Length at which the pixel size changes, starting at 0. <=0 means only one pixel/strip size in v |
| vCells2 | Number of pixels in v direction after split length. |
Definition at line 60 of file VXDSensorInfoBasePar.h.