ATLAS Offline Software
Loading...
Searching...
No Matches
MuonDetectorCondAlg.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 MUONGEOMODEL_MUONDETECTORCONDALG_H
6#define MUONGEOMODEL_MUONDETECTORCONDALG_H
7
9#include "GaudiKernel/ToolHandle.h"
19
21
22 public:
23 // Standard Constructor
24 MuonDetectorCondAlg(const std::string &name, ISvcLocator *pSvcLocator);
25
26 // Standard Destructor
27 virtual ~MuonDetectorCondAlg() = default;
28
29 virtual StatusCode initialize() override final;
30 virtual StatusCode execute(const EventContext& ctx) const override final;
31
32 private:
33 StatusCode copyInertMaterial(MuonGM::MuonDetectorManager& detMgr) const;
34 Gaudi::Property<bool> m_applyMmPassivation{this, "applyMmPassivation", false};
35
36 Gaudi::Property<bool> m_applyNswAsBuilt{this, "applyNswAsBuilt", true,
37 "Toggles the application of the Nsw as-built parameters"};
38 Gaudi::Property<bool> m_applysTGCAsBuilt{this, "applysTGCAsBuilt", false,
39 "Toggles the application of the alternative sTGC as-built parameters"};
40
41 Gaudi::Property<bool> m_applyMdtAsBuilt{this, "applyMdtAsBuilt", true,
42 "Toggles the application of the Mdt as-built parameters"};
43
44 Gaudi::Property<bool> m_applyALines{this, "applyALines", true};
46 Gaudi::Property<bool> m_applyBLines{this, "applyBLines", true};
48 Gaudi::Property<bool> m_applyILines{this, "applyILines", true};
49
50 ToolHandle<MuonDetectorTool> m_iGeoModelTool{this, "MuonDetectorTool", "MuonDetectorTool", "The MuonDetector tool"};
51 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
52
53 // Read Handles
54 SG::ReadCondHandleKey<ALineContainer> m_readALineKey{this, "ReadALineKey", "ALineContainer", "Key of input muon alignment ALine condition data"};
55 SG::ReadCondHandleKey<BLineContainer> m_readBLineKey{this, "ReadBLineKey", "BLineContainer", "Key of input muon alignment BLine condition data"};
56 SG::ReadCondHandleKey<ALineContainer> m_readILineKey{this, "ReadILineKey", "CscInternalAlignmentContainer",
57 "Key of input muon alignment CSC/ILine condition data"};
58 SG::ReadCondHandleKey<MdtAsBuiltContainer> m_readMdtAsBuiltKey{this, "ReadMdtAsBuiltKey", "MdtAsBuiltContainer", "Key of output muon alignment MDT/AsBuilt condition data"};
59 SG::ReadCondHandleKey<NswAsBuiltDbData> m_readNswAsBuiltKey{this, "ReadNswAsBuiltKey", "NswAsBuiltDbData", "Key of NswAsBuiltDbData object containing conditions data for NSW as-built params!"};
60 SG::ReadCondHandleKey<sTGCAsBuiltData> m_readsTGCAsBuiltKey{this, "ReadsTGCAsBuiltKey", "sTGCAsBuilt", "Key of sTGCAsBuiltData object containing conditions data for the sTGC as-built model!"};
61 SG::ReadCondHandleKey<NswPassivationDbData> m_condMmPassivKey {this, "condMmPassivKey", "NswPassivationDbData", "Key of NswPassivationDbData object containing passivation data for MMs"};
62
63 // Write Handle
64 SG::WriteCondHandleKey<MuonGM::MuonDetectorManager> m_writeDetectorManagerKey{this, "WriteDetectorManagerKey", "MuonDetectorManager",
65 "Key of output MuonDetectorManager condition data"};
66};
67
68#endif
Base class for conditions algorithms.
Base class for conditions algorithms.
SG::ReadCondHandleKey< ALineContainer > m_readILineKey
Gaudi::Property< bool > m_applyBLines
Apply the chamber deformation model (Mdts + Nsw)
Gaudi::Property< bool > m_applyNswAsBuilt
StatusCode copyInertMaterial(MuonGM::MuonDetectorManager &detMgr) const
SG::ReadCondHandleKey< BLineContainer > m_readBLineKey
virtual ~MuonDetectorCondAlg()=default
virtual StatusCode initialize() override final
SG::ReadCondHandleKey< sTGCAsBuiltData > m_readsTGCAsBuiltKey
ToolHandle< MuonDetectorTool > m_iGeoModelTool
SG::ReadCondHandleKey< NswAsBuiltDbData > m_readNswAsBuiltKey
Gaudi::Property< bool > m_applyALines
Apply translations and rotations to align the Muon stations.
SG::WriteCondHandleKey< MuonGM::MuonDetectorManager > m_writeDetectorManagerKey
SG::ReadCondHandleKey< ALineContainer > m_readALineKey
MuonDetectorCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
SG::ReadCondHandleKey< NswPassivationDbData > m_condMmPassivKey
Gaudi::Property< bool > m_applysTGCAsBuilt
SG::ReadCondHandleKey< MdtAsBuiltContainer > m_readMdtAsBuiltKey
virtual StatusCode execute(const EventContext &ctx) const override final
Gaudi::Property< bool > m_applyMdtAsBuilt
Gaudi::Property< bool > m_applyMmPassivation
Gaudi::Property< bool > m_applyILines
Apply internal transformations on the CSCs.
Support class for PropertyMgr.
Definition Property.h:23
=============================================================================
Ensure that the Athena extensions are properly loaded.
Definition GeoMuonHits.h:27
#define private