Belle II Software  release-08-01-10
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:
Collaboration diagram for SpacePointInfo:

Public Member Functions

 SpacePointInfo ()
 constructor
 
 ~SpacePointInfo ()
 destructor
 
void setPosition (ROOT::Math::XYZVector v)
 setter for the position. More...
 
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 More...
 
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 More...
 
double getNormalizedLocalU ()
 getter function for normalized u coordinate
 
void setNormalizedLocalV (double val)
 setter for the normalized v coordinate More...
 
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 More...
 
bool getClustersAssignedV ()
 returns true if u cluster is assigned
 
void setClustersAssignedV (bool b)
 setter for is v cluster assigned More...
 
Belle2::VxdID::baseType getVxdID ()
 getter for the VxdID
 
void setVxdID (Belle2::VxdID::baseType anId)
 setter for the VxdID: More...
 
int getSensorType ()
 getter for sensor type
 
void setSensorType (int type)
 setter for sensor type: More...
 
double getQualityIndicator ()
 getter for the quality indicator
 
void setQualityIndicator (double qi)
 setter for the quality indicator More...
 
bool getIsAssigned ()
 getter for is assigned
 
void setIsAssigned (bool ia)
 setter for is assigned More...
 

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.

Member Function Documentation

◆ 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; };
bool m_clustersAssignedU
true if SP has a u-cluster assigned

◆ setClustersAssignedV()

void setClustersAssignedV ( bool  b)
inline

setter for is v cluster assigned

Parameters
bnew value

Definition at line 100 of file SpacePointInfo.h.

◆ setIsAssigned()

void setIsAssigned ( bool  ia)
inline

setter for is assigned

Parameters
ianew value for isAssigned

Definition at line 132 of file SpacePointInfo.h.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ setQualityIndicator()

void setQualityIndicator ( double  qi)
inline

setter for the quality indicator

Parameters
qinew quality indicator

Definition at line 124 of file SpacePointInfo.h.

◆ setSensorType()

void setSensorType ( int  type)
inline

setter for sensor type:

Parameters
typethe new sensor type

Definition at line 116 of file SpacePointInfo.h.

◆ setVxdID()

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

setter for the VxdID:

Parameters
anIdnew vxdid

Definition at line 108 of file SpacePointInfo.h.


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