![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef MUONCONDALGR4_ACTSMUONALIGNCONDALG_H
5 #define MUONCONDALGR4_ACTSMUONALIGNCONDALG_H
22 #include <unordered_map>
41 using deltaMap = std::unordered_map<const GeoAlignableTransform*, std::shared_ptr<const Amg::Transform3D>>;
43 using alignTechMap = std::map<ActsTrk::DetectorType, std::set<const GeoAlignableTransform*>>;
66 std::vector<ActsTrk::DetectorType>
m_techs{};
69 "Key of the ALine container created from the DB"};
72 "Key of the BLine container created from the DB"};
75 "Key of output muon alignment MDT/AsBuilt condition data"};
77 "Key of NswAsBuiltDbData object containing conditions data for NSW as-built params!"};
79 "Key of NswPassivationDbData object containing passivation data for MMs"};
82 "Keys of the alignment technologies"};
83 Gaudi::Property<std::string>
m_keyToken{
this,
"CondKeyToken",
"ActsAlignContainer",
84 "Common name token of all written alignment objects (e.g.) MdtActsAlignContainer"};
92 "Toggles the application of the Nsw as-built parameters"};
95 "Toggles the application of the Mdt as-built parameters"};
virtual StatusCode execute(const EventContext &ctx) const override
Gaudi::Property< bool > m_fillGeoAlignStore
Flag toggling whether the GeoAlignmentStore shall be filled.
StatusCode loadDeltas(const EventContext &ctx, deltaMap &alignDeltas, alignTechMap &techTransforms) const
Loads the ALineContainer from the conditions store and fills the deltaMap with the A-Line delta trans...
DetectorType
Simple enum to Identify the Type of the ACTS sub detector.
StatusCode declareDependencies(const EventContext &ctx, ActsTrk::DetectorType detType, SG::WriteCondHandle< ActsTrk::DetectorAlignStore > &writeHandle) const
Loads the corresponding ReadCondHandles from the Conditions store and adds their IOVs to the dependen...
virtual bool isReEntrant() const override
The MuonReadoutElement is an abstract class representing the geometry representing the muon detector.
Gaudi::Property< bool > m_applyBLines
Apply the chamber deformation model (Mdts + Nsw)
An algorithm that can be simultaneously executed in multiple threads.
Gaudi::Property< bool > m_fillAlignStoreCache
Flag toggling whether the alignment store shall be filled with the transforms or not.
Identifier alignmentId(const MuonGMR4::MuonReadoutElement *reElement) const
Returns the Identifier serving as key to find the alignment parameters connected with the readout ele...
SG::ReadCondHandleKey< NswAsBuiltDbData > m_readNswAsBuiltKey
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::ReadCondHandleKey< MdtAsBuiltContainer > m_readMdtAsBuiltKey
const MuonGMR4::MuonDetectorManager * m_detMgr
SG::WriteCondHandleKeyArray< ActsTrk::DetectorAlignStore > m_writeKeys
SG::ReadCondHandleKey< NswPassivationDbData > m_readNswPassivKey
std::unordered_map< const GeoAlignableTransform *, std::shared_ptr< const Amg::Transform3D > > deltaMap
Association map of the GeoAlignableTransforms with the rigid alignment transformations.
Gaudi::Property< bool > m_applyMmPassivation
Gaudi::Property< bool > m_applyNswAsBuilt
std::vector< ActsTrk::DetectorType > m_techs
std::map< ActsTrk::DetectorType, std::set< const GeoAlignableTransform * > > alignTechMap
Association map of the GeoAlignable transforms with the detector technologies.
virtual StatusCode initialize() override
virtual ~ActsMuonAlignCondAlg()=default
StatusCode loadStgcDeformPars(const EventContext &ctx, ActsTrk::DetectorAlignStore &store) const
ActsMuonAlignCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
StatusCode loadMdtDeformPars(const EventContext &ctx, ActsTrk::DetectorAlignStore &store) const
Loads the BLine container and the Mdt-as built parameters from the Conditions store and stores them i...
SG::ReadCondHandleKey< BLineContainer > m_readKeyBLines
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
StatusCode loadMmDeformPars(const EventContext &ctx, ActsTrk::DetectorAlignStore &store) const
Gaudi::Property< std::string > m_keyToken
Gaudi::Property< bool > m_applyALines
Apply translations and rotations to align the Muon stations.
SG::ReadCondHandleKey< ALineContainer > m_readKeyALines
Gaudi::Property< bool > m_applyMdtAsBuilt