ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArRecUtils
src
LArRoIMapCondAlg.h
Go to the documentation of this file.
1
// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
/*
3
* Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration.
4
*/
11
12
13
#ifndef LARRECUTILS_LARROIMAPCONDALG_H
14
#define LARRECUTILS_LARROIMAPCONDALG_H
15
16
17
#include "
AthenaBaseComps/AthCondAlgorithm.h
"
18
#include "
LArRecConditions/LArRoIMap.h
"
19
#include "
LArRecConditions/LArFebRodMapping.h
"
20
#include "
LArCabling/LArOnOffIdMapping.h
"
21
#include "
CaloTriggerTool/CaloTriggerTowerService.h
"
22
#include "
StoreGate/ReadCondHandleKey.h
"
23
#include "
StoreGate/WriteCondHandleKey.h
"
24
25
26
class
LArOnlineID
;
27
class
CaloLVL1_TT_ID;
28
class
LArEM_ID
;
29
class
LArHEC_ID
;
30
class
LArFCAL_ID
;
31
32
36
class
LArRoIMapCondAlg
37
:
public
AthCondAlgorithm
38
{
39
public
:
40
using
AthCondAlgorithm::AthCondAlgorithm;
41
42
46
virtual
StatusCode
initialize
()
override
;
47
48
52
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
53
54
55
private
:
56
StatusCode
addEntry
(
LArRoIMap
& m,
57
const
LArOnOffIdMapping
& onOffId,
58
const
LArFebRodMapping
& febRod,
59
const
Identifier
&
id
)
const
;
60
61
const
CaloLVL1_ID
*
m_TT_ID
=
nullptr
;
62
const
LArOnlineID
*
m_onlineID
=
nullptr
;
63
const
LArEM_ID
*
m_em_id
=
nullptr
;
64
const
LArHEC_ID
*
m_hec_id
= nullptr ;
65
const
LArFCAL_ID
*
m_fcal_id
=
nullptr
;
66
67
ToolHandle<CaloTriggerTowerService>
m_ttSvc
68
{
this
,
"TriggerTowerSvc"
,
"CaloTriggerTowerService"
,
"Towers tool"
};
69
70
SG::ReadCondHandleKey<LArOnOffIdMapping>
m_onOffIdKey
71
{
this
,
"LArOnOffIdMap"
,
"LArOnOffIdMap"
,
"LArOnOffIdMapping object"
};
72
SG::ReadCondHandleKey<LArFebRodMapping>
m_febRodKey
73
{
this
,
"LArFebRodMap"
,
"LArFebRodMap"
,
"LArFebRodMap object"
};
74
SG::WriteCondHandleKey<LArRoIMap>
m_LArRoIMapKey
75
{
this
,
"LArRoIMapKey"
,
"LArRoIMap"
,
"LArRoIMap key"
};
76
};
77
78
79
#endif
// not LARRECUTILS_LARROIMAPCONDALG_H
AthCondAlgorithm.h
Base class for conditions algorithms.
CaloTriggerTowerService.h
LArFebRodMapping.h
LArOnOffIdMapping.h
LArRoIMap.h
Mapping between calorimeter trigger id to offline/online Identifier.
ReadCondHandleKey.h
WriteCondHandleKey.h
AthCondAlgorithm
Base class for conditions algorithms.
Definition
AthCondAlgorithm.h:22
CaloLVL1_ID
Helper class for offline TT identifiers.
Definition
CaloLVL1_ID.h:66
LArEM_ID
Helper class for LArEM offline identifiers.
Definition
LArEM_ID.h:111
LArFCAL_ID
Helper class for LArFCAL offline identifiers.
Definition
LArFCAL_ID.h:49
LArFebRodMapping
Definition
LArFebRodMapping.h:17
LArHEC_ID
Helper class for LArHEC offline identifiers.
Definition
LArHEC_ID.h:76
LArOnOffIdMapping
Definition
LArOnOffIdMapping.h:20
LArOnlineID
Definition
LArOnlineID.h:21
LArRoIMapCondAlg
Conditions algorithm producing LArRoIMap.
Definition
LArRoIMapCondAlg.h:38
LArRoIMapCondAlg::m_onlineID
const LArOnlineID * m_onlineID
Definition
LArRoIMapCondAlg.h:62
LArRoIMapCondAlg::m_hec_id
const LArHEC_ID * m_hec_id
Definition
LArRoIMapCondAlg.h:64
LArRoIMapCondAlg::m_LArRoIMapKey
SG::WriteCondHandleKey< LArRoIMap > m_LArRoIMapKey
Definition
LArRoIMapCondAlg.h:75
LArRoIMapCondAlg::m_onOffIdKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_onOffIdKey
Definition
LArRoIMapCondAlg.h:71
LArRoIMapCondAlg::m_ttSvc
ToolHandle< CaloTriggerTowerService > m_ttSvc
Definition
LArRoIMapCondAlg.h:68
LArRoIMapCondAlg::m_TT_ID
const CaloLVL1_ID * m_TT_ID
Definition
LArRoIMapCondAlg.h:61
LArRoIMapCondAlg::addEntry
StatusCode addEntry(LArRoIMap &m, const LArOnOffIdMapping &onOffId, const LArFebRodMapping &febRod, const Identifier &id) const
Definition
LArRoIMapCondAlg.cxx:79
LArRoIMapCondAlg::m_fcal_id
const LArFCAL_ID * m_fcal_id
Definition
LArRoIMapCondAlg.h:65
LArRoIMapCondAlg::m_febRodKey
SG::ReadCondHandleKey< LArFebRodMapping > m_febRodKey
Definition
LArRoIMapCondAlg.h:73
LArRoIMapCondAlg::m_em_id
const LArEM_ID * m_em_id
Definition
LArRoIMapCondAlg.h:63
LArRoIMapCondAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Gaudi execute method.
Definition
LArRoIMapCondAlg.cxx:48
LArRoIMapCondAlg::initialize
virtual StatusCode initialize() override
Gaudi initialize method.
Definition
LArRoIMapCondAlg.cxx:27
LArRoIMap
Mapping between calorimeter trigger id to offline/online Identifier.
Definition
LArRoIMap.h:31
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::WriteCondHandleKey
Definition
WriteCondHandleKey.h:22
Identifier
Definition
IdentifierFieldParser.cxx:14
Generated on
for ATLAS Offline Software by
1.17.0