Belle II Software  release-08-01-10
VXDSensorInfoBasePar Class Reference

Namespace to provide code needed by both Vertex Detectors, PXD and SVD. More...

#include <VXDSensorInfoBasePar.h>

Inheritance diagram for VXDSensorInfoBasePar:
Collaboration diagram for VXDSensorInfoBasePar:

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.
 

Detailed Description

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.

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 29 of file VXDSensorInfoBasePar.h.

Constructor & Destructor Documentation

◆ VXDSensorInfoBasePar()

VXDSensorInfoBasePar ( SensorType  type,
VxdID  id,
double  width,
double  length,
double  thickness,
int  uCells,
int  vCells,
double  width2 = 0,
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 VXDSensorInfoBasePar.h.


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