11#include <arich/dbobjects/ARICHGeoBase.h>
15#include <Math/Vector3D.h>
296 void print(
const std::string& title =
"Merger PCB geometry parameters")
const;
Base class for geometry parameters.
Geometry parameters of Merger PCB.
void setMergerPCBWidth(double sizeW)
Set merger PCB width.
void setMergerAngle(const std::vector< double > &mergerAngle)
Set vector of merger boarts azimuthal angles in polar coordinate system in deg.
void setEnvelopeCenterPosition(double x0, double y0, double z0)
Set position of merger PCB assembly envelope.
void setSingleMergerenvelopeDeltaZ(const std::vector< double > &singlemergerenvelopeDeltaZ)
Set vector of Z position of the single merger and merger cooling body envelope inside global merger e...
void setMergerPCBscrewholePosdX2(double screwholePosdX2)
Set merger PCB screw hole position from the top edge.
double m_envelopeOuterRadius
Outer radius of merger PCB assembly envelope.
const std::vector< double > & getSingleMergerenvelopeDeltaZ() const
Returns vector of Z position of the single merger and merger cooling body envelope inside global merg...
std::vector< double > m_mergerSlotID
Merger slot number.
ARICHGeoMerger()
Default constructor.
double getMergerPCBscrewholeR() const
Returns merger PCB screw hole radius.
std::vector< double > m_mergerPosR
Distance from the center in mm.
double getSingleMergerEnvelopeThickness() const
Returns single merger PCB and merger cooling envelop thickness.
double getSizeW() const
Returns merger PCB width.
void checkMergerPositionsDataConsistency() const
Check data consistency of the merger positions In case of failure print the basf2 ERROR message using...
void setSingleMergerEnvelopeThickness(double thickness)
Set single merger PCB and merger cooling envelop thickness.
double m_sizeW
Size of merger PCB : width.
void setMergerPCBLenght(double sizeL)
Set merger PCB lenght.
double m_singlemergerenvelopeSizeW
Size of single merger PCB and merger cooling envelop : width.
double m_mergerPCBscrewholePosdY
Merger PCB screw hole position from the left and right sides.
double m_singlemergerenvelopeSizeL
Size of single merger PCB and merger cooling envelop : length.
std::string m_mergerPCBMaterialName
Material of merger PCB.
double getMergerPCBscrewholePosdX1() const
Returns merger PCB screw hole position from the bottom edge.
void setMergerPCBMaterialName(const std::string &materialName)
Set merger PCB material name.
void setMergerPosR(const std::vector< double > &mergerPosR)
Set vector of merger boards distances from the center in mm.
double getEnvelopeOuterRadius() const
Returns Outer radius of merger PCB assembly envelope.
double m_envelopeZ0
Z0 merger PCB assembly envelope.
void setSingleMergerEnvelopeSizeL(double sizeL)
Set single merger PCB and merger cooling envelop length.
double m_envelopeX0
X0 merger PCB assembly envelope.
const std::vector< double > & getMergerSlotID() const
Returns vector of merger boards slot numbers.
double getMergerPCBscrewholePosdX2() const
Returns merger PCB screw hole position from the top edge.
void setMergerPCBscrewholeR(double screwholeR)
Set merger PCB screw hole radius.
double m_envelopePosX0
Position of the merger inside the envelope.
double m_sizeL
Size of merger PCB : length.
void setEnvelopeOuterRadius(double envelopeOuterRadius)
Set outer radius of merger PCB assembly envelope.
double m_envelopeThickness
Thickness of merger PCB assembly envelope.
double m_thickness
Thickenss of merger PCB.
double m_mergerPCBscrewholePosdX2
Merger PCB screw hole position from the top edge.
void print(const std::string &title="Merger PCB geometry parameters") const
Print the content of the class.
const std::vector< double > & getMergerAngle() const
Returns vector of merger boarts azimuthal angles in polar coordinate system in deg.
double getThickness() const
Returns merger PCB thickness.
ROOT::Math::XYZVector getSingleMergeEnvelopePosition() const
Returns position vector (ROOT::Math::XYZVector) of merger PCB inside the single merger envelope.
std::vector< double > m_mergerAngle
Azimuthal angle of the merger PCB center in polar coordinate system in deg.
void setMergerSlotID(const std::vector< double > &mergerSlotID)
Set vector of merger boards slot numbers.
ClassDef(ARICHGeoMerger, 2)
ClassDef.
double m_envelopePosZ0
Position of the merger inside the envelope.
void setMergerPCBThickness(double thickness)
Set merger PCB thickness.
ROOT::Math::XYZVector getEnvelopeCenterPosition() const
Returns position vector (ROOT::Math::XYZVector) of merger PCB assembly envelope.
double m_envelopePosY0
Position of the merger inside the envelope.
const std::vector< double > & getMergerOrientation() const
Returns vector of merger boarts orientations in deg.
void setMergerOrientation(const std::vector< double > &mergerOrientation)
Set vector of merger boarts orientations.
double m_envelopeY0
Y0 merger PCB assembly envelope.
const std::vector< double > & getMergerPosR() const
Returns vector of merger boards distances from the center in mm.
const std::string & getMergerPCBMaterialName() const
Returns merger PCB material name.
double getSingleMergerEnvelopeSizeW() const
Returns single merger PCB and merger cooling envelop width.
void setSingleMergeEnvelopePosition(double x0, double y0, double z0)
Set position of merger PCB inside the single merger envelope.
double m_singlemergerenvelopeThickness
Thickenss of single merger PCB and merger cooling envelop.
double getEnvelopeInnerRadius() const
Returns Inner radius of merger PCB assembly envelope.
void setEnvelopeThickness(double envelopeThickness)
Set thickness of merger PCB assembly envelope.
void setSingleMergerEnvelopeSizeW(double sizeW)
Set single merger PCB and merger cooling envelop width.
std::vector< double > m_singlemergerenvelopeDeltaZ
Z position of the single merger and merger cooling body envelope inside global merger envelope in mm.
std::vector< double > m_mergerOrientation
Orientation of the merger board in deg.
double getSingleMergerEnvelopeSizeL() const
Returns single merger PCB and merger cooling envelop length.
void setMergerPCBscrewholePosdY(double screwholePosdY)
Set merger PCB screw hole position from the left and right sides.
double getSizeL() const
Returns merger PCB lenght.
double m_mergerPCBscrewholePosdX1
Merger PCB screw hole position from the bottom edge.
double getEnvelopeThickness() const
Returns Thickness of merger PCB assembly envelope.
double m_mergerPCBscrewholeR
Merger PCB screw hole radius.
void setEnvelopeInnerRadius(double envelopeInnerRadius)
Set inner radius of merger PCB assembly envelope.
double getMergerPCBscrewholePosdY() const
Returns merger PCB screw hole position from the left and right sides.
void setMergerPCBscrewholePosdX1(double screwholePosdX1)
Set merger PCB screw hole position from the bottom edge.
double m_envelopeInnerRadius
Inner radius of merger PCB assembly envelope.
Abstract base class for different kinds of events.