5#ifndef ACTSTRACKRECONSTRUCTION_NNCLUSTERCALIBRATORTOOLIMPL_H
6#define ACTSTRACKRECONSTRUCTION_NNCLUSTERCALIBRATORTOOLIMPL_H
20template <
typename calib_data_t,
typename traj_t>
31template <
typename calib_data_t,
typename traj_t>
43 :
BASE(
std::move(base_options),
std::move(direct_base_options)),
52 const Acts::GeometryContext& gctx,
53 const Acts::CalibrationContext& cctx,
56 const std::pair<float, float>& angles)
const;
59 const EventContext& ctx,
63 const std::pair<float, float>& angles)
const;
68 const std::pair<float, float>& angles,
75template <
typename calib_data_t,
typename traj_t>
84 virtual std::unique_ptr<PixelOnBoundStateCalibratorBase>
create(
85 const EventContext& ctx)
const override {
95 virtual std::unique_ptr<PixelOnTrackCalibratorBase<traj_t>>
97 return std::make_unique<NNClusterCalibrator<calib_data_t, traj_t>>(
117 Gaudi::Property<int>
m_minClusterSizeForNN {
this,
"minClusterSizeForNN", 3,
"how big the cluster needs to be to apply NN to it"};
This is an Identifier helper class for the Pixel subdetector.
xAOD::MeasMatrix< DIM > Cov
xAOD::MeasVector< DIM > Pos
AnalogueClusteringCalibratorOptions< calib_data_t > Options
AnalogueClusteringCalibrator(PixelClusterCalibratorOptionsBase &&base_options, Options &&options)
AnalogueClusteringCalibratorOptions< calib_data_t >::error_data_t error_data_t
the NN clustering calibrator
NNClusterCalibratorOptions m_options
NNClusterCalibrator(PixelClusterCalibratorOptionsBase &&base_options, BaseOptions &&direct_base_options, Options &&options)
std::pair< std::optional< float >, std::optional< float > > getCorrectedError(const error_data_t &errorData, const InDetDD::SiDetectorElement &element, const std::pair< float, float > &angles, const xAOD::PixelCluster &cluster) const
NNClusterCalibratorOptions Options
BASE::error_data_t error_data_t
std::pair< std::optional< float >, std::optional< float > > getCorrectedPosition(const EventContext &ctx, const xAOD::PixelCluster &cluster, const error_data_t &errorData, const InDetDD::SiDetectorElement &element, const std::pair< float, float > &angles) const
AnalogueClusteringCalibrator< calib_data_t, traj_t > BASE
std::tuple< typename NNClusterCalibrator< calib_data_t, traj_t >::BASE::Pos, typename NNClusterCalibrator< calib_data_t, traj_t >::BASE::Cov, unsigned int > calibrate(const EventContext &ctx, const Acts::GeometryContext &gctx, const Acts::CalibrationContext &cctx, const xAOD::PixelCluster &cluster, const InDetDD::SiDetectorElement &detElement, const std::pair< float, float > &angles) const
BASE::Options BaseOptions
Class to hold geometrical description of a silicon detector element.
Hash functions to pack the source link into unordered_maps / unordered_sets.
PixelCluster_v1 PixelCluster
Define the version of the pixel cluster class.
Options for the NN clustering calibrator that is kind of Analogue calibrator.
int m_minClusterSizeForNN
the base options the options of the options of every PixelClusterCalibrator must be based on