ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonDetDescr
MuonGeoModel
MuonGeoModel
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
8
#include "
AthenaBaseComps/AthCondAlgorithm.h
"
9
#include "GaudiKernel/ToolHandle.h"
10
#include "
MuonAlignmentData/CorrContainer.h
"
11
#include "
MuonAlignmentData/NswAsBuiltDbData.h
"
12
#include "
MuonAlignmentData/sTGCAsBuiltData.h
"
13
#include "
MuonGeoModel/MuonDetectorTool.h
"
14
#include "
MuonReadoutGeometry/MuonDetectorManager.h
"
15
#include "
MuonAlignmentData/NswPassivationDbData.h
"
16
#include "
StoreGate/ReadCondHandleKey.h
"
17
#include "
StoreGate/WriteCondHandleKey.h
"
18
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
19
20
class
MuonDetectorCondAlg
:
public
AthCondAlgorithm
{
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 sTGC as-built parameters"
};
40
Gaudi::Property<bool>
m_applyMmAsBuilt2
{
this
,
"applyMmAsBuilt2"
,
false
,
41
"Toggles the application of the alternative MM as-built parameters"
};
42
43
Gaudi::Property<bool>
m_applyMdtAsBuilt
{
this
,
"applyMdtAsBuilt"
,
true
,
44
"Toggles the application of the Mdt as-built parameters"
};
45
46
Gaudi::Property<bool>
m_applyALines
{
this
,
"applyALines"
,
true
};
48
Gaudi::Property<bool>
m_applyBLines
{
this
,
"applyBLines"
,
true
};
50
Gaudi::Property<bool>
m_applyILines
{
this
,
"applyILines"
,
true
};
51
52
ToolHandle<MuonDetectorTool>
m_iGeoModelTool
{
this
,
"MuonDetectorTool"
,
"MuonDetectorTool"
,
"The MuonDetector tool"
};
53
ServiceHandle<Muon::IMuonIdHelperSvc>
m_idHelperSvc
{
this
,
"MuonIdHelperSvc"
,
"Muon::MuonIdHelperSvc/MuonIdHelperSvc"
};
54
55
// Read Handles
56
SG::ReadCondHandleKey<ALineContainer>
m_readALineKey
{
this
,
"ReadALineKey"
,
"ALineContainer"
,
"Key of input muon alignment ALine condition data"
};
57
SG::ReadCondHandleKey<BLineContainer>
m_readBLineKey
{
this
,
"ReadBLineKey"
,
"BLineContainer"
,
"Key of input muon alignment BLine condition data"
};
58
SG::ReadCondHandleKey<ALineContainer>
m_readILineKey
{
this
,
"ReadILineKey"
,
"CscInternalAlignmentContainer"
,
59
"Key of input muon alignment CSC/ILine condition data"
};
60
SG::ReadCondHandleKey<MdtAsBuiltContainer>
m_readMdtAsBuiltKey
{
this
,
"ReadMdtAsBuiltKey"
,
"MdtAsBuiltContainer"
,
"Key of output muon alignment MDT/AsBuilt condition data"
};
61
SG::ReadCondHandleKey<NswAsBuiltDbData>
m_readNswAsBuiltKey
{
this
,
"ReadNswAsBuiltKey"
,
"NswAsBuiltDbData"
,
"Key of NswAsBuiltDbData object containing conditions data for NSW as-built params!"
};
62
SG::ReadCondHandleKey<sTGCAsBuiltData>
m_readsTGCAsBuiltKey
{
this
,
"ReadsTGCAsBuiltKey"
,
"sTGCAsBuilt"
,
"Key of sTGCAsBuiltData object containing conditions data for the sTGC as-built model!"
};
63
SG::ReadCondHandleKey<sTGCAsBuiltData>
m_readMmAsBuilt2Key
{
this
,
"ReadMmAsBuilt2Key"
,
""
,
"Key of sTGCAsBuiltData object containing conditions data for the sTGC as-built model!"
};
64
SG::ReadCondHandleKey<NswPassivationDbData>
m_condMmPassivKey
{
this
,
"condMmPassivKey"
,
"NswPassivationDbData"
,
"Key of NswPassivationDbData object containing passivation data for MMs"
};
65
66
// Write Handle
67
SG::WriteCondHandleKey<MuonGM::MuonDetectorManager>
m_writeDetectorManagerKey
{
this
,
"WriteDetectorManagerKey"
,
"MuonDetectorManager"
,
68
"Key of output MuonDetectorManager condition data"
};
69
};
70
71
#endif
AthCondAlgorithm.h
Base class for conditions algorithms.
CorrContainer.h
IMuonIdHelperSvc.h
MuonDetectorTool.h
MuonDetectorManager.h
NswAsBuiltDbData.h
NswPassivationDbData.h
ReadCondHandleKey.h
WriteCondHandleKey.h
AthCondAlgorithm
Base class for conditions algorithms.
Definition
AthCondAlgorithm.h:22
MuonDetectorCondAlg::m_readILineKey
SG::ReadCondHandleKey< ALineContainer > m_readILineKey
Definition
MuonDetectorCondAlg.h:58
MuonDetectorCondAlg::m_applyBLines
Gaudi::Property< bool > m_applyBLines
Apply the chamber deformation model (Mdts + Nsw).
Definition
MuonDetectorCondAlg.h:48
MuonDetectorCondAlg::m_applyNswAsBuilt
Gaudi::Property< bool > m_applyNswAsBuilt
Definition
MuonDetectorCondAlg.h:36
MuonDetectorCondAlg::copyInertMaterial
StatusCode copyInertMaterial(MuonGM::MuonDetectorManager &detMgr) const
Definition
MuonDetectorCondAlg.cxx:192
MuonDetectorCondAlg::m_readBLineKey
SG::ReadCondHandleKey< BLineContainer > m_readBLineKey
Definition
MuonDetectorCondAlg.h:57
MuonDetectorCondAlg::~MuonDetectorCondAlg
virtual ~MuonDetectorCondAlg()=default
MuonDetectorCondAlg::initialize
virtual StatusCode initialize() override final
Definition
MuonDetectorCondAlg.cxx:23
MuonDetectorCondAlg::m_readsTGCAsBuiltKey
SG::ReadCondHandleKey< sTGCAsBuiltData > m_readsTGCAsBuiltKey
Definition
MuonDetectorCondAlg.h:62
MuonDetectorCondAlg::m_iGeoModelTool
ToolHandle< MuonDetectorTool > m_iGeoModelTool
Definition
MuonDetectorCondAlg.h:52
MuonDetectorCondAlg::m_readNswAsBuiltKey
SG::ReadCondHandleKey< NswAsBuiltDbData > m_readNswAsBuiltKey
Definition
MuonDetectorCondAlg.h:61
MuonDetectorCondAlg::m_applyALines
Gaudi::Property< bool > m_applyALines
Apply translations and rotations to align the Muon stations.
Definition
MuonDetectorCondAlg.h:46
MuonDetectorCondAlg::m_writeDetectorManagerKey
SG::WriteCondHandleKey< MuonGM::MuonDetectorManager > m_writeDetectorManagerKey
Definition
MuonDetectorCondAlg.h:67
MuonDetectorCondAlg::m_readALineKey
SG::ReadCondHandleKey< ALineContainer > m_readALineKey
Definition
MuonDetectorCondAlg.h:56
MuonDetectorCondAlg::MuonDetectorCondAlg
MuonDetectorCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
MuonDetectorCondAlg.cxx:20
MuonDetectorCondAlg::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition
MuonDetectorCondAlg.h:53
MuonDetectorCondAlg::m_condMmPassivKey
SG::ReadCondHandleKey< NswPassivationDbData > m_condMmPassivKey
Definition
MuonDetectorCondAlg.h:64
MuonDetectorCondAlg::m_applysTGCAsBuilt
Gaudi::Property< bool > m_applysTGCAsBuilt
Definition
MuonDetectorCondAlg.h:38
MuonDetectorCondAlg::m_readMdtAsBuiltKey
SG::ReadCondHandleKey< MdtAsBuiltContainer > m_readMdtAsBuiltKey
Definition
MuonDetectorCondAlg.h:60
MuonDetectorCondAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition
MuonDetectorCondAlg.cxx:44
MuonDetectorCondAlg::m_readMmAsBuilt2Key
SG::ReadCondHandleKey< sTGCAsBuiltData > m_readMmAsBuilt2Key
Definition
MuonDetectorCondAlg.h:63
MuonDetectorCondAlg::m_applyMdtAsBuilt
Gaudi::Property< bool > m_applyMdtAsBuilt
Definition
MuonDetectorCondAlg.h:43
MuonDetectorCondAlg::m_applyMmPassivation
Gaudi::Property< bool > m_applyMmPassivation
Definition
MuonDetectorCondAlg.h:34
MuonDetectorCondAlg::m_applyMmAsBuilt2
Gaudi::Property< bool > m_applyMmAsBuilt2
Definition
MuonDetectorCondAlg.h:40
MuonDetectorCondAlg::m_applyILines
Gaudi::Property< bool > m_applyILines
Apply internal transformations on the CSCs.
Definition
MuonDetectorCondAlg.h:50
Property
Support class for PropertyMgr.
Definition
Property.h:23
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::WriteCondHandleKey
Definition
WriteCondHandleKey.h:22
ServiceHandle
Definition
ClusterMakerTool.h:36
const
Gaudi
=============================================================================
Definition
CaloGPUClusterAndCellDataMonitorOptions.h:273
MuonGM
Ensure that the Athena extensions are properly loaded.
Definition
GeoMuonHits.h:27
sTGCAsBuiltData.h
private
#define private
Definition
testRead.cxx:27
Generated on
for ATLAS Offline Software by
1.17.0