5#ifndef MUONREADOUTGEOMETRY_TGCREADOUTPARAMS_H
6#define MUONREADOUTGEOMETRY_TGCREADOUTPARAMS_H
30#include <GaudiKernel/SystemOfUnits.h>
71 std::vector<StripArray>&& SLARGE,
72 std::vector<StripArray>&& SSHORT,
77 inline const std::string&
GetName()
const;
91 int nWires(
int gasGap,
int gang)
const;
constexpr std::array< T, N > make_array(const T &def_val)
Helper function to initialize in-place arrays with non-zero values.
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
int nWires(int gasGap, int gang) const
Returns the number of wires in a given gang.
double stripPositionOnLargeBase(int strip, int gasGap) const
Returns the signed distance of the i-th's strip's left edge w.r.t the center of the bottom chamber ed...
int totalWires(int gasGap) const
Returns the total number of wires in a given gang.
double stripThickness() const
double stripPositionOnShortBase(int strip, int gasGap) const
Returns the signed distance of the i-th's strip's left edge w.r.t.
GasGapIntArray m_totalWires
std::array< double, MaxNStrips > StripArray
static constexpr double m_stripThickness
std::array< int, MaxNGangs > WiregangArray
const std::string & GetName() const
std::array< std::vector< int >, MaxNGaps > m_nAccWires
Map describing the number of all wires up to gang i in gasgap j.
int nStripLayers() const
Returns the number of defined strip layers.
double wirePitch() const
Returns the wire pitch.
int nWireGangs(int gasGap) const
Returns the number of wire gangs.
TgcReadoutParams()
Default constructor used by the MuonTPCnv tests.
std::vector< StripArray > m_stripPositionCenter
The position of the strip center is defined as the intersector of the large and short edge strip posi...
std::array< std::vector< int >, MaxNGaps > m_nWires
Map of number of wires in a given wire gang & gas gap.
double physicalDistanceFromBase() const
std::vector< StripArray > m_stripPositionOnLargeBase
These 2 arrays represent the left edges of the i-th strip in a Tgc chamber The numbers are given as t...
static constexpr double m_gangThickness
double stripCenter(int strip, int gasGap) const
Returns the signed distance along the chamber edge of the strip expressed at the chamber center.
double m_physicalDistanceFromBase
std::string m_chamberName
std::array< double, MaxNGaps > GasGapFloatArray
int nSummedWires(int gasGap, int gang) const
Returns the sum of all wires from gang [1 - i)
bool invalidGasGap(int gasGap) const
std::array< int, MaxNGaps > GasGapIntArray
double nPitchesToGang(int gasGap, int gang) const
Returns the number of wire pitches that have to be travelled to reach gang i.
int nStrips(int gasGap) const
bool invalidGang(int gang) const
std::vector< StripArray > m_stripPositionOnShortBase
double gangThickness() const
Ensure that the Athena extensions are properly loaded.