ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetConditions
SCT_ConditionsAlgorithms
src
SCT_AlignCondAlg.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
3
/*
4
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
#ifndef SCT_CONDITIONSALGORITHMS_SCT_ALIGNCONDALG_H
8
#define SCT_CONDITIONSALGORITHMS_SCT_ALIGNCONDALG_H
9
10
#include "
AthenaBaseComps/AthCondAlgorithm.h
"
11
#include "
StoreGate/ReadCondHandleKey.h
"
12
#include "
StoreGate/WriteCondHandleKey.h
"
13
14
#include "
DetDescrConditions/AlignableTransformContainer.h
"
15
#include "
AthenaPoolUtilities/CondAttrListCollection.h
"
16
#include "
GeoModelUtilities/GeoAlignmentStore.h
"
17
18
namespace
InDetDD
{
19
class
SCT_DetectorManager
;
20
}
21
22
// SCT_AlignCondAlg cannot inherit AthCondAlgorithm.
23
// SCT_AlignCondAlg::execute uses the following methods.
24
// InDetDD::InDetDetectorManager::align
25
// InDetDD::InDetDetectorManager::processAlignmentContainer
26
// InDetDD::InDetDetectorManager::processKey
27
// InDetDD::SCT_DetectorManager::setAlignableTransformDelta
28
// InDetDD::SiDetectorElement::defModuleTransform
29
// InDetDD::SiDetectorElement::defTransform
30
// InDetDD::SiDetectorElement::defTransformCLHEP
31
// GeoVFullPhysVol::getDefAbsoluteTransform
32
// GeoVFullPhysVol::getDefAbsoluteTransform is used without argument.
33
// To be thread-safe, we need to pass non-const GeoVAlignmentStore pointer.
34
// However, we cannot give non-const pointer for SiDetectorElement
35
// in SCT_DetectorManager in the above chain.
36
37
class
SCT_AlignCondAlg
:
public
AthCondAlgorithm
38
{
39
public
:
40
SCT_AlignCondAlg
(
const
std::string& name, ISvcLocator* pSvcLocator);
41
virtual
~SCT_AlignCondAlg
()
override
=
default
;
42
43
virtual
StatusCode
initialize
()
override
;
44
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
45
virtual
StatusCode
finalize
()
override
;
46
47
private
:
48
BooleanProperty
m_useDynamicAlignFolders
{
this
,
"UseDynamicAlignFolders"
,
false
,
"Flag of dynamic or static ID alignment folders"
};
49
SG::ReadCondHandleKey<AlignableTransformContainer>
m_readKeyStatic
{
this
,
"ReadKeyStatic"
,
"/Indet/Align"
,
"Key for the static alignment folder"
};
50
SG::ReadCondHandleKey<CondAttrListCollection>
m_readKeyDynamicL1
{
this
,
"ReadKeyDynamicL1"
,
"/Indet/AlignL1/ID"
,
"Key for the dynamic L1 alignment folder"
};
51
SG::ReadCondHandleKey<CondAttrListCollection>
m_readKeyDynamicL2
{
this
,
"ReadKeyDynamicL2"
,
"/Indet/AlignL2/SCT"
,
"Key for the dynamic L2 alignment folder"
};
52
SG::ReadCondHandleKey<AlignableTransformContainer>
m_readKeyDynamicL3
{
this
,
"ReadKeyDynamicL3"
,
"/Indet/AlignL3"
,
"Key for the dynamic L3 alignment folder"
};
53
SG::WriteCondHandleKey<GeoAlignmentStore>
m_writeKey
;
54
55
const
InDetDD::SCT_DetectorManager
*
m_detManager
{
nullptr
};
56
std::string
m_DetManagerName
;
57
};
58
59
#endif
// SCT_CONDITIONSALGORITHMS_SCT_ALIGNCONDALG_H
AlignableTransformContainer.h
AthCondAlgorithm.h
Base class for conditions algorithms.
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
GeoAlignmentStore.h
ReadCondHandleKey.h
WriteCondHandleKey.h
AthCondAlgorithm
Base class for conditions algorithms.
Definition
AthCondAlgorithm.h:22
InDetDD::SCT_DetectorManager
Dedicated detector manager extending the functionality of the SiDetectorManager with dedicated SCT in...
Definition
SCT_DetectorManager.h:50
SCT_AlignCondAlg::m_readKeyDynamicL2
SG::ReadCondHandleKey< CondAttrListCollection > m_readKeyDynamicL2
Definition
SCT_AlignCondAlg.h:51
SCT_AlignCondAlg::m_readKeyDynamicL3
SG::ReadCondHandleKey< AlignableTransformContainer > m_readKeyDynamicL3
Definition
SCT_AlignCondAlg.h:52
SCT_AlignCondAlg::m_useDynamicAlignFolders
BooleanProperty m_useDynamicAlignFolders
Definition
SCT_AlignCondAlg.h:48
SCT_AlignCondAlg::~SCT_AlignCondAlg
virtual ~SCT_AlignCondAlg() override=default
SCT_AlignCondAlg::m_detManager
const InDetDD::SCT_DetectorManager * m_detManager
Definition
SCT_AlignCondAlg.h:55
SCT_AlignCondAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
SCT_AlignCondAlg.cxx:41
SCT_AlignCondAlg::m_DetManagerName
std::string m_DetManagerName
Definition
SCT_AlignCondAlg.h:56
SCT_AlignCondAlg::finalize
virtual StatusCode finalize() override
Definition
SCT_AlignCondAlg.cxx:141
SCT_AlignCondAlg::m_readKeyDynamicL1
SG::ReadCondHandleKey< CondAttrListCollection > m_readKeyDynamicL1
Definition
SCT_AlignCondAlg.h:50
SCT_AlignCondAlg::m_writeKey
SG::WriteCondHandleKey< GeoAlignmentStore > m_writeKey
Definition
SCT_AlignCondAlg.h:53
SCT_AlignCondAlg::SCT_AlignCondAlg
SCT_AlignCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
SCT_AlignCondAlg.cxx:12
SCT_AlignCondAlg::initialize
virtual StatusCode initialize() override
Definition
SCT_AlignCondAlg.cxx:21
SCT_AlignCondAlg::m_readKeyStatic
SG::ReadCondHandleKey< AlignableTransformContainer > m_readKeyStatic
Definition
SCT_AlignCondAlg.h:49
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::WriteCondHandleKey
Definition
WriteCondHandleKey.h:22
InDetDD
Message Stream Member.
Definition
FakeTrackBuilder.h:8
Generated on
for ATLAS Offline Software by
1.17.0