6#ifndef FPGATrkConverter_FPGAClusterConverter_H
7#define FPGATrkConverter_FPGAClusterConverter_H
46 virtual StatusCode
initialize() override final;
49 InDet::PixelClusterCollection &,
50 InDet::SCT_ClusterCollection &)
const override final;
52 InDet::PixelClusterCollection &,
53 InDet::SCT_ClusterCollection &)
const override final;
55 xAOD::PixelClusterContainer& pixelCont,
56 xAOD::StripClusterContainer& SCTCont)
const override final;
58 InDet::PixelClusterCollection &,
59 InDet::SCT_ClusterCollection &)
const override final;
61 xAOD::PixelClusterContainer& pixelCont,
62 xAOD::StripClusterContainer& SCTCont)
const override final;
66 xAOD::StripClusterContainer& stripClusterCont,
67 xAOD::PixelClusterContainer& pixelClusterCont)
const override final;
94 ToolHandle<ISiLorentzAngleTool>
m_lorentzAngleToolPixel {
this,
"LorentzAngleToolPixel",
"SiLorentzAngleTool/PixelLorentzAngleTool",
"Tool to retrieve Lorentz angle of Pixel"};
95 ToolHandle<ISiLorentzAngleTool>
m_lorentzAngleToolStrip {
this,
"LorentzAngleToolStrip",
"SiLorentzAngleTool/SCTLorentzAngleTool",
"Tool to retrieve Lorentz angle of SCT"};
98 Gaudi::Property<bool>
m_doShift {
this,
"doLorentzShift",
false,
"Apply Lorentz angle shift to the clusters"};
99 Gaudi::Property<bool>
m_useInherentLocalCoordinates {
this,
"useFPGALocalCoordinates",
true,
"instead of getting indirectly the local coordinates from the cell position, use the values stored in FPGATrackSimHit objects"};
100 Gaudi::Property<bool>
m_broadErrors {
this,
"broadErrors",
false,
"If true use cluster width to set errors, otherwise use avg pixel width"};
std::vector< FPGATrackSimCluster > FPGATrackSimClusterCollection
Header file for AthHistogramAlgorithm.
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
virtual StatusCode createPixelCluster(const FPGATrackSimHit &h, const std::vector< Identifier > &rdoList, std::unique_ptr< InDet::PixelCluster > &) const override final
SG::ReadHandleKey< FPGATrackSimClusterCollection > m_FPGAClusterKey
const PixelID * m_pixelId
const InDetDD::PixelDetectorManager * m_pixelManager
Gaudi::Property< bool > m_broadErrors
virtual StatusCode getRdoList(std::vector< Identifier > &rdoList, const FPGATrackSimCluster &cluster) const override final
FPGAClusterConverter(const std::string &type, const std::string &name, const IInterface *parent)
virtual StatusCode createSCTCluster(const FPGATrackSimHit &h, const std::vector< Identifier > &rdoList, std::unique_ptr< InDet::SCT_Cluster > &) const override final
Gaudi::Property< bool > m_skipStripSpacePointFormation
virtual StatusCode createSP(const FPGATrackSimCluster &cl, xAOD::SpacePoint &sp, xAOD::StripClusterContainer &clustersCont) const override final
virtual StatusCode createPixelSPs(xAOD::SpacePointContainer &pixelSPs, xAOD::PixelClusterContainer &clustersCont) const override final
virtual StatusCode initialize() override final
ToolHandle< ISiLorentzAngleTool > m_lorentzAngleToolPixel
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
Gaudi::Property< bool > m_doShift
ToolHandle< ISiLorentzAngleTool > m_lorentzAngleToolStrip
Gaudi::Property< bool > m_useInherentLocalCoordinates
virtual ~FPGAClusterConverter()=default
const InDetDD::SCT_DetectorManager * m_SCTManager
virtual StatusCode convertHits(const std::vector< FPGATrackSimHit > &, InDet::PixelClusterCollection &, InDet::SCT_ClusterCollection &) const override final
virtual StatusCode convertSpacePoints(const std::vector< FPGATrackSimCluster > &fpgaSPs, xAOD::SpacePointContainer &SPStripCont, xAOD::SpacePointContainer &SPPixelCont, xAOD::StripClusterContainer &stripClusterCont, xAOD::PixelClusterContainer &pixelClusterCont) const override final
virtual StatusCode convertClusters(const std::vector< FPGATrackSimCluster > &, InDet::PixelClusterCollection &, InDet::SCT_ClusterCollection &) const override final
virtual StatusCode getStripsInfo(const xAOD::StripCluster &cl, float &halfStripLength, Amg::Vector3D &stripDirection, Amg::Vector3D &stripCenter) const override final
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 Pixel subdetector.
This is an Identifier helper class for the SCT subdetector.
Definition of ATLAS Math & Geometry primitives (Amg)
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.