ATLAS Offline Software
Loading...
Searching...
No Matches
PLRGmxInterface.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef PLRGEOMODELXML_PLRGMXINTERFACE_H
6#define PLRGEOMODELXML_PLRGMXINTERFACE_H
7
10
11#include <map>
12#include <string>
13
14// Most functions for this interface are derived from PixelGeoModelXml/PixelGmxInterface.h
15// The functions here are similar functions to that of Pixel, but have a few PLR specific differences
16// such as only loading the correct PLR sensor type and identifying the modules as InDetDD::PLR
17class WaferTree;
18
19namespace InDetDD
20{
21
23class SiCommonItems;
24
26{
27public:
29 SiCommonItems *commonItems,
30 WaferTree *moduleTree);
31
32 virtual int sensorId(std::map<std::string, int> &index) const override final;
33 virtual void addSensorType(const std::string& clas,
34 const std::string& typeName,
35 const std::map<std::string, std::string>& parameters) override final;
36 virtual void addSensor(const std::string& typeName,
37 std::map<std::string, int> &index,
38 int sequentialId,
39 GeoVFullPhysVol *fpv) override final;
40
41 virtual void buildReadoutGeometryFromSqlite(IRDBAccessSvc * RDBAccessSvc, GeoModelIO::ReadGeoModel* sqlreader);
42
43private:
44 void makePLRModule(const std::string& typeName,
45 const std::map<std::string, std::string> &parameters);
46};
47
48} // namespace InDetDD
49
50#endif // PLRGEOMODELXML_PLRGMXINTERFACE_H
Definition of the abstract IRDBAccessSvc interface.
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
void makePLRModule(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
virtual int sensorId(std::map< std::string, int > &index) const override final
PLRGmxInterface(PixelDetectorManager *detectorManager, SiCommonItems *commonItems, WaferTree *moduleTree)
virtual void addSensor(const std::string &typeName, std::map< std::string, int > &index, int sequentialId, GeoVFullPhysVol *fpv) override final
virtual void buildReadoutGeometryFromSqlite(IRDBAccessSvc *RDBAccessSvc, GeoModelIO::ReadGeoModel *sqlreader)
Dedicated detector manager extending the functionality of the SiDetectorManager with dedicated pixel ...
Helper class to concentrate common items, such as the pointer to the IdHelper, the lorentzAngle tool ...
RDBAccessSvc is the implementation of IRDBAccessSvc interface.
Message Stream Member.
Definition index.py:1