5#ifndef STgcClusterBuilderCommon_h
6#define STgcClusterBuilderCommon_h
36 std::array<std::vector<sTgcPrepData>, 8>
sortSTGCPrdPerLayer(std::vector<sTgcPrepData>&& stripPrds)
const;
39 std::vector<std::vector<sTgcPrepData>>
findStripCluster(std::vector<sTgcPrepData>&& strips,
40 const int maxMissingStrip)
const;
43 std::optional<STgcClusterPosition>
weightedAverage(
const std::vector<sTgcPrepData>& cluster,
44 const double resolution,
58 const double positionResolution,
59 const double angularResolution,
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
const sTgcIdHelper & m_stgcIdHelper
std::optional< STgcClusterPosition > weightedAverage(const std::vector< sTgcPrepData > &cluster, const double resolution, bool isStrip) const
Compute the cluster position using the weighted average method.
std::array< std::vector< sTgcPrepData >, 8 > sortSTGCPrdPerLayer(std::vector< sTgcPrepData > &&stripPrds) const
Separate the sTGC PRDs by layer, from 0 to 7, and sort the PRDs per layer in ascending order of strip...
STgcClusterBuilderCommon(const sTgcIdHelper &idHelper, const NswErrorCalibData &errorCalibData)
Constructor.
std::vector< std::vector< sTgcPrepData > > findStripCluster(std::vector< sTgcPrepData > &&strips, const int maxMissingStrip) const
Find strip clusters, assuming the input vector of PRDs are sorted in ascending order of strip number.
const NswErrorCalibData & m_errorCalibData
std::optional< STgcClusterPosition > caruanaGaussianFitting(const std::vector< sTgcPrepData > &cluster, const double positionResolution, const double angularResolution, const MuonGM::MuonDetectorManager *detManager) const
Method to fit analytically a cluster to a Gaussian function to obtain the position of the cluster The...
Class to represent sTgc measurements.
Ensure that the Athena extensions are properly loaded.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.