Belle II Software  release-08-01-10
STRGeometryPar Class Reference

The Class for STR geometry. More...

#include <STRGeometryPar.h>

Inheritance diagram for STRGeometryPar:
Collaboration diagram for STRGeometryPar:

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 STRGeometryParm_Instance
 static pointer to the singleton instance of this class
 

Detailed Description

The Class for STR geometry.

Definition at line 25 of file STRGeometryPar.h.


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