ATLAS Offline Software
Loading...
Searching...
No Matches
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
25
26class PixelID;
27class 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
41private:
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
defines an "iterator" over instances of a given type in StoreGateSvc
: 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:67
This is an Identifier helper class for the SCT subdetector.
Definition SCT_ID.h:68