ATLAS Offline Software
InnerDetector
InDetDetDescr
InDetRegionSelector
src
SiRegSelCondAlg.h
Go to the documentation of this file.
1
11
#ifndef SiRegSelCondAlg_h
12
#define SiRegSelCondAlg_h
13
14
#include "GaudiKernel/ISvcLocator.h"
15
16
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
17
18
#include "
PixelConditionsData/PixelCablingCondData.h
"
19
#include "
SCT_Cabling/SCT_CablingData.h
"
20
#include "
InDetReadoutGeometry/SiDetectorElementCollection.h
"
21
#include "
StoreGate/ReadCondHandleKey.h
"
22
23
#include "
StoreGate/WriteCondHandleKey.h
"
24
25
#include "
IRegionSelector/IRegSelLUTCondData.h
"
26
27
#include <string>
28
29
31
32
class
SiRegSelCondAlg
:
public
AthReentrantAlgorithm
{
33
34
public
:
35
36
SiRegSelCondAlg
(
const
std::string&
name
, ISvcLocator* pSvcLocator );
37
38
virtual
StatusCode
initialize
()
override
;
39
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
40
41
private
:
42
43
std::string
m_managerName
;
44
bool
m_printTable
{
false
};
45
bool
m_useCabling
{
true
};
46
49
50
SG::ReadCondHandleKey<SCT_CablingData>
m_sctCablingKey
51
{
this
,
"SCT_CablingData"
,
""
,
"SCT cabling key"
};
52
53
SG::ReadCondHandleKey<PixelCablingCondData>
m_pixCablingKey
54
{
this
,
"PixelCablingCondData"
,
""
,
"Pixel cabling key"
};
55
56
SG::ReadCondHandleKey<InDetDD::SiDetectorElementCollection>
m_detEleCollKey
57
{
this
,
"DetEleCollKey"
,
"PixelDetectorElementCollection"
,
"Key of SiDetectorElementCollection for Pixel/SCT"
};
58
60
SG::WriteCondHandleKey<IRegSelLUTCondData>
m_tableKey
61
{
this
,
"RegSelLUT"
,
"RegSelLUTCondData"
,
"Region Selector lookup table"
};
62
63
};
64
65
#endif // SiRegSelCondAlg_h
SiRegSelCondAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition:
SiRegSelCondAlg.cxx:59
PixelCablingCondData.h
SiRegSelCondAlg::m_printTable
bool m_printTable
Definition:
SiRegSelCondAlg.h:44
SiRegSelCondAlg::m_useCabling
bool m_useCabling
Definition:
SiRegSelCondAlg.h:45
SiRegSelCondAlg::SiRegSelCondAlg
SiRegSelCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition:
SiRegSelCondAlg.cxx:31
SiRegSelCondAlg::initialize
virtual StatusCode initialize() override
Definition:
SiRegSelCondAlg.cxx:44
WriteCondHandleKey.h
SiRegSelCondAlg::m_managerName
std::string m_managerName
Definition:
SiRegSelCondAlg.h:43
SiRegSelCondAlg::m_pixCablingKey
SG::ReadCondHandleKey< PixelCablingCondData > m_pixCablingKey
Definition:
SiRegSelCondAlg.h:54
SiRegSelCondAlg::m_sctCablingKey
SG::ReadCondHandleKey< SCT_CablingData > m_sctCablingKey
Sadly the PIxel and SCT cabling are different classes so need both, even if only one is to be used.
Definition:
SiRegSelCondAlg.h:51
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition:
AthReentrantAlgorithm.h:83
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
SiRegSelCondAlg::m_detEleCollKey
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_detEleCollKey
Definition:
SiRegSelCondAlg.h:57
ReadCondHandleKey.h
IRegSelLUTCondData.h
AthReentrantAlgorithm.h
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
SiDetectorElementCollection.h
SG::ReadCondHandleKey< SCT_CablingData >
SCT_CablingData.h
SiRegSelCondAlg::m_tableKey
SG::WriteCondHandleKey< IRegSelLUTCondData > m_tableKey
Output conditions object.
Definition:
SiRegSelCondAlg.h:61
SG::WriteCondHandleKey
Definition:
WriteCondHandleKey.h:20
SiRegSelCondAlg
Definition:
SiRegSelCondAlg.h:32
Generated on Thu Nov 7 2024 21:26:11 for ATLAS Offline Software by
1.8.18