ATLAS Offline Software
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"
18 
20 
21  public:
22  // Standard Constructor
23  MuonDetectorCondAlg(const std::string &name, ISvcLocator *pSvcLocator);
24 
25  // Standard Destructor
26  virtual ~MuonDetectorCondAlg() = default;
27 
28  virtual StatusCode initialize() override final;
29  virtual StatusCode execute(const EventContext& ctx) const override final;
30  virtual bool isReEntrant() const override final { return false; }
31 
32  private:
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 
39  Gaudi::Property<bool> m_applyMdtAsBuilt{this, "applyMdtAsBuilt", true,
40  "Toggles the application of the Mdt as-built parameters"};
42  Gaudi::Property<bool> m_applyALines{this, "applyALines", true};
44  Gaudi::Property<bool> m_applyBLines{this, "applyBLines", true};
46  Gaudi::Property<bool> m_applyILines{this, "applyILines", true};
47 
48  ToolHandle<MuonDetectorTool> m_iGeoModelTool{this, "MuonDetectorTool", "MuonDetectorTool", "The MuonDetector tool"};
49  ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
50 
51  // Read Handles
52  SG::ReadCondHandleKey<ALineContainer> m_readALineKey{this, "ReadALineKey", "ALineContainer", "Key of input muon alignment ALine condition data"};
53  SG::ReadCondHandleKey<BLineContainer> m_readBLineKey{this, "ReadBLineKey", "BLineContainer", "Key of input muon alignment BLine condition data"};
54  SG::ReadCondHandleKey<ALineContainer> m_readILineKey{this, "ReadILineKey", "CscInternalAlignmentContainer",
55  "Key of input muon alignment CSC/ILine condition data"};
56  SG::ReadCondHandleKey<MdtAsBuiltContainer> m_readMdtAsBuiltKey{this, "ReadMdtAsBuiltKey", "MdtAsBuiltContainer", "Key of output muon alignment MDT/AsBuilt condition data"};
57  SG::ReadCondHandleKey<NswAsBuiltDbData> m_readNswAsBuiltKey{this, "ReadNswAsBuiltKey", "NswAsBuiltDbData", "Key of NswAsBuiltDbData object containing conditions data for NSW as-built params!"};
58  SG::ReadCondHandleKey<NswPassivationDbData> m_condMmPassivKey {this, "condMmPassivKey", "NswPassivationDbData", "Key of NswPassivationDbData object containing passivation data for MMs"};
59 
60  // Write Handle
61  SG::WriteCondHandleKey<MuonGM::MuonDetectorManager> m_writeDetectorManagerKey{this, "WriteDetectorManagerKey", "MuonDetectorManager",
62  "Key of output MuonDetectorManager condition data"};
63 };
64 
65 #endif
MuonDetectorCondAlg::m_condMmPassivKey
SG::ReadCondHandleKey< NswPassivationDbData > m_condMmPassivKey
Definition: MuonDetectorCondAlg.h:58
MuonDetectorCondAlg::MuonDetectorCondAlg
MuonDetectorCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: MuonDetectorCondAlg.cxx:20
MuonDetectorCondAlg::m_readNswAsBuiltKey
SG::ReadCondHandleKey< NswAsBuiltDbData > m_readNswAsBuiltKey
Definition: MuonDetectorCondAlg.h:57
MuonDetectorCondAlg::m_iGeoModelTool
ToolHandle< MuonDetectorTool > m_iGeoModelTool
Definition: MuonDetectorCondAlg.h:48
MuonDetectorCondAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition: MuonDetectorCondAlg.cxx:42
WriteCondHandleKey.h
MuonDetectorCondAlg::m_applyALines
Gaudi::Property< bool > m_applyALines
Apply translations and rotations to align the Muon stations.
Definition: MuonDetectorCondAlg.h:42
MuonDetectorCondAlg::m_readBLineKey
SG::ReadCondHandleKey< BLineContainer > m_readBLineKey
Definition: MuonDetectorCondAlg.h:53
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:562
MuonDetectorTool.h
MuonDetectorCondAlg::m_readILineKey
SG::ReadCondHandleKey< ALineContainer > m_readILineKey
Definition: MuonDetectorCondAlg.h:54
MuonDetectorCondAlg::m_applyNswAsBuilt
Gaudi::Property< bool > m_applyNswAsBuilt
Definition: MuonDetectorCondAlg.h:36
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
MuonDetectorCondAlg::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: MuonDetectorCondAlg.h:49
MuonDetectorCondAlg::copyInertMaterial
StatusCode copyInertMaterial(MuonGM::MuonDetectorManager &detMgr) const
Definition: MuonDetectorCondAlg.cxx:173
MuonDetectorCondAlg::m_applyBLines
Gaudi::Property< bool > m_applyBLines
Apply the chamber deformation model (Mdts + Nsw)
Definition: MuonDetectorCondAlg.h:44
CorrContainer.h
NswAsBuiltDbData.h
NswPassivationDbData.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
MuonDetectorCondAlg::m_readALineKey
SG::ReadCondHandleKey< ALineContainer > m_readALineKey
Definition: MuonDetectorCondAlg.h:52
ReadCondHandleKey.h
AthReentrantAlgorithm.h
MuonDetectorCondAlg
Definition: MuonDetectorCondAlg.h:19
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
MuonDetectorCondAlg::m_readMdtAsBuiltKey
SG::ReadCondHandleKey< MdtAsBuiltContainer > m_readMdtAsBuiltKey
Definition: MuonDetectorCondAlg.h:56
MuonDetectorCondAlg::m_applyILines
Gaudi::Property< bool > m_applyILines
Apply internal transformations on the CSCs.
Definition: MuonDetectorCondAlg.h:46
MuonDetectorManager.h
SG::ReadCondHandleKey< ALineContainer >
MuonDetectorCondAlg::m_writeDetectorManagerKey
SG::WriteCondHandleKey< MuonGM::MuonDetectorManager > m_writeDetectorManagerKey
Definition: MuonDetectorCondAlg.h:61
MuonDetectorCondAlg::isReEntrant
virtual bool isReEntrant() const override final
Definition: MuonDetectorCondAlg.h:30
MuonGM::MuonDetectorManager
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:49
MuonDetectorCondAlg::m_applyMdtAsBuilt
Gaudi::Property< bool > m_applyMdtAsBuilt
Definition: MuonDetectorCondAlg.h:39
SG::WriteCondHandleKey< MuonGM::MuonDetectorManager >
MuonDetectorCondAlg::m_applyMmPassivation
Gaudi::Property< bool > m_applyMmPassivation
Definition: MuonDetectorCondAlg.h:34
MuonDetectorCondAlg::initialize
virtual StatusCode initialize() override final
Definition: MuonDetectorCondAlg.cxx:23
MuonDetectorCondAlg::~MuonDetectorCondAlg
virtual ~MuonDetectorCondAlg()=default
IMuonIdHelperSvc.h
ServiceHandle< Muon::IMuonIdHelperSvc >