ATLAS Offline Software
Loading...
Searching...
No Matches
PixelGmxInterface.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 PIXELGEOMODELXML_PIXELGMXINTERFACE_H
6#define PIXELGEOMODELXML_PIXELGMXINTERFACE_H
7
11#include <GeoModelXml/GmxInterface.h>
12
13#include <map>
14#include <string>
15
16class IRDBAccessSvc;
17class WaferTree;
18
19namespace GeoModelIO{
20 class ReadGeoModel;
21}
22
23namespace InDetDD {
24
26class PixelDiodeTree;
27class SiCommonItems;
29
30namespace ITk
31{
32class PixelGmxInterface : public GmxInterface, public AthMessaging
33{
34public:
36 SiCommonItems *commonItems,
37 WaferTree *moduleTree);
38
39 virtual int sensorId(std::map<std::string, int> &index) const override;
40 virtual void addSensorType(const std::string& clas,
41 const std::string& typeName,
42 const std::map<std::string, std::string>& parameters) override;
43 virtual void addSensor(const std::string& typeName,
44 std::map<std::string, int> &index,
45 int sequentialId,
46 GeoVFullPhysVol *fpv) override;
47 virtual void addAlignable(int level,
48 std::map<std::string, int> &index,
49 GeoVFullPhysVol *fpv,
50 GeoAlignableTransform *transform) override final;
51
52 void buildReadoutGeometryFromSqlite(IRDBAccessSvc * rdbAccessSvc, GeoModelIO::ReadGeoModel* sqlreader);
53
54protected:
55 std::map<std::string, int, std::less<>> m_geometryMap;
56
57 void makePixelModule(const std::string& typeName,
58 const std::map<std::string, std::string> &parameters);
59
63};
64
65} // namespace ITk
66} // namespace InDetDD
67
68#endif // PIXELGEOMODELXML_PIXELGMXINTERFACE_H
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
virtual void addSensorType(const std::string &clas, const std::string &typeName, const std::map< std::string, std::string > &parameters) override
virtual void addAlignable(int level, std::map< std::string, int > &index, GeoVFullPhysVol *fpv, GeoAlignableTransform *transform) override final
void makePixelModule(const std::string &typeName, const std::map< std::string, std::string > &parameters)
PixelDetectorManager * m_detectorManager
PixelGmxInterface(PixelDetectorManager *detectorManager, SiCommonItems *commonItems, WaferTree *moduleTree)
virtual void addSensor(const std::string &typeName, std::map< std::string, int > &index, int sequentialId, GeoVFullPhysVol *fpv) override
void buildReadoutGeometryFromSqlite(IRDBAccessSvc *rdbAccessSvc, GeoModelIO::ReadGeoModel *sqlreader)
std::map< std::string, int, std::less<> > m_geometryMap
virtual int sensorId(std::map< std::string, int > &index) const override
Dedicated detector manager extending the functionality of the SiDetectorManager with dedicated pixel ...
Tree structure to find the position, index or pitch of a pixel on a semi-regular grid The grid is con...
Helper class to concentrate common items, such as the pointer to the IdHelper, the lorentzAngle tool ...
Base class for the detector design classes for Pixel and SCT.
Message Stream Member.
Definition index.py:1