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, 3)
 needed by root
 

Private Attributes

ROOT::Math::XYZVector m_position = {0., 0., 0.}
 3-vector with position in global coordinates
 
ROOT::Math::XYZVector m_positionError = {1., 1., 1.}
 uncertainty on the position
 
double m_normalizedLocalU = 0.
 normalized coordinates of spacepoint in local coordinates u-direction
 
double m_normalizedLocalV = 0.
 normalized coordinates of spacepoint in local coordinates v -direction
 
double m_qualityIndicator = 0.5
 the quality indicator for that SP
 
Belle2::VxdID::baseType m_vxdID = Belle2::VxdID::baseType(0)
 used the baseType instead of VxdID as root seems to have problems with it
 
int m_sensorType = -1
 the sensor type
 
bool m_clustersAssignedU = false
 true if SP has a u-cluster assigned
 
bool m_clustersAssignedV = false
 true if SP has a v-cluster assigned
 
bool m_isAssigned = false
 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{}

◆ ~SpacePointInfo()

~SpacePointInfo ( )
inline

destructor

Definition at line 28 of file SpacePointInfo.h.

28{}

Member Function Documentation

◆ getClustersAssignedU()

bool getClustersAssignedU ( )
inline

returns true if u cluster is assigned

Definition at line 75 of file SpacePointInfo.h.

75{ return m_clustersAssignedU;};
bool m_clustersAssignedU
true if SP has a u-cluster assigned

◆ getClustersAssignedV()

bool getClustersAssignedV ( )
inline

returns true if u cluster is assigned

Definition at line 83 of file SpacePointInfo.h.

83{ return m_clustersAssignedV;};
bool m_clustersAssignedV
true if SP has a v-cluster assigned

◆ getErrorX()

double getErrorX ( )
inline

getter for uncertainty on x

Definition at line 50 of file SpacePointInfo.h.

50{ return m_positionError.X(); };
ROOT::Math::XYZVector m_positionError
uncertainty on the position

◆ getErrorY()

double getErrorY ( )
inline

getter for uncertainty on y

Definition at line 53 of file SpacePointInfo.h.

53{ return m_positionError.Y(); };

◆ getErrorZ()

double getErrorZ ( )
inline

getter for uncertainty on z

Definition at line 56 of file SpacePointInfo.h.

56{ return m_positionError.Z(); };

◆ getIsAssigned()

bool getIsAssigned ( )
inline

getter for is assigned

Definition at line 115 of file SpacePointInfo.h.

115{ return m_isAssigned; };
bool m_isAssigned
true if is assigned

◆ getNormalizedLocalU()

double getNormalizedLocalU ( )
inline

getter function for normalized u coordinate

Definition at line 64 of file SpacePointInfo.h.

64{ return m_normalizedLocalU; };
double m_normalizedLocalU
normalized coordinates of spacepoint in local coordinates u-direction

◆ getNormalizedLocalV()

double getNormalizedLocalV ( )
inline

getter function for normalized v coordinate

Definition at line 72 of file SpacePointInfo.h.

72{ return m_normalizedLocalV; };
double m_normalizedLocalV
normalized coordinates of spacepoint in local coordinates v -direction

◆ getQualityIndicator()

double getQualityIndicator ( )
inline

getter for the quality indicator

Definition at line 107 of file SpacePointInfo.h.

107{ return m_qualityIndicator;};
double m_qualityIndicator
the quality indicator for that SP

◆ getSensorType()

int getSensorType ( )
inline

getter for sensor type

Definition at line 99 of file SpacePointInfo.h.

99{ return m_sensorType;};
int m_sensorType
the sensor type

◆ getVxdID()

Belle2::VxdID::baseType getVxdID ( )
inline

getter for the VxdID

Definition at line 91 of file SpacePointInfo.h.

91{ return m_vxdID; };
Belle2::VxdID::baseType m_vxdID
used the baseType instead of VxdID as root seems to have problems with it

