ATLAS Offline Software
IOnBoundStateCalibratorTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3  */
4 #ifndef ACTSTOOLINTERFACES_IONBOUNDSTATECALIBRATORTOOL_H
5 #define ACTSTOOLINTERFACES_IONBOUNDSTATECALIBRATORTOOL_H
6 
7 #include <GaudiKernel/IAlgTool.h>
8 
9 #include "Acts/Geometry/GeometryContext.hpp"
10 #include "Acts/Utilities/CalibrationContext.hpp"
11 #include "Acts/EventData/TrackParameters.hpp"
12 
15 
16 namespace ActsTrk {
17 
18 class IOnBoundStateCalibratorTool : virtual public IAlgTool {
19 public:
21 
24  // @TODO should pass through bound state
25  using PixelCalibrator = Acts::Delegate<
26  std::pair<PixelPos, PixelCov>(const Acts::GeometryContext&,
27  const Acts::CalibrationContext&,
28  const xAOD::PixelCluster &,
29  const Acts::BoundTrackParameters &)>;
30 
33  using StripCalibrator = Acts::Delegate<
34  std::pair<StripPos, StripCov>(const Acts::GeometryContext&,
35  const Acts::CalibrationContext&,
36  const xAOD::StripCluster &,
37  const Acts::BoundTrackParameters &)>;
40  virtual void connectPixelCalibrator([[maybe_unused]] PixelCalibrator &calibrator) const {}
41  virtual void connectStripCalibrator([[maybe_unused]] StripCalibrator &calibrator) const {}
42 
43  virtual bool calibrateAfterMeasurementSelection() const =0;
44 };
45 
46 } // namespace ActsTrk
47 
48 #endif
ActsTrk::IOnBoundStateCalibratorTool
Definition: IOnBoundStateCalibratorTool.h:18
ActsTrk::IOnBoundStateCalibratorTool::pixel_calibrator
PixelCalibrator pixel_calibrator
Definition: IOnBoundStateCalibratorTool.h:38
ActsTrk::IOnBoundStateCalibratorTool::StripPos
xAOD::MeasVector< 1 > StripPos
Definition: IOnBoundStateCalibratorTool.h:31
ActsTrk::IOnBoundStateCalibratorTool::StripCalibrator
Acts::Delegate< std::pair< StripPos, StripCov >(const Acts::GeometryContext &, const Acts::CalibrationContext &, const xAOD::StripCluster &, const Acts::BoundTrackParameters &)> StripCalibrator
Definition: IOnBoundStateCalibratorTool.h:37
ActsTrk::IOnBoundStateCalibratorTool::PixelCalibrator
Acts::Delegate< std::pair< PixelPos, PixelCov >(const Acts::GeometryContext &, const Acts::CalibrationContext &, const xAOD::PixelCluster &, const Acts::BoundTrackParameters &)> PixelCalibrator
Definition: IOnBoundStateCalibratorTool.h:29
ActsTrk::IOnBoundStateCalibratorTool::connectStripCalibrator
virtual void connectStripCalibrator([[maybe_unused]] StripCalibrator &calibrator) const
Definition: IOnBoundStateCalibratorTool.h:41
ActsTrk::IOnBoundStateCalibratorTool::DeclareInterfaceID
DeclareInterfaceID(IOnBoundStateCalibratorTool, 1, 0)
PixelClusterContainer.h
xAOD::StripCluster_v1
Definition: StripCluster_v1.h:17
ActsTrk::IOnBoundStateCalibratorTool::connectPixelCalibrator
virtual void connectPixelCalibrator([[maybe_unused]] PixelCalibrator &calibrator) const
Definition: IOnBoundStateCalibratorTool.h:40
xAOD::MeasVector
Eigen::Matrix< float, N, 1 > MeasVector
Abrivation of the Matrix & Covariance definitions.
Definition: MeasurementDefs.h:52
ActsTrk::IOnBoundStateCalibratorTool::PixelPos
xAOD::MeasVector< 2 > PixelPos
Definition: IOnBoundStateCalibratorTool.h:22
xAOD::PixelCluster_v1
Definition: PixelCluster_v1.h:17
StripClusterContainer.h
ActsTrk::IOnBoundStateCalibratorTool::StripCov
xAOD::MeasMatrix< 1 > StripCov
Definition: IOnBoundStateCalibratorTool.h:32
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition: MuonDetectorBuilderTool.cxx:34
ActsTrk::IOnBoundStateCalibratorTool::calibrateAfterMeasurementSelection
virtual bool calibrateAfterMeasurementSelection() const =0
xAOD::MeasMatrix
Eigen::Matrix< float, N, N > MeasMatrix
Definition: MeasurementDefs.h:54
ActsTrk::IOnBoundStateCalibratorTool::PixelCov
xAOD::MeasMatrix< 2 > PixelCov
Definition: IOnBoundStateCalibratorTool.h:23
ActsTrk::IOnBoundStateCalibratorTool::strip_calibrator
StripCalibrator strip_calibrator
Definition: IOnBoundStateCalibratorTool.h:39