Belle II Software development
VXDGeoLadder Class Reference

Struct containing all parameters of one ladder. More...

#include <GeoVXDComponents.h>

Public Member Functions

 VXDGeoLadder (int layerID=0, double shift=0, double radius=0, double slantedAngle=0, double slantedRadius=0, double glueSize=-1, const std::string &glueMaterial="")
 Constructor.
 
int getLayerID () const
 get the layer id
 
double getShift () const
 get the shift along the u coordinate for all sensors in the ladder
 
double getRadius () const
 get the radius of all sensors except slanted ones
 
double getSlantedAngle () const
 get the slant angle for slanted sensors
 
double getSlantedRadius () const
 get the radius for slanted sensors
 
double getGlueSize () const
 get the additional glue size, e.g.
 
const std::string & getGlueMaterial () const
 get the glue material
 
const std::vector< VXDGeoSensorPlacement > & getSensors () const
 get list of sensors
 
void addSensor (const VXDGeoSensorPlacement &sensor)
 add a sensor to the list of sensors in the ladder
 

Private Attributes

int m_layerID
 ID of the ladder inside the layer.
 
double m_shift
 Shift of the ladder along local u.
 
double m_radius
 Radius where to place the ladder.
 
double m_slantedAngle
 Angle of the module with respect to the global z-axis for slanted sensors.
 
double m_slantedRadius
 Radius of the center of the active area for slanted sensors.
 
double m_glueSize
 Oversize of the glue between the ladders, <0 means no glue.
 
std::string m_glueMaterial
 name of the Material used as glue
 
std::vector< VXDGeoSensorPlacementm_sensors
 list of all sensors to be placed in the ladder
 

Detailed Description

Struct containing all parameters of one ladder.

Definition at line 185 of file GeoVXDComponents.h.

Constructor & Destructor Documentation

◆ VXDGeoLadder()

VXDGeoLadder ( int  layerID = 0,
double  shift = 0,
double  radius = 0,
double  slantedAngle = 0,
double  slantedRadius = 0,
double  glueSize = -1,
const std::string &  glueMaterial = "" 
)
inline

Constructor.

Definition at line 188 of file GeoVXDComponents.h.

190 :
191 m_layerID(layerID), m_shift(shift), m_radius(radius),
192 m_slantedAngle(slantedAngle), m_slantedRadius(slantedRadius),
193 m_glueSize(glueSize), m_glueMaterial(glueMaterial) {}
double m_radius
Radius where to place the ladder.
int m_layerID
ID of the ladder inside the layer.
double m_slantedRadius
Radius of the center of the active area for slanted sensors.
std::string m_glueMaterial
name of the Material used as glue
double m_shift
Shift of the ladder along local u.
double m_slantedAngle
Angle of the module with respect to the global z-axis for slanted sensors.
double m_glueSize
Oversize of the glue between the ladders, <0 means no glue.

Member Function Documentation

◆ addSensor()

void addSensor ( const VXDGeoSensorPlacement sensor)
inline

add a sensor to the list of sensors in the ladder

Definition at line 211 of file GeoVXDComponents.h.

211{ m_sensors.push_back(sensor); }
std::vector< VXDGeoSensorPlacement > m_sensors
list of all sensors to be placed in the ladder

◆ getGlueMaterial()

const std::string & getGlueMaterial ( ) const
inline

get the glue material

Definition at line 207 of file GeoVXDComponents.h.

207{ return m_glueMaterial; }

◆ getGlueSize()

double getGlueSize ( ) const
inline

get the additional glue size, e.g.

the amount the glue is produding on all sides of the joint

Definition at line 205 of file GeoVXDComponents.h.

205{ return m_glueSize; }

◆ getLayerID()

int getLayerID ( ) const
inline

get the layer id

Definition at line 195 of file GeoVXDComponents.h.

195{ return m_layerID; }

◆ getRadius()

double getRadius ( ) const
inline

get the radius of all sensors except slanted ones

Definition at line 199 of file GeoVXDComponents.h.

199{ return m_radius; }

◆ getSensors()

const std::vector< VXDGeoSensorPlacement > & getSensors ( ) const
inline

get list of sensors

Definition at line 209 of file GeoVXDComponents.h.

209{ return m_sensors; }

◆ getShift()

double getShift ( ) const
inline

get the shift along the u coordinate for all sensors in the ladder

Definition at line 197 of file GeoVXDComponents.h.

197{ return m_shift; }

◆ getSlantedAngle()

double getSlantedAngle ( ) const
inline

get the slant angle for slanted sensors

Definition at line 201 of file GeoVXDComponents.h.

201{ return m_slantedAngle; }

◆ getSlantedRadius()

double getSlantedRadius ( ) const
inline

get the radius for slanted sensors

Definition at line 203 of file GeoVXDComponents.h.

203{ return m_slantedRadius; }

Member Data Documentation

◆ m_glueMaterial

std::string m_glueMaterial
private

name of the Material used as glue

Definition at line 226 of file GeoVXDComponents.h.

◆ m_glueSize

double m_glueSize
private

Oversize of the glue between the ladders, <0 means no glue.

Definition at line 224 of file GeoVXDComponents.h.

◆ m_layerID

int m_layerID
private

ID of the ladder inside the layer.

Definition at line 214 of file GeoVXDComponents.h.

◆ m_radius

double m_radius
private

Radius where to place the ladder.

Definition at line 218 of file GeoVXDComponents.h.

◆ m_sensors

std::vector<VXDGeoSensorPlacement> m_sensors
private

list of all sensors to be placed in the ladder

Definition at line 228 of file GeoVXDComponents.h.

◆ m_shift

double m_shift
private

Shift of the ladder along local u.

Definition at line 216 of file GeoVXDComponents.h.

◆ m_slantedAngle

double m_slantedAngle
private

Angle of the module with respect to the global z-axis for slanted sensors.

Definition at line 220 of file GeoVXDComponents.h.

◆ m_slantedRadius

double m_slantedRadius
private

Radius of the center of the active area for slanted sensors.

Definition at line 222 of file GeoVXDComponents.h.


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