ATLAS Offline Software
FPGATrackSimDetectorTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef FPGATrackSimDETECTORTOOL_H
6 #define FPGATrackSimDETECTORTOOL_H
7 
9 
10 
11 #include "GaudiKernel/MsgStream.h"
12 #include "GaudiKernel/ServiceHandle.h"
15 
16 #include <string>
17 #include <vector>
18 #include <list>
19 #include <set>
20 #include <fstream>
21 
22 #include "StoreGate/DataHandle.h"
25 
26 class PixelID;
27 class SCT_ID;
28 
29 
30 /* This class interface the ID hits with the FPGATrackSim simulation
31  implemented in Athena. Original code */
32 
34  public:
35 
36  FPGATrackSimDetectorTool(const std::string&, const std::string&, const IInterface*);
37  virtual ~FPGATrackSimDetectorTool() = default;
38  virtual StatusCode initialize() override;
40 
41 private:
42  ServiceHandle<IFPGATrackSimMappingSvc> m_FPGATrackSimMapping {this, "FPGATrackSimMappingSvc", "FPGATrackSimMappingSvc"};
43  Gaudi::Property<std::string> m_global2local_path {this,"GlobalToLocalMapPath", "global-to-local-map.moduleidmap"};
44  Gaudi::Property<std::string> m_sram_path_pix {this, "SRAMPathPixel", "sram_lookup_pixel.txt"};
45  Gaudi::Property<std::string> m_sram_path_sct {this, "SRAMPathSCT", "sram_lookup_sct.txt"};
46  Gaudi::Property<bool> m_dumpAllModules {this, "dumpAllModules", false};
47 
48 
50  const PixelID* m_pixelId = nullptr;
51  const SCT_ID* m_sctId = nullptr;
52 
53 };
54 
55 #endif // FPGATrackSimDETECTORTOOL_H
FPGATrackSimDetectorTool::initialize
virtual StatusCode initialize() override
Definition: FPGATrackSimDetectorTool.cxx:19
IFPGATrackSimMappingSvc.h
FPGATrackSimDetectorTool::~FPGATrackSimDetectorTool
virtual ~FPGATrackSimDetectorTool()=default
FPGATrackSimDetectorTool::m_sram_path_sct
Gaudi::Property< std::string > m_sram_path_sct
Definition: FPGATrackSimDetectorTool.h:45
FPGATrackSimDetectorTool::m_PIX_mgr
const InDetDD::SiDetectorManager * m_PIX_mgr
Definition: FPGATrackSimDetectorTool.h:49
FPGATrackSimDetectorTool::m_sctId
const SCT_ID * m_sctId
Definition: FPGATrackSimDetectorTool.h:51
DataHandle.h
FPGATrackSimDetectorTool::m_FPGATrackSimMapping
ServiceHandle< IFPGATrackSimMappingSvc > m_FPGATrackSimMapping
Definition: FPGATrackSimDetectorTool.h:42
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
FPGATrackSimDetectorTool::m_sram_path_pix
Gaudi::Property< std::string > m_sram_path_pix
Definition: FPGATrackSimDetectorTool.h:44
FPGATrackSimDetectorTool::FPGATrackSimDetectorTool
FPGATrackSimDetectorTool(const std::string &, const std::string &, const IInterface *)
Definition: FPGATrackSimDetectorTool.cxx:14
FPGATrackSimHit.h
: FPGATrackSim-specific class to represent an hit in the detector.
SiDetectorElementCollection.h
SCT_ID
Definition: SCT_ID.h:68
FPGATrackSimDetectorTool::m_pixelId
const PixelID * m_pixelId
Definition: FPGATrackSimDetectorTool.h:50
FPGATrackSimDetectorTool::m_global2local_path
Gaudi::Property< std::string > m_global2local_path
Definition: FPGATrackSimDetectorTool.h:43
InDetDD::SiDetectorManager
Definition: SiDetectorManager.h:60
SiDetectorManager.h
FPGATrackSimDetectorTool::dumpGlobalToLocalModuleMap
void dumpGlobalToLocalModuleMap()
Definition: FPGATrackSimDetectorTool.cxx:33
AthAlgTool
Definition: AthAlgTool.h:26
PixelID
Definition: PixelID.h:67
FPGATrackSimDetectorTool::m_dumpAllModules
Gaudi::Property< bool > m_dumpAllModules
Definition: FPGATrackSimDetectorTool.h:46
FPGATrackSimDetectorTool
Definition: FPGATrackSimDetectorTool.h:33
ServiceHandle< IFPGATrackSimMappingSvc >