ATLAS Offline Software
HGTD_GmxInterface.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 HGTD_GeoModelXml_HGTD_GMXINTERFACE_H
6 #define HGTD_GeoModelXml_HGTD_GMXINTERFACE_H
7 
9 #include <GeoModelXml/GmxInterface.h>
10 
12 
13 #include <map>
14 #include <string>
15 #include <sstream>
16 
17 class IRDBAccessSvc;
18 
19 namespace GeoModelIO{
20  class ReadGeoModel;
21 }
22 
23 namespace InDetDD {
24  class HGTD_ModuleDesign;
25  class SiCommonItems;
26 }
27 
28 class HGTD_GmxInterface: public GmxInterface, public AthMessaging
29 {
30 public:
31  HGTD_GmxInterface(HGTD_DetectorManager *detectorManager,
32  InDetDD::SiCommonItems *commonItems);
33 
34  virtual int sensorId(std::map<std::string, int> &index) const override final;
35  virtual void addSensorType(const std::string &clas,
36  const std::string &typeName,
37  const std::map<std::string, std::string>& parameters) override final;
38  void addSensor(const std::string& typeName,
39  std::map<std::string, int> &index,
40  int sequentialId,
41  GeoVFullPhysVol *fpv) override final;
42 
43  void buildReadoutGeometryFromSqlite(IRDBAccessSvc * rdbAccessSvc, GeoModelIO::ReadGeoModel* sqlreader);
44 
45 private:
46  void makeLgadModule(const std::string &typeName,
47  const std::map<std::string, std::string> &parameters);
48 
49  std::map<std::string, const InDetDD::HGTD_ModuleDesign *> m_geometryMap;
52 
53 };
54 
55 #endif // HGTD_GeoModelXml_HGTD_GMXINTERFACE_H
HGTD_GmxInterface::addSensorType
virtual void addSensorType(const std::string &clas, const std::string &typeName, const std::map< std::string, std::string > &parameters) override final
Definition: HGTD_GmxInterface.cxx:78
HGTD_GmxInterface::HGTD_GmxInterface
HGTD_GmxInterface(HGTD_DetectorManager *detectorManager, InDetDD::SiCommonItems *commonItems)
Definition: HGTD_GmxInterface.cxx:25
index
Definition: index.py:1
HGTD_DetectorManager.h
HGTD_GmxInterface::m_geometryMap
std::map< std::string, const InDetDD::HGTD_ModuleDesign * > m_geometryMap
Definition: HGTD_GmxInterface.h:49
IRDBAccessSvc
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
Definition: IRDBAccessSvc.h:42
HGTD_GmxInterface::sensorId
virtual int sensorId(std::map< std::string, int > &index) const override final
Definition: HGTD_GmxInterface.cxx:34
AthMessaging
Class to provide easy MsgStream access and capabilities.
Definition: AthMessaging.h:55
HGTD_GmxInterface::makeLgadModule
void makeLgadModule(const std::string &typeName, const std::map< std::string, std::string > &parameters)
Definition: HGTD_GmxInterface.cxx:94
GeoModelIO
Definition: IGeoDbTagSvc.h:12
HGTD_GmxInterface::m_commonItems
InDetDD::SiCommonItems * m_commonItems
Definition: HGTD_GmxInterface.h:51
InDetDD::SiCommonItems
Definition: SiCommonItems.h:45
HGTD_GmxInterface
Definition: HGTD_GmxInterface.h:29
InDetDD
Message Stream Member.
Definition: FakeTrackBuilder.h:8
AthMessaging.h
HGTD_DetectorManager
Definition: HGTD_DetectorManager.h:33
physics_parameters.parameters
parameters
Definition: physics_parameters.py:144
ReadCalibFromCool.typeName
typeName
Definition: ReadCalibFromCool.py:477
HGTD_GmxInterface::m_detectorManager
HGTD_DetectorManager * m_detectorManager
Definition: HGTD_GmxInterface.h:50
HGTD_GmxInterface::addSensor
void addSensor(const std::string &typeName, std::map< std::string, int > &index, int sequentialId, GeoVFullPhysVol *fpv) override final
Definition: HGTD_GmxInterface.cxx:136
HGTD_GmxInterface::buildReadoutGeometryFromSqlite
void buildReadoutGeometryFromSqlite(IRDBAccessSvc *rdbAccessSvc, GeoModelIO::ReadGeoModel *sqlreader)
Definition: HGTD_GmxInterface.cxx:197