|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef STgcClusterBuilderCommon_h
6 #define STgcClusterBuilderCommon_h
21 class MuonDetectorManager;
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,
58 const double positionResolution,
59 const double angularResolution,
Ensure that the Athena extensions are properly loaded.
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...
const NswErrorCalibData & m_errorCalibData
This class provides conversion from CSC RDO data to CSC Digits.
double resolution[nGasTypes][nParametersResolution]
Class to provide easy MsgStream access and capabilities.
std::optional< STgcClusterPosition > weightedAverage(const std::vector< sTgcPrepData > &cluster, const double resolution, bool isStrip) const
Compute the cluster position using the weighted average method.
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
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 sTgcIdHelper & m_stgcIdHelper
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...
STgcClusterBuilderCommon(const sTgcIdHelper &idHelper, const NswErrorCalibData &errorCalibData)
Constructor.