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/Utilities/Delegate.hpp"
12 #include "Acts/EventData/TrackParameters.hpp"
13 
16 
17 namespace ActsTrk {
18 
19 class IOnBoundStateCalibratorTool : virtual public IAlgTool {
20 public:
22 
25  // @TODO should pass through bound state
26  using PixelCalibrator = Acts::Delegate<
27  std::pair<PixelPos, PixelCov>(const Acts::GeometryContext&,
28  const Acts::CalibrationContext&,
29  const xAOD::PixelCluster &,
30  const Acts::BoundTrackParameters &)>;
31 
34  using StripCalibrator = Acts::Delegate<
35  std::pair<StripPos, StripCov>(const Acts::GeometryContext&,
36  const Acts::CalibrationContext&,
37  const xAOD::StripCluster &,
38  const Acts::BoundTrackParameters &)>;
41  virtual void connectPixelCalibrator([[maybe_unused]] PixelCalibrator &calibrator) const {}
42  virtual void connectStripCalibrator([[maybe_unused]] StripCalibrator &calibrator) const {}
43 
44  virtual bool calibrateAfterMeasurementSelection() const =0;
45 };
46 
47 } // namespace ActsTrk
48 
49 #endif
ActsTrk::IOnBoundStateCalibratorTool
Definition: IOnBoundStateCalibratorTool.h:19
ActsTrk::IOnBoundStateCalibratorTool::StripPos
xAOD::MeasVector< 1 > StripPos
Definition: IOnBoundStateCalibratorTool.h:32
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:38
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:30
ActsTrk::IOnBoundStateCalibratorTool::connectStripCalibrator
virtual void connectStripCalibrator([[maybe_unused]] StripCalibrator &calibrator) const
Definition: IOnBoundStateCalibratorTool.h:42
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:41
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:23
xAOD::PixelCluster_v1
Definition: PixelCluster_v1.h:17
StripClusterContainer.h
ActsTrk::IOnBoundStateCalibratorTool::StripCov
xAOD::MeasMatrix< 1 > StripCov
Definition: IOnBoundStateCalibratorTool.h:33
ActsTrk::IOnBoundStateCalibratorTool::stripCalibrator
StripCalibrator stripCalibrator
Definition: IOnBoundStateCalibratorTool.h:40
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition: MuonDetectorBuilderTool.cxx:49
ActsTrk::IOnBoundStateCalibratorTool::pixelCalibrator
PixelCalibrator pixelCalibrator
Definition: IOnBoundStateCalibratorTool.h:39
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:24