Belle II Software development
VXDGeoSensorPlacement Class Reference

Struct holding the information where a sensor should be placed inside the ladder. More...

#include <GeoVXDComponents.h>

Public Member Functions

 VXDGeoSensorPlacement (int sensorID=0, const std::string &sensorTypeID="", double z=0, bool flipU=false, bool flipV=false, bool flipW=false)
 Constructor.
 
int getSensorID () const
 get the sensor id inside the ladder
 
const std::string & getSensorTypeID () const
 get the sensor type id, internal id only needed for construction
 
double getZ () const
 get the z position of the sensor
 
bool getFlipU () const
 check whether or not the sensor should be flipped around the U coordinate
 
bool getFlipV () const
 check whether or not the sensor should be flipped around the V coordinate
 
bool getFlipW () const
 check whether or not the sensor should be flipped around the W coordinate
 

Private Attributes

int m_sensorID
 ID of the sensor inside the ladder.
 
std::string m_sensorTypeID
 Type of the sensor to be used.
 
double m_z
 global z position of the center of the sensor
 
bool m_flipU
 flip sensor along u?
 
bool m_flipV
 flip sensor along v?
 
bool m_flipW
 flip sensor along w?
 

Detailed Description

Struct holding the information where a sensor should be placed inside the ladder.

Definition at line 151 of file GeoVXDComponents.h.

Constructor & Destructor Documentation

◆ VXDGeoSensorPlacement()

VXDGeoSensorPlacement ( int  sensorID = 0,
const std::string &  sensorTypeID = "",
double  z = 0,
bool  flipU = false,
bool  flipV = false,
bool  flipW = false 
)
inline

Constructor.

Definition at line 154 of file GeoVXDComponents.h.

155 :
156 m_sensorID(sensorID), m_sensorTypeID(sensorTypeID), m_z(z), m_flipU(flipU), m_flipV(flipV), m_flipW(flipW) {}
bool m_flipV
flip sensor along v?
bool m_flipU
flip sensor along u?
std::string m_sensorTypeID
Type of the sensor to be used.
bool m_flipW
flip sensor along w?
int m_sensorID
ID of the sensor inside the ladder.
double m_z
global z position of the center of the sensor

Member Function Documentation

◆ getFlipU()

bool getFlipU ( ) const
inline

check whether or not the sensor should be flipped around the U coordinate

Definition at line 164 of file GeoVXDComponents.h.

164{ return m_flipU; }

◆ getFlipV()

bool getFlipV ( ) const
inline

check whether or not the sensor should be flipped around the V coordinate

Definition at line 166 of file GeoVXDComponents.h.

166{ return m_flipV; }

◆ getFlipW()

bool getFlipW ( ) const
inline

check whether or not the sensor should be flipped around the W coordinate

Definition at line 168 of file GeoVXDComponents.h.

168{ return m_flipW; }

◆ getSensorID()

int getSensorID ( ) const
inline

get the sensor id inside the ladder

Definition at line 158 of file GeoVXDComponents.h.

158{ return m_sensorID; }

◆ getSensorTypeID()

const std::string & getSensorTypeID ( ) const
inline

get the sensor type id, internal id only needed for construction

Definition at line 160 of file GeoVXDComponents.h.

160{ return m_sensorTypeID; }

◆ getZ()

double getZ ( ) const
inline

get the z position of the sensor

Definition at line 162 of file GeoVXDComponents.h.

162{ return m_z; }

Member Data Documentation

◆ m_flipU

bool m_flipU
private

flip sensor along u?

Definition at line 177 of file GeoVXDComponents.h.

◆ m_flipV

bool m_flipV
private

flip sensor along v?

Definition at line 179 of file GeoVXDComponents.h.

◆ m_flipW

bool m_flipW
private

flip sensor along w?

Definition at line 181 of file GeoVXDComponents.h.

◆ m_sensorID

int m_sensorID
private

ID of the sensor inside the ladder.

Definition at line 171 of file GeoVXDComponents.h.

◆ m_sensorTypeID

std::string m_sensorTypeID
private

Type of the sensor to be used.

Definition at line 173 of file GeoVXDComponents.h.

◆ m_z

double m_z
private

global z position of the center of the sensor

Definition at line 175 of file GeoVXDComponents.h.


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