 |
Belle II Software
release-05-02-19
|
11 #ifndef VXD_SENSORPLANE_H
12 #define VXD_SENSORPLANE_H
14 #include <vxd/dataobjects/VxdID.h>
15 #include <vxd/geometry/SensorInfoBase.h>
16 #include <framework/logging/Logger.h>
20 #include <vxd/geometry/GeoCache.h>
23 #include <genfit/AbsFinitePlane.h>
42 SensorPlane(VxdID sensorID = 0,
double uTolerance = 0,
double vTolerance = 0):
62 bool isInActive(
double u,
double v)
const override
73 B2FATAL(
"Could not find sensorInfo for VXD Sensor " <<
VxdID(
m_sensorID));
81 void Print(
const Option_t* option =
"")
const override;
Class to uniquely identify a any structure of the PXD and SVD.
double m_vTolerance
Tolerance to add to the sensor dimensions in v direction.
static const SensorInfoBase & get(Belle2::VxdID id)
Return a reference to the SensorInfo of a given SensorID.
void Print(const Option_t *option="") const override
Prints object data.
SensorPlane(VxdID sensorID=0, double uTolerance=0, double vTolerance=0)
Constructs the plane for a given VXD Sensor.
Base class to provide Sensor Information for PXD and SVD.
const SensorInfoBase * m_sensorInfo
Pointer to the SensorInfo which contains the geometry information for the given sensor plane.
virtual ~SensorPlane()
Destructor.
double m_cosPhi
Cosine term of plane rotation, used to align SVD trapezoidal sensors.
void setRotation(double phi)
Set plane rotation angle.
double m_uTolerance
Tolerance to add to the sensor dimensions in u direction.
double m_sinPhi
Sine term of plane rotation, used to align SVD trapezoidal sensors.
Abstract base class for different kinds of events.
Abstract base class for finite detector planes.
virtual genfit::AbsFinitePlane * clone() const override
Deep copy of the object.
bool isInActive(double u, double v) const override
Return whether the given coordinates are inside the finite region.
unsigned short m_sensorID
Sensor ID of the sensor plane.
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.
A Finite plane of one VXD Sensor.