ATLAS Offline Software
Loading...
Searching...
No Matches
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
24
25
26class LArOnlineID;
27class CaloLVL1_TT_ID;
28class LArEM_ID;
29class LArHEC_ID;
30class LArFCAL_ID;
31
32
38{
39public:
40 using AthReentrantAlgorithm::AthReentrantAlgorithm;
41
42
46 virtual StatusCode initialize() override;
47
48
52 virtual StatusCode execute (const EventContext& ctx) const override;
53
54
55private:
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
71 { this, "LArOnOffIdMap", "LArOnOffIdMap", "LArOnOffIdMapping object" };
73 { this, "LArFebRodMap", "LArFebRodMap", "LArFebRodMap object" };
75 { this, "LArRoIMapKey", "LArRoIMap", "LArRoIMap key" };
76};
77
78
79#endif // not LARRECUTILS_LARROIMAPCONDALG_H
Mapping between calorimeter trigger id to offline/online Identifier.
An algorithm that can be simultaneously executed in multiple threads.
Helper class for offline TT identifiers.
Definition CaloLVL1_ID.h:66
Helper class for LArEM offline identifiers.
Definition LArEM_ID.h:111
Helper class for LArFCAL offline identifiers.
Definition LArFCAL_ID.h:49
Helper class for LArHEC offline identifiers.
Definition LArHEC_ID.h:76
Conditions algorithm producing LArRoIMap.
const LArOnlineID * m_onlineID
const LArHEC_ID * m_hec_id
SG::WriteCondHandleKey< LArRoIMap > m_LArRoIMapKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_onOffIdKey
ToolHandle< CaloTriggerTowerService > m_ttSvc
const CaloLVL1_ID * m_TT_ID
StatusCode addEntry(LArRoIMap &m, const LArOnOffIdMapping &onOffId, const LArFebRodMapping &febRod, const Identifier &id) const
const LArFCAL_ID * m_fcal_id
SG::ReadCondHandleKey< LArFebRodMapping > m_febRodKey
const LArEM_ID * m_em_id
virtual StatusCode execute(const EventContext &ctx) const override
Gaudi execute method.
virtual StatusCode initialize() override
Gaudi initialize method.
Mapping between calorimeter trigger id to offline/online Identifier.
Definition LArRoIMap.h:31