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
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
16class WaferTree;
17
18namespace InDetDD
19{
20
22class SiCommonItems;
23
25{
26public:
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
40private:
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
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
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 ...
Message Stream Member.
Definition index.py:1