5#ifndef EFTRACKING_ACTSCLUSTERCOMPARISONALG_H
6#define EFTRACKING_ACTSCLUSTERCOMPARISONALG_H
9#include <unordered_map>
11#include "Acts/Definitions/Units.hpp"
28#include <Gaudi/Accumulators.h>
53 using AthReentrantAlgorithm::AthReentrantAlgorithm;
58 virtual StatusCode
execute(
const EventContext& ctx)
const override;
60 virtual StatusCode
finalize()
override;
63 StatusCode
validateClusters(
const EventContext& eventContext, std::unordered_map<const xAOD::PixelCluster*, const xAOD::PixelCluster*>& pixel_cluster_matches, std::unordered_map<const xAOD::StripCluster*, const xAOD::StripCluster*>& strip_cluster_matches)
const;
64 StatusCode
validatePixelSpacepoints(
const EventContext& eventContext, std::unordered_map<const xAOD::PixelCluster*, const xAOD::PixelCluster*>& pixel_cluster_matches)
const;
69 this,
"checkSpacepoints",
false,
70 "If you also want to validate spacepounts."};
76 this,
"monitoredSpacepointsKey",
"xAODSpacepointsFromTracccCluster",
77 "Input monitored spacepoints"};
80 this,
"referenceSpacepointsKey",
"ITkPixelSpacePoints",
81 "Input reference spacepoints"};
84 this,
"monitoredPixelClustersKey",
"xAODPixelClustersFromTracccCluster",
85 "Input monitored pixel clusters"};
88 this,
"monitoredStripClustersKey",
"xAODStripClustersFromTracccCluster",
89 "Input monitored strip clusters"};
92 this,
"referencePixelClustersKey",
"ITkPixelClusters",
93 "Input reference pixel clusters"};
96 this,
"referenceStripClustersKey",
"ITkStripClusters",
97 "Input reference strip clusters"};
125 this,
"PixelManager",
"ITkPixel"};
127 this,
"StripManager",
"ITkStrip"};
132 this,
"LorentzAngleTool",
"SiLorentzAngleTool",
133 "Tool to retrieve Lorentz angle"};
135 this,
"PixelLorentzAngleTool",
"",
136 "Tool to retreive Lorentz angle of Pixel"};
This is an Identifier helper class for the Pixel subdetector.
This is an Identifier helper class for the SCT subdetector.
Property holding a SG store/key/clid from which a ReadHandle is made.
Gaudi::Accumulators::Counter m_nMatchedSp
Gaudi::Accumulators::Counter m_nRefSp
StatusCode validateClusters(const EventContext &eventContext, std::unordered_map< const xAOD::PixelCluster *, const xAOD::PixelCluster * > &pixel_cluster_matches, std::unordered_map< const xAOD::StripCluster *, const xAOD::StripCluster * > &strip_cluster_matches) const
Gaudi::Property< bool > m_checkSpacepoints
SG::ReadHandleKey< xAOD::PixelClusterContainer > m_referencePixelClustersKey
ToolHandle< ISiLorentzAngleTool > m_pixelLorentzAngleTool
Gaudi::Accumulators::Counter m_pixel_unequal
ToolHandle< ISiLorentzAngleTool > m_lorentzAngleTool
SG::ReadHandleKey< xAOD::SpacePointContainer > m_monitoredSpacepointsKey
SG::ReadHandleKey< xAOD::StripClusterContainer > m_referenceStripClustersKey
SG::ReadHandleKey< xAOD::PixelClusterContainer > m_monitoredPixelClustersKey
Gaudi::Accumulators::Counter m_nUnmatchedRefSp
Gaudi::Accumulators::Counter m_strip_unequal
Gaudi::Accumulators::Counter m_pixel_pos_diff_0p25sig
Gaudi::Property< std::string > m_stripManagerKey
Gaudi::Accumulators::Counter m_nSpPosDiff5mm
Gaudi::Accumulators::Counter m_strip_pos_diff_0p5sig
const InDetDD::PixelDetectorManager * m_pixelManager
Gaudi::Accumulators::Counter m_nMonSp
Gaudi::Accumulators::Counter m_nSpVarRDiff
SG::ReadHandleKey< xAOD::StripClusterContainer > m_monitoredStripClustersKey
Gaudi::Accumulators::Counter m_matched_pixel
Gaudi::Accumulators::Counter m_nSpVarZDiff
virtual StatusCode execute(const EventContext &ctx) const override
Execute the algorithm.
Gaudi::Accumulators::Counter m_nSpPosDiff1mm
Gaudi::Accumulators::Counter m_strip_pos_diff_0p25sig
virtual StatusCode finalize() override
Finalize the algorithm.
Gaudi::Accumulators::Counter m_nUnmatchedMonSp
Gaudi::Accumulators::Counter m_strip_pos_diff_1sig
const InDetDD::SCT_DetectorManager * m_stripManager
Gaudi::Accumulators::Counter m_pixel_pos_diff_1sig
Gaudi::Accumulators::Counter m_matched_strip
SG::ReadHandleKey< xAOD::SpacePointContainer > m_referenceSpacepointsKey
virtual StatusCode initialize() override
Initialize the algorithm.
Gaudi::Property< std::string > m_pixelManagerKey
Gaudi::Accumulators::Counter m_pixel_pos_diff_0p5sig
StatusCode validatePixelSpacepoints(const EventContext &eventContext, std::unordered_map< const xAOD::PixelCluster *, const xAOD::PixelCluster * > &pixel_cluster_matches) const
An algorithm that can be simultaneously executed in multiple threads.
Dedicated detector manager extending the functionality of the SiDetectorManager with dedicated pixel ...
Dedicated detector manager extending the functionality of the SiDetectorManager with dedicated SCT in...
This is an Identifier helper class for the SCT subdetector.
Property holding a SG store/key/clid from which a ReadHandle is made.
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...