ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
EFTracking
FPGATrackSim
FPGATrackSimInput
src
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
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
10
11
#include "GaudiKernel/MsgStream.h"
12
#include "GaudiKernel/ServiceHandle.h"
13
#include "
FPGATrackSimObjects/FPGATrackSimHit.h
"
14
#include "
FPGATrackSimMaps/IFPGATrackSimMappingSvc.h
"
15
16
#include <string>
17
#include <vector>
18
#include <list>
19
#include <set>
20
#include <fstream>
21
22
#include "
InDetReadoutGeometry/SiDetectorElementCollection.h
"
23
#include "
InDetReadoutGeometry/SiDetectorManager.h
"
24
25
class
PixelID
;
26
class
SCT_ID
;
27
28
29
/* This class interface the ID hits with the FPGATrackSim simulation
30
implemented in Athena. Original code */
31
32
class
FPGATrackSimDetectorTool
:
public
::AthAlgTool
{
33
public
:
34
35
FPGATrackSimDetectorTool
(
const
std::string&,
const
std::string&,
const
IInterface*);
36
virtual
~FPGATrackSimDetectorTool
() =
default
;
37
virtual
StatusCode
initialize
()
override
;
38
void
dumpGlobalToLocalModuleMap
();
39
40
private
:
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
48
const
InDetDD::SiDetectorManager
*
m_PIX_mgr
=
nullptr
;
49
const
PixelID
*
m_pixelId
=
nullptr
;
50
const
SCT_ID
*
m_sctId
=
nullptr
;
51
52
};
53
54
#endif
// FPGATrackSimDETECTORTOOL_H
AthAlgTool.h
FPGATrackSimHit.h
: FPGATrackSim-specific class to represent an hit in the detector.
IFPGATrackSimMappingSvc.h
SiDetectorElementCollection.h
SiDetectorManager.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
FPGATrackSimDetectorTool::dumpGlobalToLocalModuleMap
void dumpGlobalToLocalModuleMap()
Definition
FPGATrackSimDetectorTool.cxx:33
FPGATrackSimDetectorTool::m_sram_path_pix
Gaudi::Property< std::string > m_sram_path_pix
Definition
FPGATrackSimDetectorTool.h:43
FPGATrackSimDetectorTool::m_sram_path_sct
Gaudi::Property< std::string > m_sram_path_sct
Definition
FPGATrackSimDetectorTool.h:44
FPGATrackSimDetectorTool::initialize
virtual StatusCode initialize() override
Definition
FPGATrackSimDetectorTool.cxx:19
FPGATrackSimDetectorTool::m_pixelId
const PixelID * m_pixelId
Definition
FPGATrackSimDetectorTool.h:49
FPGATrackSimDetectorTool::m_dumpAllModules
Gaudi::Property< bool > m_dumpAllModules
Definition
FPGATrackSimDetectorTool.h:45
FPGATrackSimDetectorTool::m_PIX_mgr
const InDetDD::SiDetectorManager * m_PIX_mgr
Definition
FPGATrackSimDetectorTool.h:48
FPGATrackSimDetectorTool::m_global2local_path
Gaudi::Property< std::string > m_global2local_path
Definition
FPGATrackSimDetectorTool.h:42
FPGATrackSimDetectorTool::m_FPGATrackSimMapping
ServiceHandle< IFPGATrackSimMappingSvc > m_FPGATrackSimMapping
Definition
FPGATrackSimDetectorTool.h:41
FPGATrackSimDetectorTool::~FPGATrackSimDetectorTool
virtual ~FPGATrackSimDetectorTool()=default
FPGATrackSimDetectorTool::FPGATrackSimDetectorTool
FPGATrackSimDetectorTool(const std::string &, const std::string &, const IInterface *)
Definition
FPGATrackSimDetectorTool.cxx:14
FPGATrackSimDetectorTool::m_sctId
const SCT_ID * m_sctId
Definition
FPGATrackSimDetectorTool.h:50
InDetDD::SiDetectorManager
Base class for Pixel and SCT Detector managers.
Definition
SiDetectorManager.h:60
PixelID
This is an Identifier helper class for the Pixel subdetector.
Definition
PixelID.h:69
SCT_ID
This is an Identifier helper class for the SCT subdetector.
Definition
SCT_ID.h:68
ServiceHandle
Definition
ClusterMakerTool.h:36
Generated on
for ATLAS Offline Software by
1.17.0