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