ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetDetDescr
InDetRegionSelector
src
SiRegSelCondAlg.h
Go to the documentation of this file.
1
10
11
#ifndef SiRegSelCondAlg_h
12
#define SiRegSelCondAlg_h
13
14
#include "GaudiKernel/ISvcLocator.h"
15
16
#include "
AthenaBaseComps/AthCondAlgorithm.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
AthCondAlgorithm
{
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
AthCondAlgorithm.h
Base class for conditions algorithms.
IRegSelLUTCondData.h
PixelCablingCondData.h
ReadCondHandleKey.h
SCT_CablingData.h
Header file for SCT cabling data.
SiDetectorElementCollection.h
WriteCondHandleKey.h
AthCondAlgorithm
Base class for conditions algorithms.
Definition
AthCondAlgorithm.h:22
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::WriteCondHandleKey
Definition
WriteCondHandleKey.h:22
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
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_detEleCollKey
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_detEleCollKey
Definition
SiRegSelCondAlg.h:57
SiRegSelCondAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
SiRegSelCondAlg.cxx:60
SiRegSelCondAlg::SiRegSelCondAlg
SiRegSelCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
SiRegSelCondAlg.cxx:32
SiRegSelCondAlg::m_useCabling
bool m_useCabling
Definition
SiRegSelCondAlg.h:45
SiRegSelCondAlg::m_tableKey
SG::WriteCondHandleKey< IRegSelLUTCondData > m_tableKey
Output conditions object.
Definition
SiRegSelCondAlg.h:61
SiRegSelCondAlg::m_printTable
bool m_printTable
Definition
SiRegSelCondAlg.h:44
SiRegSelCondAlg::initialize
virtual StatusCode initialize() override
Definition
SiRegSelCondAlg.cxx:45
Generated on
for ATLAS Offline Software by
1.17.0