Belle II Software development
SpacePointInfo Class Reference

helper class to store the SpacePoint information as coding convention prohibits to use the SpacePoint class here More...

#include <SpacePointInfo.h>

Inheritance diagram for SpacePointInfo:

Public Member Functions

 SpacePointInfo ()
 constructor
 
 ~SpacePointInfo ()
 destructor
 
void setPosition (ROOT::Math::XYZVector v)
 setter for the position.
 
double getX ()
 getter for the x-position
 
double getY ()
 getter for the y-position
 
double getZ ()
 getter for the y-position
 
void setPositionError (ROOT::Math::XYZVector v)
 setter for the uncertainty on the position
 
double getErrorX ()
 getter for uncertainty on x
 
double getErrorY ()
 getter for uncertainty on y
 
double getErrorZ ()
 getter for uncertainty on z
 
void setNormalizedLocalU (double val)
 setter for the normalized u coordinate
 
double getNormalizedLocalU ()
 getter function for normalized u coordinate
 
void setNormalizedLocalV (double val)
 setter for the normalized v coordinate
 
double getNormalizedLocalV ()
 getter function for normalized v coordinate
 
bool getClustersAssignedU ()
 returns true if u cluster is assigned
 
void setClustersAssignedU (bool b)
 setter for is u cluster assigned
 
bool getClustersAssignedV ()
 returns true if u cluster is assigned
 
void setClustersAssignedV (bool b)
 setter for is v cluster assigned
 
Belle2::VxdID::baseType getVxdID ()
 getter for the VxdID
 
void setVxdID (Belle2::VxdID::baseType anId)
 setter for the VxdID:
 
int getSensorType ()
 getter for sensor type
 
void setSensorType (int type)
 setter for sensor type:
 
double getQualityIndicator ()
 getter for the quality indicator
 
void setQualityIndicator (double qi)
 setter for the quality indicator
 
bool getIsAssigned ()
 getter for is assigned
 
void setIsAssigned (bool ia)
 setter for is assigned
 

Private Member Functions

 ClassDef (SpacePointInfo, 2)
 needed by root
 

Private Attributes

ROOT::Math::XYZVector m_position
 3-vector with positon in global coordinates
 
ROOT::Math::XYZVector m_positionError
 uncertainty on the position
 
double m_normalizedLocalU
 normalized coordinates of spacepoint in local coordinates u-direction
 
double m_normalizedLocalV
 normalized coordinates of spacepoint in local coordinates v -direction
 
bool m_clustersAssignedU
 true if SP has a u-cluster assigned
 
bool m_clustersAssignedV
 true if SP has a v-cluster assigned
 
Belle2::VxdID::baseType m_vxdID
 used the baseType instead of VxdID as root seems to have problems with it
 
int m_sensorType
 the sensor type
 
double m_qualityIndicator
 the quality indicator for that SP
 
bool m_isAssigned
 true if is assigned
 

Detailed Description

helper class to store the SpacePoint information as coding convention prohibits to use the SpacePoint class here

Definition at line 22 of file SpacePointInfo.h.

Constructor & Destructor Documentation

◆ SpacePointInfo()

SpacePointInfo ( )
inline

constructor

Definition at line 25 of file SpacePointInfo.h.

25 :
26 m_position(0., 0., 0.),
27 m_positionError(1., 1., 1.),
33 m_sensorType(-1),
35 m_isAssigned(false)
36 {
37 }
ROOT::Math::XYZVector m_position
3-vector with positon in global coordinates
double m_qualityIndicator
the quality indicator for that SP
bool m_clustersAssignedU
true if SP has a u-cluster assigned
double m_normalizedLocalU
normalized coordinates of spacepoint in local coordinates u-direction
Belle2::VxdID::baseType m_vxdID
used the baseType instead of VxdID as root seems to have problems with it
ROOT::Math::XYZVector m_positionError
uncertainty on the position
bool m_clustersAssignedV
true if SP has a v-cluster assigned
bool m_isAssigned
true if is assigned
double m_normalizedLocalV
normalized coordinates of spacepoint in local coordinates v -direction
int m_sensorType
the sensor type
unsigned short baseType
The base integer type for VxdID.
Definition: VxdID.h:36

◆ ~SpacePointInfo()

~SpacePointInfo ( )
inline

destructor

Definition at line 40 of file SpacePointInfo.h.

40{}

Member Function Documentation

◆ getClustersAssignedU()

bool getClustersAssignedU ( )
inline

returns true if u cluster is assigned

Definition at line 87 of file SpacePointInfo.h.

87{ return m_clustersAssignedU;};

◆ getClustersAssignedV()

bool getClustersAssignedV ( )
inline

returns true if u cluster is assigned

Definition at line 95 of file SpacePointInfo.h.

95{ return m_clustersAssignedV;};

◆ getErrorX()

double getErrorX ( )
inline

getter for uncertainty on x

Definition at line 62 of file SpacePointInfo.h.

62{ return m_positionError.X(); };

◆ getErrorY()

double getErrorY ( )
inline

getter for uncertainty on y

Definition at line 65 of file SpacePointInfo.h.

65{ return m_positionError.Y(); };

◆ getErrorZ()

double getErrorZ ( )
inline

getter for uncertainty on z

Definition at line 68 of file SpacePointInfo.h.

68{ return m_positionError.Z(); };

◆ getIsAssigned()

bool getIsAssigned ( )
inline

getter for is assigned

Definition at line 127 of file SpacePointInfo.h.

127{ return m_isAssigned; };

