Belle II Software  release-05-02-19
SensorPlane Class Reference

A Finite plane of one VXD Sensor. More...

#include <SensorPlane.h>

Inheritance diagram for SensorPlane:
Collaboration diagram for SensorPlane:

Public Member Functions

 SensorPlane (VxdID sensorID=0, double uTolerance=0, double vTolerance=0)
 Constructs the plane for a given VXD Sensor. More...
 
void setRotation (double phi)
 Set plane rotation angle. More...
 
virtual ~SensorPlane ()
 Destructor.
 
bool isInActive (double u, double v) const override
 Return whether the given coordinates are inside the finite region. More...
 
void Print (const Option_t *option="") const override
 Prints object data.
 
virtual genfit::AbsFinitePlaneclone () const override
 Deep copy of the object. More...
 

Protected Member Functions

 ClassDef (AbsFinitePlane, 1)
 

Private Attributes

unsigned short m_sensorID
 Sensor ID of the sensor plane.
 
double m_uTolerance
 Tolerance to add to the sensor dimensions in u direction.
 
double m_vTolerance
 Tolerance to add to the sensor dimensions in v direction.
 
double m_cosPhi
 Cosine term of plane rotation, used to align SVD trapezoidal sensors.
 
double m_sinPhi
 Sine term of plane rotation, used to align SVD trapezoidal sensors.
 
const SensorInfoBasem_sensorInfo
 Pointer to the SensorInfo which contains the geometry information for the given sensor plane.
 

Detailed Description

A Finite plane of one VXD Sensor.

This class takes the SensorID of the sensor and gets the dimensions from the SensorInfo of that Sensor.

Definition at line 44 of file SensorPlane.h.

Constructor & Destructor Documentation

◆ SensorPlane()

SensorPlane ( VxdID  sensorID = 0,
double  uTolerance = 0,
double  vTolerance = 0 
)
inline

Constructs the plane for a given VXD Sensor.

Parameters
sensorIDSensorID of the Sensor for which this plane should be build

Definition at line 50 of file SensorPlane.h.

50  {
51  m_cosPhi = cos(phi);

Member Function Documentation

◆ clone()

virtual genfit::AbsFinitePlane* clone ( ) const
inlineoverridevirtual

Deep copy of the object.

Returns
Pointer to a deep copy of the object.

Implements AbsFinitePlane.

Definition at line 95 of file SensorPlane.h.

◆ isInActive()

bool isInActive ( double  u,
double  v 
) const
inlineoverridevirtual

Return whether the given coordinates are inside the finite region.

Parameters
uu-coordinate of the point.
vv-coordinate of the point.
Returns
true if (u,v) is within the sensor plane, otherwise false.

Implements AbsFinitePlane.

Definition at line 70 of file SensorPlane.h.

◆ setRotation()

void setRotation ( double  phi)
inline

Set plane rotation angle.

This angle will be used to rotate coordinate parameters in inActive() method.

Parameters
phiThe angle by which the plane was rotated.

Definition at line 57 of file SensorPlane.h.


The documentation for this class was generated from the following files:
Belle2::VXD::SensorPlane::m_cosPhi
double m_cosPhi
Cosine term of plane rotation, used to align SVD trapezoidal sensors.
Definition: SensorPlane.h:108