ATLAS Offline Software
Loading...
Searching...
No Matches
HGTD_GmxInterface.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef HGTD_GeoModelXml_HGTD_GMXINTERFACE_H
6#define HGTD_GeoModelXml_HGTD_GMXINTERFACE_H
7
11#include <GeoModelXml/GmxInterface.h>
12
13#include <map>
14#include <string>
15
17class IRDBAccessSvc;
18class GeoVFullPhysVol;
19
20namespace GeoModelIO{
21 class ReadGeoModel;
22}
23
24namespace InDetDD {
26 class SiCommonItems;
27}
28
29class HGTD_GmxInterface: public GmxInterface, public AthMessaging
30{
31public:
33 InDetDD::SiCommonItems *commonItems);
34
35 virtual int sensorId(std::map<std::string, int> &index) const override final;
36 virtual void addSensorType(const std::string &clas,
37 const std::string &typeName,
38 const std::map<std::string, std::string>& parameters) override final;
39 void addSensor(const std::string& typeName,
40 std::map<std::string, int> &index,
41 int sequentialId,
42 GeoVFullPhysVol *fpv) override final;
43
44 void buildReadoutGeometryFromSqlite(IRDBAccessSvc * rdbAccessSvc, GeoModelIO::ReadGeoModel* sqlreader);
45
46 virtual void addAlignable(int level,
47 std::map<std::string, int> &index,
48 GeoVFullPhysVol *fpv,
49 GeoAlignableTransform *transform) override final;
50
51private:
52 void makeLgadModule(const std::string &typeName,
53 const std::map<std::string, std::string> &parameters);
54
55 std::map<std::string, const InDetDD::HGTD_ModuleDesign *> m_geometryMap;
58
59};
60
61#endif // HGTD_GeoModelXml_HGTD_GMXINTERFACE_H
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
The Detector manager has methods to retrieve the Identifier helper and methods to retrieve the detect...
virtual int sensorId(std::map< std::string, int > &index) const override final
InDetDD::SiCommonItems * m_commonItems
HGTD_DetectorManager * m_detectorManager
std::map< std::string, const InDetDD::HGTD_ModuleDesign * > m_geometryMap
void makeLgadModule(const std::string &typeName, const std::map< std::string, std::string > &parameters)
virtual void addSensorType(const std::string &clas, const std::string &typeName, const std::map< std::string, std::string > &parameters) override final
void buildReadoutGeometryFromSqlite(IRDBAccessSvc *rdbAccessSvc, GeoModelIO::ReadGeoModel *sqlreader)
HGTD_GmxInterface(HGTD_DetectorManager *detectorManager, InDetDD::SiCommonItems *commonItems)
virtual void addAlignable(int level, std::map< std::string, int > &index, GeoVFullPhysVol *fpv, GeoAlignableTransform *transform) override final
void addSensor(const std::string &typeName, std::map< std::string, int > &index, int sequentialId, GeoVFullPhysVol *fpv) override final
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
Class used to describe the design of a module (diode segmentation and readout scheme).
Helper class to concentrate common items, such as the pointer to the IdHelper, the lorentzAngle tool ...
Message Stream Member.
Definition index.py:1