◆ getNormalizedLocalU()

double getNormalizedLocalU ( )
inline

getter function for normalized u coordinate

Definition at line 76 of file SpacePointInfo.h.

76{ return m_normalizedLocalU; };

◆ getNormalizedLocalV()

double getNormalizedLocalV ( )
inline

getter function for normalized v coordinate

Definition at line 84 of file SpacePointInfo.h.

84{ return m_normalizedLocalV; };

◆ getQualityIndicator()

double getQualityIndicator ( )
inline

getter for the quality indicator

Definition at line 119 of file SpacePointInfo.h.

119{ return m_qualityIndicator;};

◆ getSensorType()

int getSensorType ( )
inline

getter for sensor type

Definition at line 111 of file SpacePointInfo.h.

111{ return m_sensorType;};

◆ getVxdID()

Belle2::VxdID::baseType getVxdID ( )
inline

getter for the VxdID

Definition at line 103 of file SpacePointInfo.h.

103{ return m_vxdID; };

◆ getX()

double getX ( )
inline

getter for the x-position

Definition at line 48 of file SpacePointInfo.h.

48{ return m_position.X(); };

◆ getY()

double getY ( )
inline

getter for the y-position

Definition at line 51 of file SpacePointInfo.h.

51{ return m_position.Y(); };

◆ getZ()

double getZ ( )
inline

getter for the y-position

Definition at line 54 of file SpacePointInfo.h.

54{ return m_position.Z(); };

◆ setClustersAssignedU()

void setClustersAssignedU ( bool  b)
inline

setter for is u cluster assigned

Parameters
bnew value

Definition at line 92 of file SpacePointInfo.h.

92{ m_clustersAssignedU = b; };

◆ setClustersAssignedV()

void setClustersAssignedV ( bool  b)
inline

setter for is v cluster assigned

Parameters
bnew value

Definition at line 100 of file SpacePointInfo.h.

100{ m_clustersAssignedV = b; };

◆ setIsAssigned()

void setIsAssigned ( bool  ia)
inline

setter for is assigned

Parameters
ianew value for isAssigned

Definition at line 132 of file SpacePointInfo.h.

132{ m_isAssigned = ia; };

◆ setNormalizedLocalU()

void setNormalizedLocalU ( double  val)
inline

setter for the normalized u coordinate

Parameters
valnew value for normalized u coordinate

Definition at line 73 of file SpacePointInfo.h.

73{ m_normalizedLocalU = val; };

◆ setNormalizedLocalV()

void setNormalizedLocalV ( double  val)
inline

setter for the normalized v coordinate

Parameters
valnew value for normalized v coordinate

Definition at line 81 of file SpacePointInfo.h.

81{ m_normalizedLocalV = val; };

◆ setPosition()

void setPosition ( ROOT::Math::XYZVector  v)
inline

setter for the position.

Parameters
v3-vector with new position

Definition at line 45 of file SpacePointInfo.h.

45{ m_position = v; };

◆ setPositionError()

void setPositionError ( ROOT::Math::XYZVector  v)
inline

setter for the uncertainty on the position

Parameters
vvector with new position uncertainties

Definition at line 59 of file SpacePointInfo.h.

59{ m_positionError = v; };

◆ setQualityIndicator()

void setQualityIndicator ( double  qi)
inline

setter for the quality indicator

Parameters
qinew quality indicator

Definition at line 124 of file SpacePointInfo.h.

124{ m_qualityIndicator = qi; };

◆ setSensorType()

void setSensorType ( int  type)
inline

setter for sensor type:

Parameters
typethe new sensor type

Definition at line 116 of file SpacePointInfo.h.

116{ m_sensorType = type;};

◆ setVxdID()

void setVxdID ( Belle2::VxdID::baseType  anId)
inline

setter for the VxdID:

Parameters
anIdnew vxdid

Definition at line 108 of file SpacePointInfo.h.

108{ m_vxdID = anId; };

Member Data Documentation

◆ m_clustersAssignedU

bool m_clustersAssignedU
private

true if SP has a u-cluster assigned

Definition at line 149 of file SpacePointInfo.h.

◆ m_clustersAssignedV

bool m_clustersAssignedV
private

true if SP has a v-cluster assigned

Definition at line 152 of file SpacePointInfo.h.

◆ m_isAssigned

bool m_isAssigned
private

true if is assigned

Definition at line 164 of file SpacePointInfo.h.

◆ m_normalizedLocalU

double m_normalizedLocalU
private

normalized coordinates of spacepoint in local coordinates u-direction

Definition at line 143 of file SpacePointInfo.h.

◆ m_normalizedLocalV

double m_normalizedLocalV
private

normalized coordinates of spacepoint in local coordinates v -direction

Definition at line 146 of file SpacePointInfo.h.

◆ m_position

ROOT::Math::XYZVector m_position
private

3-vector with positon in global coordinates

Definition at line 137 of file SpacePointInfo.h.

◆ m_positionError

ROOT::Math::XYZVector m_positionError
private

uncertainty on the position

Definition at line 140 of file SpacePointInfo.h.

◆ m_qualityIndicator

double m_qualityIndicator
private

the quality indicator for that SP

Definition at line 161 of file SpacePointInfo.h.

◆ m_sensorType

int m_sensorType
private

the sensor type

Definition at line 158 of file SpacePointInfo.h.

◆ m_vxdID

Belle2::VxdID::baseType m_vxdID
private

used the baseType instead of VxdID as root seems to have problems with it

Definition at line 155 of file SpacePointInfo.h.


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