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 AthCondAlgorithm::AthCondAlgorithm;
37 StatusCode
execute(
const EventContext& ctx)
const override;
45 std::unique_ptr<MuonGM::MuonDetectorManager>
detMgr{};
65 ConstructionCache& cacheObj)
const;
72 ConstructionCache& cacheObj,
73 GeoIntrusivePtr<GeoVFullPhysVol>& clonedPhysVol,
78 ConstructionCache& cacheObj)
const;
81 ConstructionCache& cacheObj)
const;
84 ConstructionCache& cacheObj)
const;
87 ConstructionCache& cacheObj)
const;
90 ConstructionCache& cacheObj)
const;
93 ConstructionCache& cacheObj)
const;
125 Gaudi::Property<bool>
m_checkGeo{
this,
"checkGeo",
false,
"Checks the positions of the sensors"};
126 Gaudi::Property<bool>
m_dumpGeo{
this,
"dumpGeo",
false,
"Dumps the constructed geometry"};
127 Gaudi::Property<std::string>
m_geoDumpName{
this,
"geoDumpName",
"ConvMuonGeoModel.db",};
Base class for conditions algorithms.
Base class for conditions algorithms.
The MuonReadoutElement is an abstract class representing the geometry representing the muon detector.
StatusCode buildStation(const ActsTrk::GeometryContext &gctx, const Identifier &stationId, ConstructionCache &cacheObj) const
builds a station object from readout element.
~ReadoutGeomCnvAlg()=default
Gaudi::Property< std::string > m_geoDumpName
StatusCode buildMdt(const ActsTrk::GeometryContext &gctx, ConstructionCache &cacheObj) const
StatusCode initialize() override
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.
StatusCode execute(const EventContext &ctx) const override
SG::WriteCondHandleKey< MuonGM::MuonDetectorManager > m_writeKey
StatusCode buildRpc(const ActsTrk::GeometryContext &gctx, ConstructionCache &cacheObj) const
GeoIntrusivePtr< GeoVFullPhysVol > cloneNswWedge(const ActsTrk::GeometryContext &gctx, const MuonGMR4::MuonReadoutElement *nswRE, ConstructionCache &cacheObj) const
Clones the fullPhysicalVolume of the.
StatusCode buildTgc(const ActsTrk::GeometryContext &gctx, ConstructionCache &cacheObj) const
Gaudi::Property< bool > m_dumpGeo
StatusCode buildSTGC(const ActsTrk::GeometryContext &gctx, ConstructionCache &cacheObj) const
StatusCode dumpAndCompare(const ActsTrk::GeometryContext &gctx, const MuonGMR4::RpcReadoutElement &refEle, const MuonGM::RpcReadoutElement &testEle) const
StatusCode checkIdCompability(const MuonGMR4::MuonReadoutElement &refEle, const MuonGM::MuonReadoutElement &testEle) const
StatusCode buildMM(const ActsTrk::GeometryContext &gctx, ConstructionCache &cacheObj) const
SG::ReadCondHandleKeyArray< ActsTrk::DetectorAlignStore > m_alignStoreKeys
const MuonGMR4::MuonDetectorManager * m_detMgr
Gaudi::Property< bool > m_checkGeo
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
An MMReadoutElement corresponds to a single STGC module; therefore typicaly a barrel muon station con...
Base class for the XxxReadoutElement, with Xxx = Mdt, Rpc, Tgc, Csc.
An RpcReadoutElement corresponds to a single RPC module; therefore typicaly a barrel muon station con...
A TgcReadoutElement corresponds to a single TGC chamber; therefore typically a TGC station contains s...
An sTgcReadoutElement corresponds to a single STGC module; therefore typicaly a barrel muon station c...
The ReadoutGeomCnvAlg converts the Run4 Readout geometry build from the GeoModelXML into the legacy M...
HandleKeyArray< ReadCondHandle< T >, CondHandleDefault::Key< ReadCondHandleKey< T > >, Gaudi::DataHandle::Reader > ReadCondHandleKeyArray
PVLink world
Pointer to the world.
std::unique_ptr< MuonGM::MuonDetectorManager > detMgr
Pointer to the legacy MuonDetectorManager.
GeoIntrusivePtr< GeoIdentifierTag > newIdTag()
Returns an identifier tag.
std::set< PVConstLink > translatedStations
Set of all translated Physical volumes.
ConstructionCache()=default