Belle II Software  release-08-01-10
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 34 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
uTolerancetolerance in the u direction
vTolerancetolerance in the v direction

Definition at line 42 of file SensorPlane.h.

42  :
43  m_sensorID(sensorID), m_uTolerance(uTolerance), m_vTolerance(vTolerance), m_cosPhi(1.), m_sinPhi(0.), m_sensorInfo(0) {}
double m_uTolerance
Tolerance to add to the sensor dimensions in u direction.
Definition: SensorPlane.h:96
unsigned short m_sensorID
Sensor ID of the sensor plane.
Definition: SensorPlane.h:94
double m_sinPhi
Sine term of plane rotation, used to align SVD trapezoidal sensors.
Definition: SensorPlane.h:102
double m_cosPhi
Cosine term of plane rotation, used to align SVD trapezoidal sensors.
Definition: SensorPlane.h:100
double m_vTolerance
Tolerance to add to the sensor dimensions in v direction.
Definition: SensorPlane.h:98
const SensorInfoBase * m_sensorInfo
Pointer to the SensorInfo which contains the geometry information for the given sensor plane.
Definition: SensorPlane.h:104

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 87 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 62 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 49 of file SensorPlane.h.


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