ATLAS Offline Software
Loading...
Searching...
No Matches
PixelGmxInterface.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 PIXELGEOMODELXML_PIXELGMXINTERFACE_H
6#define PIXELGEOMODELXML_PIXELGMXINTERFACE_H
7
9#include <GeoModelXml/GmxInterface.h>
10
11#include <map>
12#include <string>
13
14class IRDBAccessSvc;
15class WaferTree;
16
17namespace GeoModelIO{
18 class ReadGeoModel;
19}
20
21namespace InDetDD {
22
24class PixelDiodeTree;
25class SiCommonItems;
27
28namespace ITk
29{
30class PixelGmxInterface : public GmxInterface, public AthMessaging
31{
32public:
34 SiCommonItems *commonItems,
35 WaferTree *moduleTree);
36
37 virtual int sensorId(std::map<std::string, int> &index) const override;
38 virtual void addSensorType(const std::string& clas,
39 const std::string& typeName,
40 const std::map<std::string, std::string>& parameters) override;
41 virtual void addSensor(const std::string& typeName,
42 std::map<std::string, int> &index,
43 int sequentialId,
44 GeoVFullPhysVol *fpv) override;
45 virtual void addAlignable(int level,
46 std::map<std::string, int> &index,
47 GeoVFullPhysVol *fpv,
48 GeoAlignableTransform *transform) override final;
49
50 void buildReadoutGeometryFromSqlite(IRDBAccessSvc * rdbAccessSvc, GeoModelIO::ReadGeoModel* sqlreader);
51
52protected:
53 std::map<std::string, int> m_geometryMap;
54
55 void makePixelModule(const std::string& typeName,
56 const std::map<std::string, std::string> &parameters);
57
61};
62
63} // namespace ITk
64} // namespace InDetDD
65
66#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 > 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