11#include <vxd/dataobjects/VxdID.h>
61 int uCells,
int vCells,
double width2 = 0,
double splitLength = -1,
int vCells2 = 0):
Namespace to provide code needed by both Vertex Detectors, PXD and SVD.
SensorType getType() const
Return the Type of the Sensor.
double getWidth() const
Return the (backward) width of the sensor.
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.
int getVCells() const
Return number of pixel/strips in v direction.
SensorType
Enum specifing the type of sensor the SensorInfo represents.
@ VXD
Any type of VXD Sensor.
@ TEL
Testbeam telescope sensor.
int getUCells() const
Return number of pixel/strips in u direction.
VxdID getID() const
Return the ID of the Sensor.
double m_width2
Forward width for wedge sensors, 0 for rectangular sensors.
double m_width
Width of the sensor, backward width for wedge sensors.
double m_thickness
Thickness of the Sensor.
int m_vCells
Number of strips/pixels in v direction (up to splitLength for two pixel sizes)
double getThickness() const
Return the thickness of the sensor.
unsigned short m_id
ID of the Sensor.
VXDSensorInfoBasePar()
Default constructor.
double getWidth2() const
Return forward width for a slanted sensor.
SensorType m_type
Type of the Sensor.
int getVCells2() const
Return number of pixel/strips in v direction for second segment.
double m_length
Length of the Sensor.
double getSplitLength() const
Return the splitLength of the sensor.
int getVCells1() const
Return number of pixel/strips in v direction for first segment.
int m_vCells2
Number of strips/pixels in v direction after splitLength, 0 for only one pixel size.
ClassDef(VXDSensorInfoBasePar, 6)
ClassDef, must be the last term before the closing {}.
int m_uCells
Number of strips/pixels in u direction.
double m_splitLength
Length at which second pixel size starts, 0 for only one pixel size.
virtual ~VXDSensorInfoBasePar()
Virtual destructor to make class polymorph.
double getLength() const
Return the length of the sensor.
Class to uniquely identify a any structure of the PXD and SVD.
Abstract base class for different kinds of events.