![]() |
ATLAS Offline Software
|
the NN clustering calibrator More...
#include <NNClusterCalibratorToolImpl.h>
Public Types | |
| using | BASE |
| using | Options = NNClusterCalibratorOptions<calib_data_t, traj_t> |
| using | OnTrackCalibrator |
| using | TrackStateProxy |
| using | Calibrator |
| using | Pos |
| using | Cov |
| using | ClusterType = cluster_t |
Public Member Functions | |
| NNClusterCalibrator (PixelClusterCalibratorOptionsBase &&base_options, Options &&options) | |
| const NNClusterCalibrator< calib_data_t, traj_t > & | derived () const |
| void | calibrate (const Acts::GeometryContext &, const Acts::CalibrationContext &, const xAOD::PixelCluster &, TrackStateProxy &) const |
| std::tuple< Pos, Cov, unsigned int > | calibrate (const Acts::GeometryContext &, const Acts::CalibrationContext &, const Acts::Surface &, const xAOD::PixelCluster &, const Acts::BoundTrackParameters &) const |
| virtual void | connectOnTrackCalibrator (OnTrackCalibrator &calibrator) const override |
| connect the calibrator (derived class) to the given OnTrack calaibrator delegate | |
| virtual void | connectOnTrackCalibrator (OnTrackCalibrator &calibrator) const=0 |
| virtual void | connectCalibrator (Calibrator &calibrator) const override |
| connect the calibrator (derived class) to the given OnBoundState calaibrator delegate | |
Public Attributes | |
| friend | BASE |
Static Public Attributes | |
| static constexpr std::size_t | ClusterDIM = DIM |
Protected Member Functions | |
| 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 |
| const InDetDD::SiDetectorElement & | getDetectorElement (const Acts::Surface &surface) const |
| convenience method to get the detector element for a module | |
| const PixelID & | pixelID () const |
| get the Pixel ID helper. | |
| double | getLorentzShift (const IdentifierHash &elementHash, const EventContext &ctx) const |
| @breif get the lorentz shift for the given module. | |
| std::pair< float, float > | tanAnglesOfIncidence (const EventContext &ctx, const Acts::GeometryContext &gctx, const Acts::Surface &surface, const InDetDD::SiDetectorElement &element, const Acts::Vector3 &direction) const |
| compute tan of Lorentz angle corrected incidence angles in local-x and local-y direction. | |
Protected Attributes | |
| PixelClusterCalibratorOptionsBase | m_baseOptions |
Private Member Functions | |
| std::tuple< int, int, int, int > | clusterIndexRanges (const xAOD::PixelCluster &cluster) const |
| returns spans of the cluster | |
| InDetDD::SiCellId | weightedClusterCenter (const xAOD::PixelCluster &cluster, const InDetDD::PixelModuleDesign *design) const |
| Calculated charge weighted cluster position. | |
| void | fillClusterData (NNinput &nn, const xAOD::PixelCluster &cluster, const InDetDD::SiDetectorElement &detElement) const |
| Fills payload for NN from cluster. | |
| std::array< float, 3 > | predictNumberOfClusters (NNinput &nn) const |
| obtain probabilities of number of particles using numbers NN | |
| PositionNNoutput | predictPositions (NNinput &nn, int number) const |
| run position inference | |
| Ort::Session & | selectPositionNetwork (int number) const |
| returns network appropriate for the number of sub-clusters | |
Private Attributes | |
| NNClusterCalibratorOptions< calib_data_t, traj_t > | m_options |
the NN clustering calibrator
Definition at line 39 of file NNClusterCalibratorToolImpl.h.
| using ActsTrk::detail::NNClusterCalibrator< calib_data_t, traj_t >::BASE |
Definition at line 43 of file NNClusterCalibratorToolImpl.h.
|
inherited |
Definition at line 98 of file PixelClusterCalibrationToolBase.h.
|
inherited |
Definition at line 31 of file IOnBoundStateCalibratorTool.h.
|
inherited |
Definition at line 100 of file PixelClusterCalibrationToolBase.h.
|
inherited |
Definition at line 96 of file PixelClusterCalibrationToolBase.h.
| using ActsTrk::detail::NNClusterCalibrator< calib_data_t, traj_t >::Options = NNClusterCalibratorOptions<calib_data_t, traj_t> |
Definition at line 48 of file NNClusterCalibratorToolImpl.h.
|
inherited |
Definition at line 99 of file PixelClusterCalibrationToolBase.h.
|
inherited |
Definition at line 97 of file PixelClusterCalibrationToolBase.h.
|
inline |
Definition at line 50 of file NNClusterCalibratorToolImpl.h.
|
protected |
|
inherited |
|
inherited |
|
private |
returns spans of the cluster
| cluster | pixel |
|
overridevirtualinherited |
connect the calibrator (derived class) to the given OnBoundState calaibrator delegate
Reimplemented from ActsTrk::OnTrackCalibratorBase< xAOD::PixelCluster, 2, traj_t >.
|
overridevirtualinherited |
connect the calibrator (derived class) to the given OnTrack calaibrator delegate
|
pure virtualinherited |
|
inlineinherited |
Definition at line 102 of file PixelClusterCalibrationToolBase.h.
|
private |
Fills payload for NN from cluster.
| nn | the NN input payload to fill |
| cluster | pixel cluster to process Presumably, this function should also take track state proxy (which may require this to become a template) and InDetDD::SiDetectorElement and overall would presumably fit better another place |
|
protectedinherited |
convenience method to get the detector element for a module
| surface | the surface of a module |
|
inlineprotectedinherited |
@breif get the lorentz shift for the given module.
Definition at line 53 of file PixelClusterCalibrationToolBase.h.
|
inlineprotectedinherited |
|
private |
obtain probabilities of number of particles using numbers NN
| the | network input |
|
private |
run position inference
|
private |
returns network appropriate for the number of sub-clusters
|
protectedinherited |
compute tan of Lorentz angle corrected incidence angles in local-x and local-y direction.
|
private |
Calculated charge weighted cluster position.
| cluster | pixel cluster to process |
| pixelID | decoder decoder |
| design | is geometry of the module |
| friend ActsTrk::detail::NNClusterCalibrator< calib_data_t, traj_t >::BASE |
Definition at line 46 of file NNClusterCalibratorToolImpl.h.
|
staticconstexprinherited |
Definition at line 32 of file IOnBoundStateCalibratorTool.h.
|
protectedinherited |
Definition at line 87 of file PixelClusterCalibrationToolBase.h.
|
private |
Definition at line 100 of file NNClusterCalibratorToolImpl.h.