The Class for STR geometry.
std::string getLayerMaterial(int shield, int layer) const
Get the material of a layer (as a std::string)
void setPolePlaneZ(int pole, int plane, double z)
Set Z-position of each plane (w.r.t. IP)
static const int NPOLEPIECES
Number of pole pieces in Belle2.
double getLayerPlaneZ(int shield, int layer, int plane) const
Get Z-position of one plane (w.r.t. IP)
int m_PoleNPlanes[NPOLEPIECES]
Number of polycone planes in each pole piece.
void setPoleNPlanes(int pole, int nplanes)
Set Number of polycone planes in each layer.
const double * getLayerPlaneOuterRadius(int shield, int layer) const
Get Outer radii of all planes.
STRGeometryPar()
Default constructor.
void setPolePlaneInnerRadius(int pole, int plane, double r)
Set Inner radii of the planes.
int m_NLayers[NECLSHIELDS]
Number of layers in the shield.
void setLayerPlaneOuterRadius(int shield, int layer, int plane, double r)
Set Outer radii of the planes.
void setPolePlaneOuterRadius(int pole, int plane, double r)
Set Outer radii of the planes.
std::vector< int > m_LayerNPlanes[NECLSHIELDS]
Number of polycone planes in each layer.
const double * getPolePlaneInnerRadius(int pole) const
Get Inner radius of all planes.
static const int NECLSHIELDS
Number of ECL shields in Belle2.
std::string m_PoleMaterial[NPOLEPIECES]
Material of each of the pole pieces.
const double * getPolePlaneZ(int pole) const
Get Z-positions of all planes (w.r.t. IP)
void setLayerPlaneInnerRadius(int shield, int layer, int plane, double r)
Set Inner radii of the planes.
int m_Version
Geometry version.
static const int BWD_ECLSHIELD
Index corresponding to the backward shield.
double getPolePlaneZ(int pole, int plane) const
Get Z-position of one plane (w.r.t. IP)
void setLayerMaterial(int shield, int layer, const std::string &material)
Set 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)
std::vector< std::vector< double > > m_LayerPlaneInnerRadius[NECLSHIELDS]
Inner radii of the planes.
int getPoleNPlanes(int pole) const
Get Number of polycone planes in each layer.
static const int BWD_POLEPIECE
Index corresponding to the backward pole piece.
std::vector< double > m_PolePlaneOuterRadius[NPOLEPIECES]
Outer radii of the planes.
const double * getLayerPlaneInnerRadius(int shield, int layer) const
Get Inner radius of all planes.
void setVersion(int version)
Set STR geometry version.
int getLayerNPlanes(int shield, int layer) const
Get Number of polycone planes in each layer.
void setLayerPlaneZ(int shield, int layer, int plane, double z)
Set Z-position of each plane (w.r.t. IP)
static const int FWD_POLEPIECE
Index corresponding to the forward pole piece.
int getNLayers(int shield) const
Get the number of layers in the shield.
void setLayerNPlanes(int shield, int layer, int nplanes)
Set Number of polycone planes in each layer.
std::vector< std::vector< double > > m_LayerPlaneZ[NECLSHIELDS]
Z-position of each plane (w.r.t. IP)
ClassDef(STRGeometryPar, 1)
ClassDef, must be the last term before the closing {}.
std::vector< double > m_PolePlaneInnerRadius[NPOLEPIECES]
Inner radii of the planes.
static const int FWD_ECLSHIELD
Index corresponding to the forward shield.
std::string getPoleMaterial(int pole) const
Get the material of a layer (as a std::string)
std::vector< std::string > m_LayerMaterial[NECLSHIELDS]
Material of each of the layers.
void setNLayers(int shield, int nLayers)
Set the number of layers in the shield, resize std::vectors.
std::vector< double > m_PolePlaneZ[NPOLEPIECES]
Z-position of each plane (w.r.t. IP)
std::vector< std::vector< double > > m_LayerPlaneOuterRadius[NECLSHIELDS]
Outer radii of the planes.
int getVersion() const
Get STR geometry version.
static STRGeometryPar * m_Instance
static pointer to the singleton instance of this class
double getLayerPlaneInnerRadius(int shield, int layer, int plane) const
Get Inner radius of one plane.
const double * getLayerPlaneZ(int shield, int layer) const
Get Z-positions of all planes (w.r.t. IP)
const double * getPolePlaneOuterRadius(int pole) const
Get Outer radii of all planes.
double getPolePlaneInnerRadius(int pole, int plane) const
Get Inner radius of one plane.
double getLayerPlaneOuterRadius(int shield, int layer, int plane) const
Get Outer radii of one planes.
~STRGeometryPar()
Destructor.
double getPolePlaneOuterRadius(int pole, int plane) const
Get Outer radii of one planes.
Abstract base class for different kinds of events.