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"
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  virtual bool isReEntrant() const override final { return false; }
32 
33  private:
35  Gaudi::Property<bool> m_applyMmPassivation{this, "applyMmPassivation", false};
36 
37  Gaudi::Property<bool> m_applyNswAsBuilt{this, "applyNswAsBuilt", true,
38  "Toggles the application of the Nsw as-built parameters"};
39  Gaudi::Property<bool> m_applysTGCAsBuilt2{this, "applysTGCAsBuilt2", false,
40  "Toggles the application of the alternative sTGC as-built parameters"};
41 
42  Gaudi::Property<bool> m_applyMdtAsBuilt{this, "applyMdtAsBuilt", true,
43  "Toggles the application of the Mdt as-built parameters"};
45  Gaudi::Property<bool> m_applyALines{this, "applyALines", true};
47  Gaudi::Property<bool> m_applyBLines{this, "applyBLines", true};
49  Gaudi::Property<bool> m_applyILines{this, "applyILines", true};
50 
51  ToolHandle<MuonDetectorTool> m_iGeoModelTool{this, "MuonDetectorTool", "MuonDetectorTool", "The MuonDetector tool"};
52  ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
53 
54  // Read Handles
55  SG::ReadCondHandleKey<ALineContainer> m_readALineKey{this, "ReadALineKey", "ALineContainer", "Key of input muon alignment ALine condition data"};
56  SG::ReadCondHandleKey<BLineContainer> m_readBLineKey{this, "ReadBLineKey", "BLineContainer", "Key of input muon alignment BLine condition data"};
57  SG::ReadCondHandleKey<ALineContainer> m_readILineKey{this, "ReadILineKey", "CscInternalAlignmentContainer",
58  "Key of input muon alignment CSC/ILine condition data"};
59  SG::ReadCondHandleKey<MdtAsBuiltContainer> m_readMdtAsBuiltKey{this, "ReadMdtAsBuiltKey", "MdtAsBuiltContainer", "Key of output muon alignment MDT/AsBuilt condition data"};
60  SG::ReadCondHandleKey<NswAsBuiltDbData> m_readNswAsBuiltKey{this, "ReadNswAsBuiltKey", "NswAsBuiltDbData", "Key of NswAsBuiltDbData object containing conditions data for NSW as-built params!"};
61  SG::ReadCondHandleKey<sTGCAsBuiltData2> m_readsTGCAsBuilt2Key{this, "ReadsTGCAsBuilt2Key", "sTGCAsBuilt2", "Key of sTGCAsBuiltData2 object containing conditions data for alternative sTGC as-built model!"};
62  SG::ReadCondHandleKey<NswPassivationDbData> m_condMmPassivKey {this, "condMmPassivKey", "NswPassivationDbData", "Key of NswPassivationDbData object containing passivation data for MMs"};
63 
64  // Write Handle
65  SG::WriteCondHandleKey<MuonGM::MuonDetectorManager> m_writeDetectorManagerKey{this, "WriteDetectorManagerKey", "MuonDetectorManager",
66  "Key of output MuonDetectorManager condition data"};
67 };
68 
69 #endif
MuonDetectorCondAlg::m_applysTGCAsBuilt2
Gaudi::Property< bool > m_applysTGCAsBuilt2
Definition: MuonDetectorCondAlg.h:39
MuonDetectorCondAlg::m_condMmPassivKey
SG::ReadCondHandleKey< NswPassivationDbData > m_condMmPassivKey
Definition: MuonDetectorCondAlg.h:62
MuonDetectorCondAlg::MuonDetectorCondAlg
MuonDetectorCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: MuonDetectorCondAlg.cxx:20
MuonDetectorCondAlg::m_readNswAsBuiltKey
SG::ReadCondHandleKey< NswAsBuiltDbData > m_readNswAsBuiltKey
Definition: MuonDetectorCondAlg.h:60
MuonDetectorCondAlg::m_iGeoModelTool
ToolHandle< MuonDetectorTool > m_iGeoModelTool
Definition: MuonDetectorCondAlg.h:51
MuonDetectorCondAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition: MuonDetectorCondAlg.cxx:43
WriteCondHandleKey.h
MuonDetectorCondAlg::m_applyALines
Gaudi::Property< bool > m_applyALines
Apply translations and rotations to align the Muon stations.
Definition: MuonDetectorCondAlg.h:45
MuonDetectorCondAlg::m_readBLineKey
SG::ReadCondHandleKey< BLineContainer > m_readBLineKey
Definition: MuonDetectorCondAlg.h:56
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
MuonDetectorTool.h
MuonDetectorCondAlg::m_readILineKey
SG::ReadCondHandleKey< ALineContainer > m_readILineKey
Definition: MuonDetectorCondAlg.h:57
MuonDetectorCondAlg::m_applyNswAsBuilt
Gaudi::Property< bool > m_applyNswAsBuilt
Definition: MuonDetectorCondAlg.h:37
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:52
MuonDetectorCondAlg::copyInertMaterial
StatusCode copyInertMaterial(MuonGM::MuonDetectorManager &detMgr) const
Definition: MuonDetectorCondAlg.cxx:185
MuonDetectorCondAlg::m_applyBLines
Gaudi::Property< bool > m_applyBLines
Apply the chamber deformation model (Mdts + Nsw)
Definition: MuonDetectorCondAlg.h:47
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:55
ReadCondHandleKey.h
AthReentrantAlgorithm.h
MuonDetectorCondAlg::m_readsTGCAsBuilt2Key
SG::ReadCondHandleKey< sTGCAsBuiltData2 > m_readsTGCAsBuilt2Key
Definition: MuonDetectorCondAlg.h:61
MuonDetectorCondAlg
Definition: MuonDetectorCondAlg.h:20
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
sTGCAsBuiltData2.h
MuonDetectorCondAlg::m_readMdtAsBuiltKey
SG::ReadCondHandleKey< MdtAsBuiltContainer > m_readMdtAsBuiltKey
Definition: MuonDetectorCondAlg.h:59
MuonDetectorCondAlg::m_applyILines
Gaudi::Property< bool > m_applyILines
Apply internal transformations on the CSCs.
Definition: MuonDetectorCondAlg.h:49
MuonDetectorManager.h
SG::ReadCondHandleKey< ALineContainer >
MuonDetectorCondAlg::m_writeDetectorManagerKey
SG::WriteCondHandleKey< MuonGM::MuonDetectorManager > m_writeDetectorManagerKey
Definition: MuonDetectorCondAlg.h:65
MuonDetectorCondAlg::isReEntrant
virtual bool isReEntrant() const override final
Definition: MuonDetectorCondAlg.h:31
MuonGM::MuonDetectorManager
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:50
MuonDetectorCondAlg::m_applyMdtAsBuilt
Gaudi::Property< bool > m_applyMdtAsBuilt
Definition: MuonDetectorCondAlg.h:42
SG::WriteCondHandleKey< MuonGM::MuonDetectorManager >
MuonDetectorCondAlg::m_applyMmPassivation
Gaudi::Property< bool > m_applyMmPassivation
Definition: MuonDetectorCondAlg.h:35
MuonDetectorCondAlg::initialize
virtual StatusCode initialize() override final
Definition: MuonDetectorCondAlg.cxx:23
MuonDetectorCondAlg::~MuonDetectorCondAlg
virtual ~MuonDetectorCondAlg()=default
IMuonIdHelperSvc.h
ServiceHandle< Muon::IMuonIdHelperSvc >