12#ifndef PIXELNNMONITORING_PIXELNNMONITORALG_H
13#define PIXELNNMONITORING_PIXELNNMONITORALG_H
53 virtual StatusCode
fillHistograms(
const EventContext& ctx)
const override;
61 const std::vector<std::vector<const SiHit*>>& siHitsByHash)
const;
64 this,
"NnClusterizationFactory",
"InDet::NnClusterizationFactory/NnClusterizationFactory",
65 "NN clusterization factory"};
68 this,
"PixelClusterContainer",
"PixelClusters",
"Pixel cluster container"};
71 this,
"TrackCollection",
"CombinedInDetTracks",
"Track collection (position-net input only)"};
74 this,
"BeamSpotKey",
"BeamSpotData",
"Beam spot data"};
77 this,
"SiHitCollection",
"ITkPixelHits",
"Pixel Geant4 hits for truth positions"};
80 this,
"ClusterSplitProbContainer",
"",
81 "Reco cluster split-probability container (isSplit); empty = disabled"};
84 this,
"PixelLorentzAngleTool",
"SiLorentzAngleTool/PixelLorentzAngleTool",
85 "Lorentz angle tool, to reproduce the with-track NN incidence angle"};
89 Gaudi::Property<bool>
m_doTruth{
this,
"doTruth",
true,
90 "Use Geant4 SiHit truth for number-net confusion and position residuals/pulls"};
Property holding a SG store/key/clid from which a ReadHandle is made.
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Class to hold geometrical description of a silicon detector element.
virtual StatusCode initialize() override
initialize
virtual ~PixelNNMonitorAlg()=default
std::vector< Amg::Vector2D > truthPositions(const InDet::PixelCluster &cluster, const InDetDD::SiDetectorElement &element, const std::vector< std::vector< const SiHit * > > &siHitsByHash) const
True particle positions (local mm) in the cluster, one per particle, from the matching Geant4 SiHits ...
ToolHandle< NnClusterizationFactory > m_nnFactory
ToolHandle< ISiLorentzAngleTool > m_lorentzTool
Gaudi::Property< bool > m_doTruth
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
SG::ReadHandleKey< Trk::ClusterSplitProbabilityContainer > m_splitProbKey
SG::ReadHandleKey< InDet::PixelClusterContainer > m_pixelClusterKey
SG::ReadHandleKey< SiHitCollection > m_siHitKey
const PixelID * m_pixelID
SG::ReadHandleKey< TrackCollection > m_trackCollectionKey
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
PixelNNMonitorAlg(const std::string &name, ISvcLocator *pSvcLocator)
This is an Identifier helper class for the Pixel subdetector.
Property holding a SG store/key/clid from which a ReadHandle is made.