Belle II Software development
|
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. | |
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 |
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 29 of file VXDSensorInfoBasePar.h.
|
inline |
|
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.
|
inlinevirtual |
Virtual destructor to make class polymorph.
Definition at line 67 of file VXDSensorInfoBasePar.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Return number of pixel/strips in v direction.
Definition at line 87 of file VXDSensorInfoBasePar.h.
|
inline |
Return number of pixel/strips in v direction for first segment.
Definition at line 89 of file VXDSensorInfoBasePar.h.
|
inline |
Return number of pixel/strips in v direction for second segment.
Definition at line 91 of file VXDSensorInfoBasePar.h.
|
inline |
|
inline |
|
protected |
ID of the Sensor.
Definition at line 98 of file VXDSensorInfoBasePar.h.
|
protected |
Length of the Sensor.
Definition at line 102 of file VXDSensorInfoBasePar.h.
|
protected |
Length at which second pixel size starts, 0 for only one pixel size.
Definition at line 108 of file VXDSensorInfoBasePar.h.
|
protected |
Thickness of the Sensor.
Definition at line 104 of file VXDSensorInfoBasePar.h.
|
protected |
Type of the Sensor.
Definition at line 96 of file VXDSensorInfoBasePar.h.
|
protected |
Number of strips/pixels in u direction.
Definition at line 110 of file VXDSensorInfoBasePar.h.
|
protected |
Number of strips/pixels in v direction (up to splitLength for two pixel sizes)
Definition at line 112 of file VXDSensorInfoBasePar.h.
|
protected |
Number of strips/pixels in v direction after splitLength, 0 for only one pixel size.
Definition at line 114 of file VXDSensorInfoBasePar.h.
|
protected |
Width of the sensor, backward width for wedge sensors.
Definition at line 100 of file VXDSensorInfoBasePar.h.
|
protected |
Forward width for wedge sensors, 0 for rectangular sensors.
Definition at line 106 of file VXDSensorInfoBasePar.h.