 |
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef MUONSPACEPOINTCALIBRATOR_SPACEPOINTCALIBRATOR_H
5 #define MUONSPACEPOINTCALIBRATOR_SPACEPOINTCALIBRATOR_H
20 #include "GaudiKernel/PhysicalConstants.h"
34 using base_class::base_class;
42 const double timeDelay)
const override final;
48 const double timeDelay)
const override final;
55 const double timeDelay)
const override final;
60 const double timeDelay,
74 const Acts::CalibrationContext& cctx,
75 const Acts::SourceLink& link,
76 ActsTrk::MutableTrackContainer::TrackStateProxy state)
const override final;
90 ActsTrk::MutableTrackContainer::TrackStateProxy state)
const;
100 std::pair<double, double>
calibrateMM(
const EventContext& ctx,
116 std::pair<double, double>
calibratesTGC(
const EventContext& ctx,
119 std::optional<double> posAlongTheStrip,
143 "Propagation speed of the signal inside the rpc strip"};
146 "Estimated time resolution of the strip readout"};
152 "Load the Tgc BC-ID on the track states for the fit"};
154 "Load the sTgc time on the track states for the fit"};
156 "Mdt drift signs are copied from the segment line instead from the track state"};
double driftVelocity(const Acts::CalibrationContext &ctx, const CalibratedSpacePoint &spacePoint) const override final
void stampSignsOnMeasurements(const xAOD::MuonSegment &segment) const override final
Gaudi::Property< bool > m_MdtSignFromSegment
Class describing a MuonSegment.
SG::ReadHandleKey< ActsTrk::GeometryContext > m_geoCtxKey
access to the ACTS geometry context
Gaudi::Property< double > m_muonPropSpeed
Assumed propagation velocity of the muon through the detector.
ISpacePointCalibrator::CalibSpacePointVec CalibSpacePointVec
Gaudi::Property< double > m_rpcSignalVelocity
How fast does an electron signal travel along an rpc strip
std::pair< double, double > calibratesTGC(const EventContext &ctx, const ActsTrk::GeometryContext &gctx, const xAOD::sTgcStripCluster &cluster, std::optional< double > posAlongTheStrip, const Amg::Vector3D &globalPos, const Amg::Vector3D &globalDir) const
Calibrates the position and covariance of an sTGC (small-strip Thin Gap Chamber) cluster.
Gaudi::Property< bool > m_useRpcTime
Load the Rpc time on the track states for the track fit.
Gaudi::Property< bool > m_useTgcTime
Load the Tgc bunch crossing ID on the track states.
std::pair< double, double > calibrateMM(const EventContext &ctx, const ActsTrk::GeometryContext &gctx, const xAOD::MMCluster &cluster, const Amg::Vector3D &globalPos, const Amg::Vector3D &globalDir) const
Calibrates the position and covariance of a MicroMegas (MM) cluster.
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
ToolHandle< Muon::INSWCalibTool > m_nswCalibTool
::StatusCode StatusCode
StatusCode definition for legacy code.
void calibrateSourceLink(const Acts::GeometryContext &geoctx, const Acts::CalibrationContext &cctx, const Acts::SourceLink &link, ActsTrk::MutableTrackContainer::TrackStateProxy state) const override final
void updateSigns(const Amg::Vector3D &trackPos, const Amg::Vector3D &trackDir, CalibSpacePointVec &hitsToCalib) const override final
ToolHandle< Muon::IMMClusterBuilderTool > m_clusterBuilderToolMM
Base class providing the boiler code to fill the Acts multi trajectory track states.
The muon space point is the combination of two uncalibrated measurements one of them measures the eta...
Gaudi::Property< bool > m_usesTgcTime
Eigen::Matrix< double, 3, 1 > Vector3D
double driftAcceleration(const Acts::CalibrationContext &ctx, const CalibratedSpacePoint &spacePoint) const override final
ToolHandle< IMdtCalibrationTool > m_mdtCalibrationTool
This header ties the generic definitions in this package.
CalibSpacePointPtr calibrate(const EventContext &ctx, const SpacePoint *spacePoint, const Amg::Vector3D &seedPosInChamb, const Amg::Vector3D &seedDirInChamb, const double timeDelay) const override final
ISpacePointCalibrator::CalibSpacePointPtr CalibSpacePointPtr
The Acts fitters running on the Uncalibrated measurements are uncapable of producing two track states...
Gaudi::Property< double > m_rpcTimeResolution
The calibrated Space point is created during the calibration process.
const MuonGMR4::MuonDetectorManager * m_detMgr
void calibrateCombinedPrd(const EventContext &ctx, const ActsTrk::GeometryContext &gctx, const xAOD::CombinedMuonStrip *combinedPrd, ActsTrk::MutableTrackContainer::TrackStateProxy state) const
Calibrates the track states from a combined muon strip.
StatusCode initialize() override final