ATLAS Offline Software
FPGATrackSimRoadUnionTool.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2 
3 #ifndef FPGATrackSimROADUNIONTOOL_H
4 #define FPGATrackSimROADUNIONTOOL_H
5 
16 #include "GaudiKernel/ServiceHandle.h"
18 
20 
21 
22 // This class is merely a lightweight wrapper around multiple road finder tools.
23 class FPGATrackSimRoadUnionTool : public extends <AthAlgTool, IFPGATrackSimRoadFinderTool>
24 {
25  public:
26 
28  // AthAlgTool
29 
30  FPGATrackSimRoadUnionTool(const std::string&, const std::string&, const IInterface*);
31 
32  virtual StatusCode initialize() override;
33 
35  // IFPGATrackSimRoadFinderTool
36 
37  virtual StatusCode getRoads(const std::vector<std::shared_ptr<const FPGATrackSimHit>> & hits, std::vector<std::shared_ptr<const FPGATrackSimRoad>> & roads) override;
38 
40  // FPGATrackSimRoadUnionTool
41 
42  ToolHandleArray<IFPGATrackSimRoadFinderTool> const & tools() const { return m_tools; }
43 
44  private:
45 
47  // Handles
48 
49  ToolHandleArray<IFPGATrackSimRoadFinderTool> m_tools;
50 };
51 
52 #endif
TRTCalib_Extractor.hits
hits
Definition: TRTCalib_Extractor.py:35
IFPGATrackSimRoadFinderTool.h
Interface declaration for road finder tools.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
FPGATrackSimRoadUnionTool::FPGATrackSimRoadUnionTool
FPGATrackSimRoadUnionTool(const std::string &, const std::string &, const IInterface *)
Definition: FPGATrackSimRoadUnionTool.cxx:14
AthAlgTool.h
FPGATrackSimRoadUnionTool::initialize
virtual StatusCode initialize() override
Definition: FPGATrackSimRoadUnionTool.cxx:23
FPGATrackSimRoadUnionTool::tools
ToolHandleArray< IFPGATrackSimRoadFinderTool > const & tools() const
Definition: FPGATrackSimRoadUnionTool.h:42
FPGATrackSimRoadUnionTool
Definition: FPGATrackSimRoadUnionTool.h:24
FPGATrackSimRoadUnionTool::getRoads
virtual StatusCode getRoads(const std::vector< std::shared_ptr< const FPGATrackSimHit >> &hits, std::vector< std::shared_ptr< const FPGATrackSimRoad >> &roads) override
Definition: FPGATrackSimRoadUnionTool.cxx:37
FPGATrackSimRoadUnionTool::m_tools
ToolHandleArray< IFPGATrackSimRoadFinderTool > m_tools
Definition: FPGATrackSimRoadUnionTool.h:49