10 #include <klm/bklm/geometry/GeometryPar.h>
13 #include <klm/dataobjects/bklm/BKLMElementNumbers.h>
14 #include <klm/dataobjects/KLMChannelIndex.h>
15 #include <klm/dbobjects/bklm/BKLMAlignment.h>
18 #include <framework/gearbox/GearDir.h>
19 #include <framework/logging/Logger.h>
20 #include <framework/database/DBObjPtr.h>
21 #include <simulation/background/BkgSensitiveDetector.h>
24 using namespace Belle2::bklm;
32 B2FATAL(
"instance() called without initialization");
50 GeometryPar::GeometryPar(
const GearDir& content) :
51 m_DoBeamBackgroundStudy(false),
52 m_BkgSensitiveDetector(nullptr),
62 m_DoBeamBackgroundStudy(false),
63 m_BkgSensitiveDetector(nullptr),
79 for (std::map<int, Module*>::iterator m =
m_Modules.begin(); m !=
m_Modules.end(); ++m) {
delete m->second; }
94 m_Phi = content.getLength(
"Phi");
95 m_NSector = content.getNumberNodes(
"Sectors/Forward/Sector");
97 B2FATAL(
"BKLM GeometryPar::read(): sector array size exceeded:"
104 m_NLayer = content.getNumberNodes(
"Layers/Layer");
106 B2FATAL(
"BKLM GeometryPar::read(): layer array size exceeded:"
116 m_Gap1IronWidth = content.getLength(
"Layers/Layer[@layer=\"1\"]/GapIronWidth");
118 m_GapLength = content.getLength(
"Layers/GapLength");
120 m_NZStrips = content.getInt(
"Layers/NZStrips");
122 m_NZScints = content.getInt(
"Layers/NZScintillators");
125 B2FATAL(
"BKLM GeometryPar::read(): z-scint array size exceeded:"
127 <<
LogVar(
"array size", NZSCINT));
130 B2FATAL(
"BKLM GeometryPar::read(): chimney sector z-scint array size exceeded:"
132 <<
LogVar(
"array size", NZSCINT));
148 m_ScintWidth = content.getLength(
"Module/Scintillator/Width");
149 m_ScintHeight = content.getLength(
"Module/Scintillator/Height");
186 B2FATAL(
"BKLM GeometryPar::read(): readout stations array size exceeded:"
188 <<
LogVar(
"array size", NSTATION));
191 sprintf(name,
"/Readout/Stations/Station[@station=\"%d\"]", station);
192 GearDir stationContent = content;
193 stationContent.
append(name);
213 m_MPPCLength = content.getLength(
"Readout/MPPC/Sensor/Length");
214 m_MPPCWidth = content.getLength(
"Readout/MPPC/Sensor/Width");
215 m_MPPCHeight = content.getLength(
"Readout/MPPC/Sensor/Height");
217 for (
int layer = 1; layer <=
m_NLayer; ++layer) {
218 sprintf(name,
"/Layers/Layer[@layer=\"%d\"]", layer);
219 GearDir layerContent = content;
220 layerContent.
append(name);
228 B2FATAL(
"BKLM GeometryPar::read(): phi-scint array size exceeded:"
229 <<
LogVar(
"in zero-based layer", layer - 1)
231 <<
LogVar(
"array size", NPHISCINT));
233 for (
int scint = 1; scint <=
m_NZScints; ++scint) {
234 sprintf(name,
"/ZScintillators/Scint[@scint=\"%d\"]", scint);
235 GearDir scintContent(layerContent);
236 scintContent.
append(name);
243 for (
int sector = 1; sector <=
m_NSector; ++sector) {
244 sprintf(name,
"/Sectors/%s/Sector[@sector=\"%d\"]", (isForward ?
"Forward" :
"Backward"), sector);
245 GearDir sectorContent(content);
246 sectorContent.
append(name);
248 for (
int layer = 1; layer <=
m_NLayer; ++layer) {
249 GearDir layerContent(sectorContent);
250 sprintf(name,
"/Layer[@layer=\"%d\"]", layer);
251 layerContent.
append(name);
268 m_Phi = element.getPhi();
352 for (
int preamp = 1; preamp <= element.getNReadoutPreamplifierPosition(); ++preamp) {
366 for (
int layer = 1; layer <=
m_NLayer; ++layer) {
367 m_HasRPCs[layer - 1] = element.hasRPCs(layer);
373 for (
int scint = 1; scint <=
m_NZScints; ++scint) {
379 for (
int sector = 1; sector <=
m_NSector; ++sector) {
380 m_SectorRotation[section][sector - 1] = element.getSectorRotation(section, sector);
381 for (
int layer = 1; layer <=
m_NLayer; ++layer) {
385 m_IsFlipped[section][sector - 1][layer - 1] =
false;
386 if (layer <= NSCINTLAYER) {
387 m_IsFlipped[section][sector - 1][layer - 1] = element.isFlipped(section, sector, layer);
400 B2INFO(
"BKLM::GeometryPar: DoBeamBackgroundStudy is enabled");
403 B2DEBUG(20,
"BKLM::GeometryPar: DoBeamBackgroundStudy is disabled");
420 for (
int sector = 1; sector <=
m_NSector; ++sector) {
424 CLHEP::HepRotation rotation;
426 rotation.rotateX(M_PI);
428 for (
int layer = 1; layer <=
m_NLayer; ++layer) {
429 bool isFlipped =
m_IsFlipped[section][sector - 1][layer - 1];
435 CLHEP::Hep3Vector localOrigin(dx, 0.0, dz);
437 section, sector, layer);
441 (layer == 1 ? 2 : 1),
445 CLHEP::Hep3Vector(0.0, 0.0,
m_OffsetZ) + rotation(localOrigin),
446 localReconstructionShift,
451 m_Modules.insert(std::pair<int, Module*>(moduleID, pModule));
454 localOrigin.setY(dy);
459 CLHEP::Hep3Vector(0.0, 0.0,
m_OffsetZ) + rotation(localOrigin),
460 localReconstructionShift,
466 m_Modules.insert(std::pair<int, Module*>(moduleID, pModule));
468 for (
int scint = 1; scint <=
m_NPhiScints[layer - 1]; ++scint) {
479 for (
int scint = 1; scint <= nZScints; ++scint) {
527 return CLHEP::Hep3Vector(dx, r * tan(M_PI /
m_NSector) - ds, dz);
590 if ((layer <= 0) || (layer >
m_NLayer))
625 }
else if (s1 > s2) {
641 CLHEP::Hep3Vector airHalfSize =
getAirHalfSize(layer, hasChimney);
643 CLHEP::Hep3Vector offset((airHalfSize.x() - envelopeHalfSize.x()),
644 (airHalfSize.y() - envelopeHalfSize.y()),
645 -(airHalfSize.z() - envelopeHalfSize.z()));
665 CLHEP::Hep3Vector size;
684 return (bracket == 1 ? 0.0 : -z);
722 if ((layer <= 0) || (layer >
m_NLayer))
730 map<int, Module*>::const_iterator iM =
m_Modules.find(moduleID);
731 return (iM ==
m_Modules.end() ?
nullptr : iM->second);
737 map<int, HepGeom::Transform3D>::const_iterator iA =
m_Alignments.find(moduleID);
738 return (iA ==
m_Alignments.end() ? HepGeom::Transform3D() : iA->second);
744 map<int, HepGeom::Transform3D>::const_iterator iDis =
m_Displacements.find(moduleID);
745 return (iDis ==
m_Displacements.end() ? HepGeom::Transform3D() : iDis->second);
751 if (!bklmAlignment.isValid())
752 B2FATAL(
"No BKLM alignment data.");
755 bklmModule != bklmModules.
endBKLM(); ++bklmModule) {
758 bklmAlignment->getModuleAlignment(module);
759 if (alignmentData ==
nullptr)
760 B2FATAL(
"Incomplete BKLM alignment data.");
761 HepGeom::Transform3D alignment;
763 alignmentData->getDeltaU(),
764 alignmentData->getDeltaV(),
765 alignmentData->getDeltaW(),
766 alignmentData->getDeltaAlpha(),
767 alignmentData->getDeltaBeta(),
768 alignmentData->getDeltaGamma());
770 bklmModule.getSection(), bklmModule.getSector(),
771 bklmModule.getLayer());
772 m_Alignments.insert(std::pair<int, HepGeom::Transform3D>(moduleID, alignment));
781 if (!bklmDisplacement.
isValid())
782 B2FATAL(
"No BKLM displaced geometry data in database!");
785 bklmModule != bklmModules.
endBKLM(); ++bklmModule) {
788 bklmDisplacement->getModuleAlignment(module);
789 if (displacementData ==
nullptr)
790 B2FATAL(
"Incomplete BKLM displacement data.");
791 HepGeom::Transform3D displacement;
800 bklmModule.getSection(), bklmModule.getSector(),
801 bklmModule.getLayer());
802 m_Displacements.insert(std::pair<int, HepGeom::Transform3D>(moduleID, displacement));
812 CLHEP::HepRotation dy = CLHEP::HepRotationY(-dAlpha);
813 CLHEP::HepRotation dz = CLHEP::HepRotationZ(-dBeta);
814 CLHEP::HepRotation dx = CLHEP::HepRotationX(-dGamma);
815 CLHEP::Hep3Vector shift(dW, dU, dV);
820 return HepGeom::Transform3D(dy * dz * dx, shift);
@ c_ChimneySector
Chimney sector: BB3 in 1-based notation; BB2 in 0-based notation.
static constexpr int getMaximalLayerNumber()
Get maximal layer number (1-based).
@ c_ForwardSection
Forward.
static constexpr int getMaximalSectorNumber()
Get maximal sector number (1-based).
static KLMModuleNumber moduleNumber(int section, int sector, int layer, bool fatalError=true)
Get module number.
static constexpr int getMaximalSectionNumber()
Get maximal section number (0-based).
The Class for BKLM geometry.
The Class for BeamBackground Sensitive Detector.
void addCallback(std::function< void(const std::string &)> callback, bool onDestruction=false)
Add a callback method.
bool isValid() const
Check whether a valid object was obtained from the database.
Class for accessing objects in the database.
GearDir is the basic class used for accessing the parameter store.
void append(const std::string &path)
Append something to the current path, modifying the GearDir in place.
float getDeltaU() const
Get shift in U.
float getDeltaV() const
Get shift in V.
float getDeltaW() const
Get shift in W.
float getDeltaGamma() const
Get rotation in alpha.
float getDeltaAlpha() const
Get rotation in alpha.
float getDeltaBeta() const
Get rotation in alpha.
KLMChannelIndex beginBKLM()
First channel for BKLM.
@ c_IndexLevelLayer
Layer.
KLMChannelIndex & endBKLM()
Last channel for BKLM.
Provides BKLM geometry parameters for simulation, reconstruction etc (from Gearbox or DataBase)
double m_LocalReconstructionShiftX[2][BKLMElementNumbers::getMaximalSectorNumber()][BKLMElementNumbers::getMaximalLayerNumber()]
Reconstruction dx in local system. displacement, not alignment.
double m_GapInnerRadius
Radius of the inner tangent circle of virtual gap 0 (assuming equal-height layers)
double m_BracketRibWidth
width of the innermost-module support plate's bracket's rib
double m_ScintWidth
width of one scintillator strip (cm), including the TiO2 coating
double m_LocalReconstructionShiftZ[2][BKLMElementNumbers::getMaximalSectorNumber()][BKLMElementNumbers::getMaximalLayerNumber()]
Reconstruction dz in local system. displacement, not alignment.
int m_NZStripsChimney
number of z-measuring cathode strips in a chimney-sector RPC module
double m_ReadoutConnectorsHeight
Height of the readout connectors pair.
~GeometryPar()
Hidden destructor.
double m_SupportPlateLengthChimney
length of the innermost-module support plate in the chimney sector
bool m_HasRPCs[BKLMElementNumbers::getMaximalLayerNumber()]
Flag to indicate whether layer contains RPCs (true) or scintillators (false)
double m_ChimneyPipeInnerRadius
inner radius of the chimney pipe
double m_BracketLength
length of the innermost-module support plate's bracket
double m_MaximalZStripLength
maximal Z strip length (for scintillators).
double m_ReadoutContainerHeight
Height of the readout station's container.
double m_ReadoutCarrierHeight
Height of the readout carrier card.
double m_ModuleLengthChimney
length along z of the module in the chimney sector
const CLHEP::Hep3Vector getReadoutContainerHalfSize(void) const
Get the size (dx,dy,dz) of the readout container.
void readDisplacedGeoFromDB()
Initialize and Updates displacements parameters from DB for geometry constructor, registers itself fo...
double m_BracketInnerRadius
inner radius of the innermost-module support plate's bracket
double m_BracketWidth
width of the innermost-module support plate's bracket
double m_BraceWidthChimney
width of the central brace in the middle of the cable-services channel in the chimney sector
int m_NPhiStrips[BKLMElementNumbers::getMaximalLayerNumber()]
Number of phi-readout RPC strips in each layer.
double m_ReadoutContainerLength
Length of the readout station's container.
double m_Gap1IronWidth
Width (at the outer radius) of the adjacent structural iron on either side of innermost gap.
double getLayerOuterRadius(int layer) const
Get the outer radius of specified layer.
const CLHEP::Hep3Vector getModuleHalfSize(int layer, bool hasChimney) const
Get the size (dx,dy,dz) of the detector module of specified layer.
double m_IronActualHeight
Actual height of a layer's stuctural iron.
double m_ZStripWidth[BKLMElementNumbers::getMaximalLayerNumber()]
Width of the z strips on each layer.
double m_ReadoutPreamplifierWidth
Width of the preamplifier card.
double m_IronNominalHeight
Nominal height of a layer's structural iron.
const HepGeom::Transform3D getModuleAlignment(int section, int sector, int layer) const
Get the alignment transformation of a module.
const CLHEP::Hep3Vector getModuleInteriorHalfSize1(int layer, bool hasChimney) const
Get the size (dx,dy,dz) of the detector module's interior volume 1.
const Module * findModule(int section, int sector, int layer) const
Get the pointer to the definition of a module.
double m_ScintHeight
height of one scintillator strip (cm), including the TiO2 coating
double m_ChimneyHousingInnerRadius
inner radius of the chimney housing
double m_ModuleFoamHeight
height of a detector module's transmission-line foam
std::map< int, Module * > m_Modules
map of <volumeIDs, pointers to defined modules>
int m_ScintEnvelopeOffsetSign[BKLMElementNumbers::getMaximalLayerNumber()]
Sign (+/-1) of scintillator-envelope's shift along y axis within its enclosing module for MPPC placem...
double m_BracketRibThickness
thickness of the innermost-module support plate's bracket's rib
double m_Gap1NominalHeight
Nominal height of the innermost gap.
int getNPhiScints(int layer) const
Get the number of phi-measuring scintillators in a scintillator module.
const CLHEP::Hep3Vector getScintEnvelopeOffset(int layer, bool hasChimney) const
Get the shift (dx,dy,dz) of the scintillator detector module's scintillator envelope within its enclo...
bool hasRPCs(int layer) const
Determine if the sensitive detectors in a given layer are RPCs (=true) or scintillators (=false)
double m_ScintFiberRadius
radius (cm) of the central WLS fiber in the scintillator strip
double m_ZScintDLength[BKLMElementNumbers::getMaximalLayerNumber()][NZSCINT]
Shortening of the nominal length of the z scintillators.
double m_MPPCLength
MPPC length.
double m_SupportPlateLength
length of the innermost-module support plate
const CLHEP::Hep3Vector getScintEnvelopeHalfSize(int layer, bool hasChimney) const
Get the size (dx,dy,dz) of the scintillator detector module's scintillator envelope.
double m_ModuleMylarHeight
height of a detector module's mylar insulation
const CLHEP::Hep3Vector getChimneyPosition(int layer) const
Get the position of the chimney hole in the specified layer.
double m_ModuleFrameThickness
thickness of a detector module's frame ("C" shape - thickness of vertical leg)
int m_NPhiScints[BKLMElementNumbers::getMaximalLayerNumber()]
Number of phi-readout scintillators in each layer.
double m_ChimneyShieldInnerRadius
inner radius of the chimney shield
std::map< int, HepGeom::Transform3D > m_Displacements
map of <volumeIDs, displacement Transform3D>
double m_Rotation
Global rotation about z of the BKLM.
int m_NReadoutStation
Number of preamplifier readout stations.
double getBracketZPosition(int, bool) const
Get the position of a layer-0 support plate's bracket.
double m_ModulePolystyreneOuterHeight
height of the outer polystyrene-filler sheet
const CLHEP::Hep3Vector getReadoutPreamplifierHalfSize(void) const
Get the size (dx,dy,dz) of the preamplifier card.
int getNZScints(bool isChimney) const
Get the number of z-measuring scintillators in a scintillator module.
double m_ChimneyLength
length along z of the chimney hole
double getPolystyreneOffsetX(void) const
Get the radial offset of the scintillator detector module's active envelope due to difference in poly...
double m_ReadoutContainerWidth
Width of the readout station's container.
double m_OffsetZ
Global offset along z of the BKLM.
double m_ModuleGasSpacerWidth
width of a detector module's spacer
double m_PhiStripWidth[BKLMElementNumbers::getMaximalLayerNumber()]
Width of the phi strips on each layer.
const CLHEP::Hep3Vector getReadoutConnectorsHalfSize(void) const
Get the size (dx,dy,dz) of the readout connectors pair.
double m_OuterRadius
Radius of the circle tangent to the sides of the outer polygon.
double m_BracketThickness
thickness of the innermost-module support plate's bracket
double m_ModuleGlassHeight
height of a detector module's glass electrode
const CLHEP::Hep3Vector getModuleInteriorHalfSize2(int layer, bool hasChimney) const
Get the size (dx,dy,dz) of the scintillator detector module's polystyrene filler.
double m_MaximalPhiStripLength
Maximal phi strip length (for scintillators).
GeometryPar(const GearDir &)
Hidden constructor.
double m_RibThickness
thickness of the radial rib that supports the solenoid / inner detectors
double m_ScintTiO2ThicknessTop
thickness (cm) of the TiO2 coating on the top (and bottom) of the scintillator strip
double m_ModuleReadoutHeight
height of a detector module's readout
const CLHEP::Hep3Vector getGapHalfSize(int layer, bool hasChimney) const
Get the size (dx,dy,dz) of the gap [=slot] of specified layer.
double m_ModuleLength
length along z of the module
double m_HalfLength
Half-length along z of the BKLM.
double m_ReadoutPreamplifierHeight
Height of the preamplifier card.
double m_ChimneyWidth
width of the chimney hole
double m_LayerHeight
Height of a layer: internal use only.
double m_ChimneyShieldOuterRadius
outer radius of the chimney shield
int m_NZScintsChimney
number of z-measuring scintillators in a chimney-sector scintillator module
double m_ReadoutConnectorsLength
Length of the readout connectors pair.
double m_SupportPlateWidth
width of the innermost-module support plate
double m_Layer1Height
Height of layer 0: internal use only.
double m_MPPCHeight
MPPC height.
std::map< int, HepGeom::Transform3D > m_Alignments
map of <volumeIDs, alignment Transform3D>
void readAlignmentFromDB()
Initialize and Updates alignment parameters from DB for reconstruction, that is for Module constructi...
int m_NZStrips
number of z-measuring cathode strips in a standard RPC module
double m_SectorRotation[2][BKLMElementNumbers::getMaximalSectorNumber()]
Global rotation angle of a sector.
double m_BracketInset
distance from support plate's end of bracket
int m_NLayer
Number of layers in one sector.
const CLHEP::Hep3Vector getSupportPlateHalfSize(bool) const
Get the size of the layer-0 support plate.
double m_GapLength
Length along z of each gap.
double m_MPPCHousingRadius
MPPC housing radius.
double m_MPPCHousingLength
MPPC housing length.
double m_CablesWidth
width of the cable-services channel at each end
double m_ScintBoreRadius
radius (cm) of the central bore in the scintillator strip
double m_ReadoutCarrierLength
Length of the readout carrier card.
double m_ReadoutConnectorsWidth
Width of the readout connectors pair.
double m_GapIronWidth
Width (at the outer radius) of the adjacent structural iron on either side of a gap.
double m_ReadoutStationPosition[NSTATION]
Position of each readout station along its relevant axis.
double m_ReadoutPreamplifierLength
Length of the preamplifier card.
double m_ModuleGasHeight
height of a detector module's gas gap
double getActiveMiddleRadius(int section, int sector, int layer) const
Get the radial midpoint of the detector module's active volume of specified layer.
double m_BraceWidth
width of the central brace in the middle of the cable-services channel
const CLHEP::Hep3Vector getChimneyHalfSize(int layer) const
Get the size of the chimney hole in the specified layer.
BkgSensitiveDetector * m_BkgSensitiveDetector
Pointer to object that creates BeamBkgHits for BKLM.
double m_ModuleFrameWidth
width of a detector module's frame ("C" shape - width of horizontal leg)
double m_MPPCWidth
MPPC width.
double m_ChimneyHousingOuterRadius
outer radius of the chimney housing
double getGapMiddleRadius(int layer) const
Get the radial midpoint of the gap of specified layer.
double m_GapNominalHeight
Nominal height of outer gaps.
double m_ReadoutConnectorsPosition
Position of the readout connectors pair along the length of the carrier card.
double m_ModulePolystyreneInnerHeight
height of the inner polystyrene-filler sheet
double m_ChimneyCoverThickness
thickness of the chimney's iron cover plate
void readFromDB(const BKLMGeometryPar &)
Get geometry parameters from Conditions Database.
void clear()
Clear all geometry parameters.
double m_Phi
Starting angle of the polygon shape.
double m_Gap1ActualHeight
Actual height of the innermost gap.
std::vector< double > m_ReadoutPreamplifierPosition
Positions of the preamplifiers along the length of the carrier card.
double m_ModuleHeight
height of a detector module
const CLHEP::Hep3Vector getReadoutCarrierHalfSize(void) const
Get the size (dx,dy,dz) of the carrier card.
void read(const GearDir &)
Get geometry parameters from Gearbox.
const CLHEP::Hep3Vector getGasHalfSize(int layer, bool hasChimney) const
Get the size (dx,dy,dz) of the detector module's gas gaps of specified layer.
double m_GapActualHeight
Actual height of outer gaps.
const CLHEP::Hep3Vector getElectrodeHalfSize(int layer, bool hasChimney) const
Get the size (dx,dy,dz) of the detector module's electrode of specified layer.
double m_LocalReconstructionShiftY[2][BKLMElementNumbers::getMaximalSectorNumber()][BKLMElementNumbers::getMaximalLayerNumber()]
Reconstruction dy in local system. displacement, not alignment.
double m_ModuleCoverHeight
height of a detector module's aluminum cover
double m_Gap1InnerRadius
Radius of the inner tangent circle of the innermost gap.
int getScintEnvelopeOffsetSign(int layer) const
Get the sign (+/-1) of scintillator-envelope's shift along y axis within its enclosing module for MPP...
double m_SolenoidOuterRadius
Outer radius of the solenoid.
double getModuleMiddleRadius(int layer) const
Get the radial midpoint of the detector module of specified layer.
int m_NSector
Number of sectors (=8 : octagonal)
bool m_DoBeamBackgroundStudy
Flag for enabling beam background study (=use bkg sensitive-detector function too)
double m_ChimneyPipeOuterRadius
outer radius of the chimney pipe
const HepGeom::Transform3D getModuleDisplacedGeo(int section, int sector, int layer) const
Get the displacement transformation of a module.
double getLayerInnerRadius(int layer) const
Get the inner radius of specified layer.
bool m_ReadoutStationIsPhi[NSTATION]
Selector for phi (true) or z (false) readout station.
double m_ReadoutCarrierWidth
Width of the readout carrier card.
double m_SupportPlateHeight
height of the innermost-module support plate
double m_ScintTiO2ThicknessSide
thickness (cm) of the TiO2 coating on the left (and right) side of the scintillator strip
double m_ModuleCopperHeight
height of a detector module's copper readout or ground plane
bool m_IsFlipped[2][BKLMElementNumbers::getMaximalSectorNumber()][BKLMElementNumbers::getMaximalLayerNumber()]
Flag to indicate whether a module is flipped (true) or not (false) by 180 degrees about the z axis.
double m_BracketCutoutDphi
angular width of the innermost-module support plate's bracket's cutout
HepGeom::Transform3D getTransformFromRigidBodyParams(double dU, double dV, double dW, double dAlpha, double dBeta, double dGamma)
Convert 6 rigid body params (alignment/displacement) to corresponding Transform3D Angles in radians,...
const CLHEP::Hep3Vector getAirHalfSize(int layer, bool hasChimney) const
Get the size (dx,dy,dz) of the scintillator detector module's air filler.
void calculate()
Calculate additional geometry parameters.
int m_NZScints
number of z-measuring scintillators in a standard scintillator module
Define the geometry of a BKLM module Each sector [octant] contains Modules.
void addZScint(int scint, double length, double offset, double position)
Add one z-measuring scintillator strip to the module.
void setDisplacedGeo(const HepGeom::Transform3D &moduleDisplacedGeo)
Set the displaced geometry Transformation.
void addPhiScint(int scint, double length, double offset, double position)
Add one phi-measuring scintillator strip to the module.
void setAlignment(const HepGeom::Transform3D &moduleAlignment)
Set the alignment Transformation.
double getAngle(const std::string &path="") const noexcept(false)
Get the parameter path as a double converted to the standard angle unit.
double getLength(const std::string &path="") const noexcept(false)
Get the parameter path as a double converted to the standard length unit.
bool getBool(const std::string &path="") const noexcept(false)
Get the parameter path as a bool.
int getInt(const std::string &path="") const noexcept(false)
Get the parameter path as a int.
Class to store variables with their name which were sent to the logging service.
uint16_t KLMModuleNumber
Module number.