ATLAS Offline Software
Loading...
Searching...
No Matches
FPGATrackSimDetectorTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 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
24
25class PixelID;
26class SCT_ID;
27
28
29/* This class interface the ID hits with the FPGATrackSim simulation
30 implemented in Athena. Original code */
31
33 public:
34
35 FPGATrackSimDetectorTool(const std::string&, const std::string&, const IInterface*);
36 virtual ~FPGATrackSimDetectorTool() = default;
37 virtual StatusCode initialize() override;
39
40private:
41 ServiceHandle<IFPGATrackSimMappingSvc> m_FPGATrackSimMapping {this, "FPGATrackSimMappingSvc", "FPGATrackSimMappingSvc"};
42 Gaudi::Property<std::string> m_global2local_path {this,"GlobalToLocalMapPath", "global-to-local-map.moduleidmap"};
43 Gaudi::Property<std::string> m_sram_path_pix {this, "SRAMPathPixel", "sram_lookup_pixel.txt"};
44 Gaudi::Property<std::string> m_sram_path_sct {this, "SRAMPathSCT", "sram_lookup_sct.txt"};
45 Gaudi::Property<bool> m_dumpAllModules {this, "dumpAllModules", false};
46
47
49 const PixelID* m_pixelId = nullptr;
50 const SCT_ID* m_sctId = nullptr;
51
52};
53
54#endif // FPGATrackSimDETECTORTOOL_H
: FPGATrackSim-specific class to represent an hit in the detector.
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Gaudi::Property< std::string > m_sram_path_pix
Gaudi::Property< std::string > m_sram_path_sct
virtual StatusCode initialize() override
Gaudi::Property< bool > m_dumpAllModules
const InDetDD::SiDetectorManager * m_PIX_mgr
Gaudi::Property< std::string > m_global2local_path
ServiceHandle< IFPGATrackSimMappingSvc > m_FPGATrackSimMapping
virtual ~FPGATrackSimDetectorTool()=default
FPGATrackSimDetectorTool(const std::string &, const std::string &, const IInterface *)
Base class for Pixel and SCT Detector managers.
This is an Identifier helper class for the Pixel subdetector.
Definition PixelID.h:69
This is an Identifier helper class for the SCT subdetector.
Definition SCT_ID.h:68