Belle II Software development
|
The Class for STR geometry. More...
#include <STRGeometryPar.h>
Public Member Functions | |
STRGeometryPar () | |
Default constructor. | |
~STRGeometryPar () | |
Destructor. | |
int | getVersion () const |
Get STR geometry version. | |
void | setVersion (int version) |
Set STR geometry version. | |
int | getNLayers (int shield) const |
Get the number of layers in the shield. | |
void | setNLayers (int shield, int nLayers) |
Set the number of layers in the shield, resize std::vectors. | |
std::string | getLayerMaterial (int shield, int layer) const |
Get the material of a layer (as a std::string) | |
void | setLayerMaterial (int shield, int layer, const std::string &material) |
Set the material of a layer (as a std::string) | |
int | getLayerNPlanes (int shield, int layer) const |
Get Number of polycone planes in each layer. | |
void | setLayerNPlanes (int shield, int layer, int nplanes) |
Set Number of polycone planes in each layer. | |
double | getLayerPlaneZ (int shield, int layer, int plane) const |
Get Z-position of one plane (w.r.t. IP) | |
const double * | getLayerPlaneZ (int shield, int layer) const |
Get Z-positions of all planes (w.r.t. IP) | |
void | setLayerPlaneZ (int shield, int layer, int plane, double z) |
Set Z-position of each plane (w.r.t. IP) | |
double | getLayerPlaneInnerRadius (int shield, int layer, int plane) const |
Get Inner radius of one plane. | |
const double * | getLayerPlaneInnerRadius (int shield, int layer) const |
Get Inner radius of all planes. | |
void | setLayerPlaneInnerRadius (int shield, int layer, int plane, double r) |
Set Inner radii of the planes. | |
double | getLayerPlaneOuterRadius (int shield, int layer, int plane) const |
Get Outer radii of one planes. | |
const double * | getLayerPlaneOuterRadius (int shield, int layer) const |
Get Outer radii of all planes. | |
void | setLayerPlaneOuterRadius (int shield, int layer, int plane, double r) |
Set Outer radii of the planes. | |
std::string | getPoleMaterial (int pole) const |
Get the material of a layer (as a std::string) | |
void | setPoleMaterial (int pole, const std::string &material) |
Set the material of a layer (as a std::string) | |
int | getPoleNPlanes (int pole) const |
Get Number of polycone planes in each layer. | |
void | setPoleNPlanes (int pole, int nplanes) |
Set Number of polycone planes in each layer. | |
double | getPolePlaneZ (int pole, int plane) const |
Get Z-position of one plane (w.r.t. IP) | |
const double * | getPolePlaneZ (int pole) const |
Get Z-positions of all planes (w.r.t. IP) | |
void | setPolePlaneZ (int pole, int plane, double z) |
Set Z-position of each plane (w.r.t. IP) | |
double | getPolePlaneInnerRadius (int pole, int plane) const |
Get Inner radius of one plane. | |
const double * | getPolePlaneInnerRadius (int pole) const |
Get Inner radius of all planes. | |
void | setPolePlaneInnerRadius (int pole, int plane, double r) |
Set Inner radii of the planes. | |
double | getPolePlaneOuterRadius (int pole, int plane) const |
Get Outer radii of one planes. | |
const double * | getPolePlaneOuterRadius (int pole) const |
Get Outer radii of all planes. | |
void | setPolePlaneOuterRadius (int pole, int plane, double r) |
Set Outer radii of the planes. | |
Static Public Attributes | |
static const int | NECLSHIELDS = 2 |
Number of ECL shields in Belle2. | |
static const int | FWD_ECLSHIELD = 0 |
Index corresponding to the forward shield. | |
static const int | BWD_ECLSHIELD = 1 |
Index corresponding to the backward shield. | |
static const int | NPOLEPIECES = 2 |
Number of pole pieces in Belle2. | |
static const int | FWD_POLEPIECE = 0 |
Index corresponding to the forward pole piece. | |
static const int | BWD_POLEPIECE = 1 |
Index corresponding to the backward pole piece. | |
Private Member Functions | |
ClassDef (STRGeometryPar, 1) | |
ClassDef, must be the last term before the closing {}. | |
Private Attributes | |
int | m_Version |
Geometry version. | |
int | m_NLayers [NECLSHIELDS] |
Number of layers in the shield. | |
std::vector< std::string > | m_LayerMaterial [NECLSHIELDS] |
Material of each of the layers. | |
std::vector< int > | m_LayerNPlanes [NECLSHIELDS] |
Number of polycone planes in each layer. | |
std::vector< std::vector< double > > | m_LayerPlaneZ [NECLSHIELDS] |
Z-position of each plane (w.r.t. IP) | |
std::vector< std::vector< double > > | m_LayerPlaneInnerRadius [NECLSHIELDS] |
Inner radii of the planes. | |
std::vector< std::vector< double > > | m_LayerPlaneOuterRadius [NECLSHIELDS] |
Outer radii of the planes. | |
std::string | m_PoleMaterial [NPOLEPIECES] |
Material of each of the pole pieces. | |
int | m_PoleNPlanes [NPOLEPIECES] |
Number of polycone planes in each pole piece. | |
std::vector< double > | m_PolePlaneZ [NPOLEPIECES] |
Z-position of each plane (w.r.t. IP) | |
std::vector< double > | m_PolePlaneInnerRadius [NPOLEPIECES] |
Inner radii of the planes. | |
std::vector< double > | m_PolePlaneOuterRadius [NPOLEPIECES] |
Outer radii of the planes. | |
Static Private Attributes | |
static STRGeometryPar * | m_Instance |
static pointer to the singleton instance of this class | |
The Class for STR geometry.
Definition at line 25 of file STRGeometryPar.h.
STRGeometryPar | ( | ) |
Default constructor.
Definition at line 13 of file STRGeometryPar.cc.
~STRGeometryPar | ( | ) |
|
inline |
Get the material of a layer (as a std::string)
Definition at line 69 of file STRGeometryPar.h.
|
inline |
Get Number of polycone planes in each layer.
Definition at line 75 of file STRGeometryPar.h.
|
inline |
Get Inner radius of all planes.
Definition at line 118 of file STRGeometryPar.h.
|
inline |
Get Inner radius of one plane.
Definition at line 112 of file STRGeometryPar.h.
|
inline |
Get Outer radii of all planes.
Definition at line 136 of file STRGeometryPar.h.
|
inline |
Get Outer radii of one planes.
Definition at line 130 of file STRGeometryPar.h.
|
inline |
Get Z-positions of all planes (w.r.t. IP)
Definition at line 98 of file STRGeometryPar.h.
|
inline |
Get Z-position of one plane (w.r.t. IP)
Definition at line 92 of file STRGeometryPar.h.
|
inline |
|
inline |
Get the material of a layer (as a std::string)
Definition at line 151 of file STRGeometryPar.h.
|
inline |
Get Number of polycone planes in each layer.
Definition at line 163 of file STRGeometryPar.h.
|
inline |
Get Inner radius of all planes.
Definition at line 206 of file STRGeometryPar.h.
|
inline |
Get Inner radius of one plane.
Definition at line 200 of file STRGeometryPar.h.
|
inline |
Get Outer radii of all planes.
Definition at line 224 of file STRGeometryPar.h.
|
inline |
Get Outer radii of one planes.
Definition at line 218 of file STRGeometryPar.h.
|
inline |
Get Z-positions of all planes (w.r.t. IP)
Definition at line 186 of file STRGeometryPar.h.
|
inline |
Get Z-position of one plane (w.r.t. IP)
Definition at line 180 of file STRGeometryPar.h.
|
inline |
|
inline |
Set the material of a layer (as a std::string)
Definition at line 72 of file STRGeometryPar.h.
|
inline |
Set Number of polycone planes in each layer.
Definition at line 81 of file STRGeometryPar.h.
|
inline |
Set Inner radii of the planes.
Definition at line 124 of file STRGeometryPar.h.
|
inline |
Set Outer radii of the planes.
Definition at line 142 of file STRGeometryPar.h.
|
inline |
Set Z-position of each plane (w.r.t. IP)
Definition at line 105 of file STRGeometryPar.h.
|
inline |
Set the number of layers in the shield, resize std::vectors.
Definition at line 55 of file STRGeometryPar.h.
|
inline |
Set the material of a layer (as a std::string)
Definition at line 157 of file STRGeometryPar.h.
|
inline |
Set Number of polycone planes in each layer.
Definition at line 169 of file STRGeometryPar.h.
|
inline |
Set Inner radii of the planes.
Definition at line 212 of file STRGeometryPar.h.
|
inline |
Set Outer radii of the planes.
Definition at line 230 of file STRGeometryPar.h.
|
inline |
Set Z-position of each plane (w.r.t. IP)
Definition at line 193 of file STRGeometryPar.h.
|
inline |
Set STR geometry version.
Definition at line 44 of file STRGeometryPar.h.
|
static |
Index corresponding to the backward shield.
Definition at line 248 of file STRGeometryPar.h.
|
static |
Index corresponding to the backward pole piece.
Definition at line 255 of file STRGeometryPar.h.
|
static |
Index corresponding to the forward shield.
Definition at line 246 of file STRGeometryPar.h.
|
static |
Index corresponding to the forward pole piece.
Definition at line 253 of file STRGeometryPar.h.
|
staticprivate |
static pointer to the singleton instance of this class
Definition at line 263 of file STRGeometryPar.h.
|
private |
Material of each of the layers.
Definition at line 283 of file STRGeometryPar.h.
|
private |
Number of polycone planes in each layer.
Definition at line 286 of file STRGeometryPar.h.
|
private |
Inner radii of the planes.
Definition at line 292 of file STRGeometryPar.h.
|
private |
Outer radii of the planes.
Definition at line 295 of file STRGeometryPar.h.
|
private |
Z-position of each plane (w.r.t. IP)
Definition at line 289 of file STRGeometryPar.h.
|
private |
Number of layers in the shield.
Definition at line 280 of file STRGeometryPar.h.
|
private |
Material of each of the pole pieces.
Definition at line 303 of file STRGeometryPar.h.
|
private |
Number of polycone planes in each pole piece.
Definition at line 306 of file STRGeometryPar.h.
|
private |
Inner radii of the planes.
Definition at line 312 of file STRGeometryPar.h.
|
private |
Outer radii of the planes.
Definition at line 315 of file STRGeometryPar.h.
|
private |
Z-position of each plane (w.r.t. IP)
Definition at line 309 of file STRGeometryPar.h.
|
private |
Geometry version.
Definition at line 273 of file STRGeometryPar.h.
|
static |
Number of ECL shields in Belle2.
Definition at line 244 of file STRGeometryPar.h.
|
static |
Number of pole pieces in Belle2.
Definition at line 251 of file STRGeometryPar.h.