ATLAS Offline Software
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 
9 
10 #include <map>
11 #include <string>
12 
13 // Most functions for this interface are derived from PixelGeoModelXml/PixelGmxInterface.h
14 // The functions here are similar functions to that of Pixel, but have a few PLR specific differences
15 // such as only loading the correct PLR sensor type and identifying the modules as InDetDD::PLR
16 class WaferTree;
17 
18 namespace InDetDD
19 {
20 
21 class PixelDetectorManager;
22 class SiCommonItems;
23 
25 {
26 public:
27  PLRGmxInterface(PixelDetectorManager *detectorManager,
28  SiCommonItems *commonItems,
29  WaferTree *moduleTree);
30 
31  virtual int sensorId(std::map<std::string, int> &index) const override final;
32  virtual void addSensorType(const std::string& clas,
33  const std::string& typeName,
34  const std::map<std::string, std::string>& parameters) override final;
35  virtual void addSensor(const std::string& typeName,
36  std::map<std::string, int> &index,
37  int sequentialId,
38  GeoVFullPhysVol *fpv) override final;
39 
40 private:
41  void makePLRModule(const std::string& typeName,
42  const std::map<std::string, std::string> &parameters);
43 };
44 
45 } // namespace InDetDD
46 
47 #endif // PLRGEOMODELXML_PLRGMXINTERFACE_H
InDetDD::ITk::PixelGmxInterface
Definition: PixelGmxInterface.h:31
index
Definition: index.py:1
PixelGmxInterface.h
InDetDD::PLRGmxInterface::addSensorType
virtual void addSensorType(const std::string &clas, const std::string &typeName, const std::map< std::string, std::string > &parameters) override final
Definition: PLRGmxInterface.cxx:68
InDetDD::PLRGmxInterface::addSensor
virtual void addSensor(const std::string &typeName, std::map< std::string, int > &index, int sequentialId, GeoVFullPhysVol *fpv) override final
Definition: PLRGmxInterface.cxx:80
InDetDD::PLRGmxInterface::makePLRModule
void makePLRModule(const std::string &typeName, const std::map< std::string, std::string > &parameters)
Definition: PLRGmxInterface.cxx:149
InDetDD::PixelDetectorManager
Definition: PixelDetectorManager.h:47
InDetDD::SiCommonItems
Definition: SiCommonItems.h:45
InDetDD::PLRGmxInterface
Definition: PLRGmxInterface.h:25
InDetDD
Message Stream Member.
Definition: FakeTrackBuilder.h:8
physics_parameters.parameters
parameters
Definition: physics_parameters.py:144
ReadCalibFromCool.typeName
typeName
Definition: ReadCalibFromCool.py:477
InDetDD::PLRGmxInterface::sensorId
virtual int sensorId(std::map< std::string, int > &index) const override final
Definition: PLRGmxInterface.cxx:27
InDetDD::PLRGmxInterface::PLRGmxInterface
PLRGmxInterface(PixelDetectorManager *detectorManager, SiCommonItems *commonItems, WaferTree *moduleTree)
Definition: PLRGmxInterface.cxx:21
WaferTree
Definition: WaferTree.h:74