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 186 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 189 of file GeoVXDComponents.h.

191 :
192 m_layerID(layerID), m_shift(shift), m_radius(radius),
193 m_slantedAngle(slantedAngle), m_slantedRadius(slantedRadius),
194 m_glueSize(glueSize), m_glueMaterial(glueMaterial) {}

Member Function Documentation

◆ addSensor()

void addSensor ( const VXDGeoSensorPlacement & sensor)
inline

add a sensor to the list of sensors in the ladder

Definition at line 212 of file GeoVXDComponents.h.

212{ m_sensors.push_back(sensor); }

◆ getGlueMaterial()

const std::string & getGlueMaterial ( ) const
inline

get the glue material

Definition at line 208 of file GeoVXDComponents.h.

208{ 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 206 of file GeoVXDComponents.h.

206{ return m_glueSize; }

◆ getLayerID()

int getLayerID ( ) const
inline

get the layer id

Definition at line 196 of file GeoVXDComponents.h.

196{ return m_layerID; }

◆ getRadius()

double getRadius ( ) const
inline

get the radius of all sensors except slanted ones

Definition at line 200 of file GeoVXDComponents.h.

200{ return m_radius; }

◆ getSensors()

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

get list of sensors

Definition at line 210 of file GeoVXDComponents.h.

210{ return m_sensors; }

◆ getShift()

double getShift ( ) const
inline

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

Definition at line 198 of file GeoVXDComponents.h.

198{ return m_shift; }

◆ getSlantedAngle()

double getSlantedAngle ( ) const
inline

get the slant angle for slanted sensors

Definition at line 202 of file GeoVXDComponents.h.

202{ return m_slantedAngle; }

◆ getSlantedRadius()

double getSlantedRadius ( ) const
inline

get the radius for slanted sensors

Definition at line 204 of file GeoVXDComponents.h.

204{ return m_slantedRadius; }

Member Data Documentation

◆ m_glueMaterial

std::string m_glueMaterial
private

name of the Material used as glue

Definition at line 227 of file GeoVXDComponents.h.

◆ m_glueSize

double m_glueSize
private

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

Definition at line 225 of file GeoVXDComponents.h.

◆ m_layerID

int m_layerID
private

ID of the ladder inside the layer.

Definition at line 215 of file GeoVXDComponents.h.

◆ m_radius

double m_radius
private

Radius where to place the ladder.

Definition at line 219 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 229 of file GeoVXDComponents.h.

◆ m_shift

double m_shift
private

Shift of the ladder along local u.

Definition at line 217 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 221 of file GeoVXDComponents.h.

◆ m_slantedRadius

double m_slantedRadius
private

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

Definition at line 223 of file GeoVXDComponents.h.


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