 |
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef MUONGEOMETRYCNV_ReadoutGeomCnvAlg_H
5 #define MUONGEOMETRYCNV_ReadoutGeomCnvAlg_H
17 #include "GeoModelKernel/GeoTransform.h"
18 #include "GeoModelHelpers/GeoDeDuplicator.h"
19 #include "GeoModelKernel/GeoVFullPhysVol.h"
20 #include "GeoModelKernel/GeoIdentifierTag.h"
34 using AthReentrantAlgorithm::AthReentrantAlgorithm;
46 std::unique_ptr<MuonGM::MuonDetectorManager>
detMgr{};
66 ConstructionCache& cacheObj)
const;
73 ConstructionCache& cacheObj,
74 GeoIntrusivePtr<GeoVFullPhysVol>& clonedPhysVol,
79 ConstructionCache& cacheObj)
const;
82 ConstructionCache& cacheObj)
const;
85 ConstructionCache& cacheObj)
const;
88 ConstructionCache& cacheObj)
const;
91 ConstructionCache& cacheObj)
const;
94 ConstructionCache& cacheObj)
const;
126 Gaudi::Property<bool>
m_checkGeo{
this,
"checkGeo",
false,
"Checks the positions of the sensors"};
127 Gaudi::Property<bool>
m_dumpGeo{
this,
"dumpGeo",
false,
"Dumps the constructed geometry"};
128 Gaudi::Property<std::string>
m_geoDumpName{
this,
"geoDumpName",
"ConvMuonGeoModel.db",};
StatusCode buildTgc(const ActsTrk::GeometryContext &gctx, ConstructionCache &cacheObj) const
Gaudi::Property< std::string > m_geoDumpName
StatusCode buildRpc(const ActsTrk::GeometryContext &gctx, ConstructionCache &cacheObj) const
StatusCode cloneReadoutVolume(const ActsTrk::GeometryContext &gctx, const Identifier &stationId, ConstructionCache &cacheObj, GeoIntrusivePtr< GeoVFullPhysVol > &clonedPhysVol, MuonGM::MuonStation *&station) const
Clones the fullPhysical volume of the readoutElement and embeds it into the associated station.
GeoIntrusivePtr< GeoIdentifierTag > newIdTag()
Returns an identifier tag.
PVLink world
Pointer to the world.
The MuonReadoutElement is an abstract class representing the geometry representing the muon detector.
ConstructionCache()=default
~ReadoutGeomCnvAlg()=default
An RpcReadoutElement corresponds to a single RPC module; therefore typicaly a barrel muon station con...
SG::ReadCondHandleKeyArray< ActsTrk::DetectorAlignStore > m_alignStoreKeys
std::unique_ptr< MuonGM::MuonDetectorManager > detMgr
Pointer to the legacy MuonDetectorManager.
Gaudi::Property< bool > m_checkGeo
StatusCode checkIdCompability(const MuonGMR4::MuonReadoutElement &refEle, const MuonGM::MuonReadoutElement &testEle) const
An algorithm that can be simultaneously executed in multiple threads.
Base class for the XxxReadoutElement, with Xxx = Mdt, Rpc, Tgc, Csc.
GeoIntrusivePtr< GeoVFullPhysVol > cloneNswWedge(const ActsTrk::GeometryContext &gctx, const MuonGMR4::MuonReadoutElement *nswRE, ConstructionCache &cacheObj) const
Clones the fullPhysicalVolume of the
Gaudi::Property< bool > m_dumpGeo
The ReadoutGeomCnvAlg converts the Run4 Readout geometry build from the GeoModelXML into the legacy M...
StatusCode execute(const EventContext &ctx) const override
::StatusCode StatusCode
StatusCode definition for legacy code.
An sTgcReadoutElement corresponds to a single STGC module; therefore typicaly a barrel muon station c...
StatusCode buildMdt(const ActsTrk::GeometryContext &gctx, ConstructionCache &cacheObj) const
A TgcReadoutElement corresponds to a single TGC chamber; therefore typically a TGC station contains s...
std::set< PVConstLink > translatedStations
Set of all translated Physical volumes.
bool isReEntrant() const override
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
StatusCode dumpAndCompare(const ActsTrk::GeometryContext &gctx, const MuonGMR4::RpcReadoutElement &refEle, const MuonGM::RpcReadoutElement &testEle) const
StatusCode initialize() override
StatusCode buildStation(const ActsTrk::GeometryContext &gctx, const Identifier &stationId, ConstructionCache &cacheObj) const
builds a station object from readout element.
An MMReadoutElement corresponds to a single STGC module; therefore typicaly a barrel muon station con...
SG::WriteCondHandleKey< MuonGM::MuonDetectorManager > m_writeKey
const MuonGMR4::MuonDetectorManager * m_detMgr
StatusCode buildSTGC(const ActsTrk::GeometryContext &gctx, ConstructionCache &cacheObj) const
StatusCode buildMM(const ActsTrk::GeometryContext &gctx, ConstructionCache &cacheObj) const