Belle II Software development
VXDGeoRadiationSensorsPar Class Reference

The Class for VXD Radiation Sensor parameters. More...

#include <VXDGeoRadiationSensorsPar.h>

Inheritance diagram for VXDGeoRadiationSensorsPar:

Public Member Functions

 VXDGeoRadiationSensorsPar (const std::string &subdetector="", bool insideEnvelope=false, double width=0, double length=0, bool height=0, const std::string &material="")
 Constructor.
 
 ~VXDGeoRadiationSensorsPar ()
 Destructor.
 
const std::string & getSubDetector () const
 get the name of the subdetector
 
void setSubDetector (const std::string &subdetector)
 set the name of the subdetector
 
bool getInsideEnvelope () const
 return whether radiation sensor are inside envelope volume
 
void setInsideEnvelope (bool insideEnvelope)
 set whether radiation sensor are inside envelope volume
 
double getWidth () const
 get the width
 
void setWidth (double width)
 set the width
 
double getLength () const
 get the length
 
void setLength (double length)
 set the length
 
double getHeight () const
 get the height
 
void setHeight (double height)
 set the height
 
const std::string & getMaterial () const
 get the name of the material
 
void setMaterial (const std::string &material)
 set the name of the material
 
const std::vector< VXDGeoRadiationSensorsPositionPar > & getPositions () const
 get the positions of radiation sensors
 
void addPosition (const VXDGeoRadiationSensorsPositionPar &position)
 add radiation sensor position
 

Private Member Functions

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

Private Attributes

std::string m_subdetector
 one of "PXD" or "SVD"
 
bool m_insideEnvelope
 For PXD they need to be outside the envelope volume, for SVD they are inside the detector.
 
double m_width
 Dimension of the sensor in mm.
 
double m_length
 Dimension of the sensor in mm.
 
double m_height
 Dimension of the sensor in um.
 
std::string m_material
 Material name.
 
std::vector< VXDGeoRadiationSensorsPositionParm_positions
 Position of radiation sensors.
 

Detailed Description

The Class for VXD Radiation Sensor parameters.

Definition at line 67 of file VXDGeoRadiationSensorsPar.h.

Constructor & Destructor Documentation

◆ VXDGeoRadiationSensorsPar()

VXDGeoRadiationSensorsPar ( const std::string &  subdetector = "",
bool  insideEnvelope = false,
double  width = 0,
double  length = 0,
bool  height = 0,
const std::string &  material = "" 
)
inline

Constructor.

Definition at line 70 of file VXDGeoRadiationSensorsPar.h.

71 :
72 m_subdetector(subdetector), m_insideEnvelope(insideEnvelope), m_width(width), m_length(length), m_height(height),
73 m_material(material) {}
bool m_insideEnvelope
For PXD they need to be outside the envelope volume, for SVD they are inside the detector.
double m_width
Dimension of the sensor in mm.
double m_length
Dimension of the sensor in mm.
double m_height
Dimension of the sensor in um.
std::string m_subdetector
one of "PXD" or "SVD"

◆ ~VXDGeoRadiationSensorsPar()

Destructor.

Definition at line 75 of file VXDGeoRadiationSensorsPar.h.

75{}

Member Function Documentation

◆ addPosition()

void addPosition ( const VXDGeoRadiationSensorsPositionPar position)
inline

add radiation sensor position

Definition at line 103 of file VXDGeoRadiationSensorsPar.h.

103{ m_positions.push_back(position); }
std::vector< VXDGeoRadiationSensorsPositionPar > m_positions
Position of radiation sensors.

◆ getHeight()

double getHeight ( ) const
inline

get the height

Definition at line 93 of file VXDGeoRadiationSensorsPar.h.

93{ return m_height; }

◆ getInsideEnvelope()

bool getInsideEnvelope ( ) const
inline

return whether radiation sensor are inside envelope volume

Definition at line 81 of file VXDGeoRadiationSensorsPar.h.

81{ return m_insideEnvelope; }

◆ getLength()

double getLength ( ) const
inline

get the length

Definition at line 89 of file VXDGeoRadiationSensorsPar.h.

89{ return m_length; }

◆ getMaterial()

const std::string & getMaterial ( ) const
inline

get the name of the material

Definition at line 97 of file VXDGeoRadiationSensorsPar.h.

97{ return m_material; }

◆ getPositions()

const std::vector< VXDGeoRadiationSensorsPositionPar > & getPositions ( ) const
inline

get the positions of radiation sensors

Definition at line 101 of file VXDGeoRadiationSensorsPar.h.

101{ return m_positions; }

◆ getSubDetector()

const std::string & getSubDetector ( ) const
inline

get the name of the subdetector

Definition at line 77 of file VXDGeoRadiationSensorsPar.h.

77{ return m_subdetector; }

◆ getWidth()

double getWidth ( ) const
inline

get the width

Definition at line 85 of file VXDGeoRadiationSensorsPar.h.

85{ return m_width; }

◆ setHeight()

void setHeight ( double  height)
inline

set the height

Definition at line 95 of file VXDGeoRadiationSensorsPar.h.

95{ m_height = height; }

◆ setInsideEnvelope()

void setInsideEnvelope ( bool  insideEnvelope)
inline

set whether radiation sensor are inside envelope volume

Definition at line 83 of file VXDGeoRadiationSensorsPar.h.

83{ m_insideEnvelope = insideEnvelope; }

◆ setLength()

void setLength ( double  length)
inline

set the length

Definition at line 91 of file VXDGeoRadiationSensorsPar.h.

91{ m_length = length; }

◆ setMaterial()

void setMaterial ( const std::string &  material)
inline

set the name of the material

Definition at line 99 of file VXDGeoRadiationSensorsPar.h.

99{ m_material = material; }

◆ setSubDetector()

void setSubDetector ( const std::string &  subdetector)
inline

set the name of the subdetector

Definition at line 79 of file VXDGeoRadiationSensorsPar.h.

79{ m_subdetector = subdetector; }

◆ setWidth()

void setWidth ( double  width)
inline

set the width

Definition at line 87 of file VXDGeoRadiationSensorsPar.h.

87{m_width = width; }

Member Data Documentation

◆ m_height

double m_height
private

Dimension of the sensor in um.

Definition at line 115 of file VXDGeoRadiationSensorsPar.h.

◆ m_insideEnvelope

bool m_insideEnvelope
private

For PXD they need to be outside the envelope volume, for SVD they are inside the detector.

Definition at line 109 of file VXDGeoRadiationSensorsPar.h.

◆ m_length

double m_length
private

Dimension of the sensor in mm.

Definition at line 113 of file VXDGeoRadiationSensorsPar.h.

◆ m_material

std::string m_material
private

Material name.

Definition at line 117 of file VXDGeoRadiationSensorsPar.h.

◆ m_positions

std::vector<VXDGeoRadiationSensorsPositionPar> m_positions
private

Position of radiation sensors.

Definition at line 119 of file VXDGeoRadiationSensorsPar.h.

◆ m_subdetector

std::string m_subdetector
private

one of "PXD" or "SVD"

Definition at line 107 of file VXDGeoRadiationSensorsPar.h.

◆ m_width

double m_width
private

Dimension of the sensor in mm.

Definition at line 111 of file VXDGeoRadiationSensorsPar.h.


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