10#include <arich/dbobjects/ARICHGeoMerger.h>
11#include <framework/logging/Logger.h>
30 <<
"merger PCB lenght : " <<
getSizeL() << endl
31 <<
"merger PCB width : " <<
getSizeW() << endl
46 cout << setw(20) <<
"#"
47 << setw(20) <<
"mergerSlotID"
48 << setw(20) <<
"mergerPosR"
49 << setw(20) <<
"mergerAngle"
50 << setw(20) <<
"mergerOrientation"
51 << setw(20) <<
"mergerDeltaZ" << endl;
77 B2ASSERT(
"Data of the merger board positions is inconsisten : getEnvelopeThickness() <= getThickness() ",
79 B2ASSERT(
"Data of the merger board positions is inconsisten : m_mergerSlotID.size() != m_mergerPosR.size()",
81 B2ASSERT(
"Data of the merger board positions is inconsisten : m_mergerSlotID.size() != m_mergerAngle.size()",
83 B2ASSERT(
"Data of the merger board positions is inconsisten : m_mergerSlotID.size() != m_singlemergerenvelopeDeltaZ.size()",
virtual void print(const std::string &title) const
Print the content of the class.
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.
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...
double getMergerPCBscrewholePosdX1() const
Returns merger PCB screw hole position from the bottom edge.
double getEnvelopeOuterRadius() const
Returns Outer radius of 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 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.
ROOT::Math::XYZVector getEnvelopeCenterPosition() const
Returns position vector (ROOT::Math::XYZVector) of merger PCB assembly envelope.
const std::vector< double > & getMergerOrientation() const
Returns vector of merger boarts orientations in deg.
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.
double getEnvelopeInnerRadius() const
Returns Inner radius of merger PCB assembly envelope.
std::vector< double > m_singlemergerenvelopeDeltaZ
Z position of the single merger and merger cooling body envelope inside global merger envelope in mm.
double getSingleMergerEnvelopeSizeL() const
Returns single merger PCB and merger cooling envelop length.
double getSizeL() const
Returns merger PCB lenght.
double getEnvelopeThickness() const
Returns Thickness of merger PCB assembly envelope.
double getMergerPCBscrewholePosdY() const
Returns merger PCB screw hole position from the left and right sides.
Abstract base class for different kinds of events.