Belle II Software development
VXDGeoSensorPlacementPar Class Reference

The Class for VXD Sensor Placement payload. More...

#include <VXDGeoSensorPlacementPar.h>

Inheritance diagram for VXDGeoSensorPlacementPar:

Public Member Functions

 VXDGeoSensorPlacementPar (int sensorID=0, const std::string &sensorTypeID="", double z=0, bool flipU=false, bool flipV=false, bool flipW=false)
 Constructor.
 
 ~VXDGeoSensorPlacementPar ()
 Destructor.
 
int getSensorID () const
 get the sensor id inside the ladder
 
void setSensorID (int sensorID)
 set the sensor id inside the ladder
 
const std::string & getSensorTypeID () const
 get the sensor type id, internal id only needed for construction
 
void setSensorTypeID (const std::string &sensorTypeID)
 set the sensor type id, internal id only needed for construction
 
double getZ () const
 get the z position of the sensor
 
void setZ (double z)
 set the z position of the sensor
 
bool getFlipU () const
 return whether or not the sensor should be flipped around the U coordinate
 
void setFlipU (bool flipU)
 set whether or not the sensor should be flipped around the U coordinate
 
bool getFlipV () const
 return whether or not the sensor should be flipped around the V coordinate
 
void setFlipV (bool flipV)
 set whether or not the sensor should be flipped around the V coordinate
 
bool getFlipW () const
 return whether or not the sensor should be flipped around the W coordinate
 
void setFlipW (bool flipW)
 set whether or not the sensor should be flipped around the W coordinate
 

Private Member Functions

 ClassDef (VXDGeoSensorPlacementPar, 5)
 ClassDef, must be the last term before the closing {}.
 

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

The Class for VXD Sensor Placement payload.

Definition at line 27 of file VXDGeoSensorPlacementPar.h.

Constructor & Destructor Documentation

◆ VXDGeoSensorPlacementPar()

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

Constructor.

Definition at line 31 of file VXDGeoSensorPlacementPar.h.

32 :
33 m_sensorID(sensorID), m_sensorTypeID(sensorTypeID), m_z(z), m_flipU(flipU), m_flipV(flipV), m_flipW(flipW) {}
std::string m_sensorTypeID
Type of the sensor to be used.
int m_sensorID
ID of the sensor inside the ladder.
double m_z
global z position of the center of the sensor

◆ ~VXDGeoSensorPlacementPar()

Destructor.

Definition at line 35 of file VXDGeoSensorPlacementPar.h.

35{}

Member Function Documentation

◆ getFlipU()

bool getFlipU ( ) const
inline

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

Definition at line 49 of file VXDGeoSensorPlacementPar.h.

49{ return m_flipU; }

◆ getFlipV()

bool getFlipV ( ) const
inline

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

Definition at line 53 of file VXDGeoSensorPlacementPar.h.

53{ return m_flipV; }

◆ getFlipW()

bool getFlipW ( ) const
inline

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

Definition at line 57 of file VXDGeoSensorPlacementPar.h.

57{ return m_flipW; }

◆ getSensorID()

int getSensorID ( ) const
inline

get the sensor id inside the ladder

Definition at line 37 of file VXDGeoSensorPlacementPar.h.

37{ return m_sensorID; }

◆ getSensorTypeID()

const std::string & getSensorTypeID ( ) const
inline

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

Definition at line 41 of file VXDGeoSensorPlacementPar.h.

41{ return m_sensorTypeID; }

◆ getZ()

double getZ ( ) const
inline

get the z position of the sensor

Definition at line 45 of file VXDGeoSensorPlacementPar.h.

45{ return m_z; }

◆ setFlipU()

void setFlipU ( bool  flipU)
inline

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

Definition at line 51 of file VXDGeoSensorPlacementPar.h.

51{ m_flipU = flipU; }

◆ setFlipV()

void setFlipV ( bool  flipV)
inline

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

Definition at line 55 of file VXDGeoSensorPlacementPar.h.

55{ m_flipV = flipV; }

◆ setFlipW()

void setFlipW ( bool  flipW)
inline

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

Definition at line 59 of file VXDGeoSensorPlacementPar.h.

59{ m_flipW = flipW; }

◆ setSensorID()

void setSensorID ( int  sensorID)
inline

set the sensor id inside the ladder

Definition at line 39 of file VXDGeoSensorPlacementPar.h.

39{ m_sensorID = sensorID; }

◆ setSensorTypeID()

void setSensorTypeID ( const std::string &  sensorTypeID)
inline

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

Definition at line 43 of file VXDGeoSensorPlacementPar.h.

43{ m_sensorTypeID = sensorTypeID; }

◆ setZ()

void setZ ( double  z)
inline

set the z position of the sensor

Definition at line 47 of file VXDGeoSensorPlacementPar.h.

47{ m_z = z; }

Member Data Documentation

◆ m_flipU

bool m_flipU
private

flip sensor along u?

Definition at line 70 of file VXDGeoSensorPlacementPar.h.

◆ m_flipV

bool m_flipV
private

flip sensor along v?

Definition at line 72 of file VXDGeoSensorPlacementPar.h.

◆ m_flipW

bool m_flipW
private

flip sensor along w?

Definition at line 74 of file VXDGeoSensorPlacementPar.h.

◆ m_sensorID

int m_sensorID
private

ID of the sensor inside the ladder.

Definition at line 64 of file VXDGeoSensorPlacementPar.h.

◆ m_sensorTypeID

std::string m_sensorTypeID
private

Type of the sensor to be used.

Definition at line 66 of file VXDGeoSensorPlacementPar.h.

◆ m_z

double m_z
private

global z position of the center of the sensor

Definition at line 68 of file VXDGeoSensorPlacementPar.h.


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