ATLAS Offline Software
FPGAActsTrkConverter.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef FPGATrkConverter_FPGAACTSTRKCONVERTER__H
6 #define FPGATrkConverter_FPGAACTSTRKCONVERTER__H 1
7 
10 
12 #include "InDetIdentifier/SCT_ID.h"
13 
14 class PixelID;
15 class SCT_ID;
16 
17 class FPGAActsTrkConverter : public extends<AthAlgTool,IFPGAActsTrkConverter> {
18  public:
19 
20  FPGAActsTrkConverter(const std::string& type,
21  const std::string& name,
22  const IInterface* parent);
23  virtual ~FPGAActsTrkConverter() = default;
24  virtual StatusCode initialize() override final;
25  virtual StatusCode findProtoTracks(const EventContext& ctx,
28  std::vector<ActsTrk::ProtoTrack> & foundProtoTracks,
29  const std::vector<std::vector<FPGATrackSimHit>>& hitsInRoads,
30  const std::vector<FPGATrackSimRoad>& roads) const override final;
31  virtual StatusCode findProtoTracks(const EventContext& ctx,
34  std::vector<ActsTrk::ProtoTrack> & foundProtoTracks,
35  const std::vector<FPGATrackSimTrack>& tracks) const override final;
36  protected:
37  std::unique_ptr<Acts::BoundTrackParameters> makeParams (const FPGATrackSimRoad &road) const;
38  std::unique_ptr<Acts::BoundTrackParameters> makeParams (const FPGATrackSimTrack &track) const;
39 
40  private:
41  const PixelID* m_pixelId{nullptr};
42  const SCT_ID* m_SCTId{nullptr};
43 
44  };
45 
46 #endif
PixelID.h
This is an Identifier helper class for the Pixel subdetector. This class is a factory for creating co...
FPGAActsTrkConverter::~FPGAActsTrkConverter
virtual ~FPGAActsTrkConverter()=default
SCT_ID.h
This is an Identifier helper class for the SCT subdetector. This class is a factory for creating comp...
FPGATrackSimTrack
Definition: FPGATrackSimTrack.h:18
FPGAActsTrkConverter::m_SCTId
const SCT_ID * m_SCTId
Definition: FPGAActsTrkConverter.h:42
FPGAActsTrkConverter::FPGAActsTrkConverter
FPGAActsTrkConverter(const std::string &type, const std::string &name, const IInterface *parent)
Definition: FPGAActsTrkConverter.cxx:11
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
DataPrepToActsConfig.stripContainer
stripContainer
Definition: DataPrepToActsConfig.py:10
protected
#define protected
Definition: DetDescrConditionsDict_dict_fixes.cxx:14
FPGATrackSimHit
Definition: FPGATrackSimHit.h:41
Acts
Definition: ChamberAssembleTool.h:18
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
vector
Definition: MultiHisto.h:13
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
FPGAActsTrkConverter::m_pixelId
const PixelID * m_pixelId
Definition: FPGAActsTrkConverter.h:41
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
xAOD::PixelClusterContainer
PixelClusterContainer_v1 PixelClusterContainer
Define the version of the pixel cluster container.
Definition: Event/xAOD/xAODInDetMeasurement/xAODInDetMeasurement/PixelClusterContainer.h:14
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
FPGAActsTrkConverter::initialize
virtual StatusCode initialize() override final
Definition: FPGAActsTrkConverter.cxx:16
FPGAActsTrkConverter
Definition: FPGAActsTrkConverter.h:17
xAOD::StripClusterContainer
StripClusterContainer_v1 StripClusterContainer
Define the version of the strip cluster container.
Definition: StripClusterContainer.h:14
SCT_ID
Definition: SCT_ID.h:68
FPGAActsTrkConverter::findProtoTracks
virtual StatusCode findProtoTracks(const EventContext &ctx, const xAOD::PixelClusterContainer &pixelContainer, const xAOD::StripClusterContainer &stripContainer, std::vector< ActsTrk::ProtoTrack > &foundProtoTracks, const std::vector< std::vector< FPGATrackSimHit >> &hitsInRoads, const std::vector< FPGATrackSimRoad > &roads) const override final
Definition: FPGAActsTrkConverter.cxx:28
ProtoTrack
Definition: TrigTrackFollowing.h:76
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
FPGAActsTrkConverter::makeParams
std::unique_ptr< Acts::BoundTrackParameters > makeParams(const FPGATrackSimRoad &road) const
Definition: FPGAActsTrkConverter.cxx:168
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition: MuonDetectorBuilderTool.cxx:54
xAOD::track
@ track
Definition: TrackingPrimitives.h:512
DataPrepToActsConfig.pixelContainer
pixelContainer
Definition: DataPrepToActsConfig.py:9
PixelID
Definition: PixelID.h:67
FPGATrackSimRoad
Definition: FPGATrackSimRoad.h:30
IFPGAActsTrkConverter.h