◆ getX()

double getX ( )
inline

getter for the x-position

Definition at line 36 of file SpacePointInfo.h.

36{ return m_position.X(); };
ROOT::Math::XYZVector m_position
3-vector with position in global coordinates

◆ getY()

double getY ( )
inline

getter for the y-position

Definition at line 39 of file SpacePointInfo.h.

39{ return m_position.Y(); };

◆ getZ()

double getZ ( )
inline

getter for the y-position

Definition at line 42 of file SpacePointInfo.h.

42{ return m_position.Z(); };

◆ setClustersAssignedU()

void setClustersAssignedU ( bool  b)
inline

setter for is u cluster assigned

Parameters
bnew value

Definition at line 80 of file SpacePointInfo.h.

80{ m_clustersAssignedU = b; };

◆ setClustersAssignedV()

void setClustersAssignedV ( bool  b)
inline

setter for is v cluster assigned

Parameters
bnew value

Definition at line 88 of file SpacePointInfo.h.

88{ m_clustersAssignedV = b; };

◆ setIsAssigned()

void setIsAssigned ( bool  ia)
inline

setter for is assigned

Parameters
ianew value for isAssigned

Definition at line 120 of file SpacePointInfo.h.

120{ 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 61 of file SpacePointInfo.h.

61{ 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 69 of file SpacePointInfo.h.

69{ m_normalizedLocalV = val; };

◆ setPosition()

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

setter for the position.

Parameters
v3-vector with new position

Definition at line 33 of file SpacePointInfo.h.

33{ 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 47 of file SpacePointInfo.h.

47{ m_positionError = v; };

◆ setQualityIndicator()

void setQualityIndicator ( double  qi)
inline

setter for the quality indicator

Parameters
qinew quality indicator

Definition at line 112 of file SpacePointInfo.h.

112{ m_qualityIndicator = qi; };

◆ setSensorType()

void setSensorType ( int  type)
inline

setter for sensor type:

Parameters
typethe new sensor type

Definition at line 104 of file SpacePointInfo.h.

104{ m_sensorType = type;};

◆ setVxdID()

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

setter for the VxdID:

Parameters
anIdnew vxdid

Definition at line 96 of file SpacePointInfo.h.

96{ m_vxdID = anId; };

Member Data Documentation

◆ m_clustersAssignedU

bool m_clustersAssignedU = false
private

true if SP has a u-cluster assigned

Definition at line 146 of file SpacePointInfo.h.

◆ m_clustersAssignedV

bool m_clustersAssignedV = false
private

true if SP has a v-cluster assigned

Definition at line 149 of file SpacePointInfo.h.

◆ m_isAssigned

bool m_isAssigned = false
private

true if is assigned

Definition at line 152 of file SpacePointInfo.h.

◆ m_normalizedLocalU

double m_normalizedLocalU = 0.
private

normalized coordinates of spacepoint in local coordinates u-direction

Definition at line 131 of file SpacePointInfo.h.

◆ m_normalizedLocalV

double m_normalizedLocalV = 0.
private

normalized coordinates of spacepoint in local coordinates v -direction

Definition at line 134 of file SpacePointInfo.h.

◆ m_position

ROOT::Math::XYZVector m_position = {0., 0., 0.}
private

3-vector with position in global coordinates

Definition at line 125 of file SpacePointInfo.h.

◆ m_positionError

ROOT::Math::XYZVector m_positionError = {1., 1., 1.}
private

uncertainty on the position

Definition at line 128 of file SpacePointInfo.h.

◆ m_qualityIndicator

double m_qualityIndicator = 0.5
private

the quality indicator for that SP

Definition at line 137 of file SpacePointInfo.h.

◆ m_sensorType

int m_sensorType = -1
private

the sensor type

Definition at line 143 of file SpacePointInfo.h.

◆ m_vxdID

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

Definition at line 140 of file SpacePointInfo.h.


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