ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCondUtils
src
LArHVlineMapAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef LARCONDUTILS_LARHVLINEMAPALG_H
6
#define LARCONDUTILS_LARHVLINEMAPALG_H
7
8
#include "
AthenaBaseComps/AthCondAlgorithm.h
"
9
#include "
StoreGate/WriteCondHandleKey.h
"
10
#include "
StoreGate/ReadCondHandleKey.h
"
11
#include "
LArCabling/LArOnOffIdMapping.h
"
12
#include "
LArRecConditions/LArHVNMap.h
"
13
#include "
CaloDetDescr/CaloDetDescrManager.h
"
14
#include "
CaloInterface/ILArHVMapTool.h
"
15
#include "
LArIdentifier/LArHVLineID.h
"
16
#include "
LArRecConditions/LArHVIdMapping.h
"
17
18
#include <map>
19
20
class
HWIdentifier
;
21
class
CaloCell_ID
;
22
23
class
LArHVlineMapAlg
:
public
AthCondAlgorithm
{
24
25
public
:
26
LArHVlineMapAlg
(
const
std::string& name, ISvcLocator* pSvcLocator);
27
28
virtual
~LArHVlineMapAlg
()=
default
;
29
30
virtual
StatusCode
initialize
() override final;
31
virtual StatusCode
execute
(
const
EventContext& ctx)
const
override final;
32
33
private
:
34
35
ToolHandle <
ILArHVMapTool
>
m_hvmapTool
;
36
37
SG
::ReadCondHandleKey<
CaloDetDescrManager
>
m_caloDetDescrMgrKey
{
this
,
"CaloDetDescrManager"
,
"CaloDetDescrManager"
};
38
SG::ReadCondHandleKey<LArHVIdMapping>
m_hvCablingKey
{
this
,
"LArHVIdMapping"
,
"LArHVIdMap"
,
"SG key for HV ID mapping"
};
39
SG::WriteCondHandleKey<LArHVNMap>
m_mapKey
{
this
,
"keyOutput"
,
"LArHVNcells"
,
"Output key for map of number of cells in HVline"
};
40
41
const
CaloCell_ID
*
m_caloHelper
{
nullptr
};
42
const
LArHVLineID
*
m_hvlineHelper
{
nullptr
};
43
44
};
45
46
#endif
AthCondAlgorithm.h
Base class for conditions algorithms.
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
ILArHVMapTool.h
LArHVIdMapping.h
LArHVLineID.h
LArHVNMap.h
LArOnOffIdMapping.h
ReadCondHandleKey.h
WriteCondHandleKey.h
AthCondAlgorithm
Base class for conditions algorithms.
Definition
AthCondAlgorithm.h:22
CaloCell_ID
Helper class for offline cell identifiers.
Definition
CaloCell_ID.h:34
CaloDetDescrManager
This class provides the client interface for accessing the detector description information common to...
Definition
CaloDetDescrManager.h:469
HWIdentifier
Definition
HWIdentifier.h:13
ILArHVMapTool
Definition
ILArHVMapTool.h:21
LArHVLineID
Helper for the Liquid Argon Calorimeter High-Voltage identifiers.
Definition
LArHVLineID.h:43
LArHVlineMapAlg::LArHVlineMapAlg
LArHVlineMapAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
LArHVlineMapAlg.cxx:10
LArHVlineMapAlg::m_hvmapTool
ToolHandle< ILArHVMapTool > m_hvmapTool
Definition
LArHVlineMapAlg.h:35
LArHVlineMapAlg::m_caloDetDescrMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloDetDescrMgrKey
Definition
LArHVlineMapAlg.h:37
LArHVlineMapAlg::m_mapKey
SG::WriteCondHandleKey< LArHVNMap > m_mapKey
Definition
LArHVlineMapAlg.h:39
LArHVlineMapAlg::m_hvCablingKey
SG::ReadCondHandleKey< LArHVIdMapping > m_hvCablingKey
Definition
LArHVlineMapAlg.h:38
LArHVlineMapAlg::m_caloHelper
const CaloCell_ID * m_caloHelper
Definition
LArHVlineMapAlg.h:41
LArHVlineMapAlg::m_hvlineHelper
const LArHVLineID * m_hvlineHelper
Definition
LArHVlineMapAlg.h:42
LArHVlineMapAlg::initialize
virtual StatusCode initialize() override final
Definition
LArHVlineMapAlg.cxx:16
LArHVlineMapAlg::~LArHVlineMapAlg
virtual ~LArHVlineMapAlg()=default
LArHVlineMapAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition
LArHVlineMapAlg.cxx:30
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::WriteCondHandleKey
Definition
WriteCondHandleKey.h:22
const
SG
Forward declaration.
Definition
CaloCellPacker_400_500.h:32
private
#define private
Definition
testRead.cxx:27
Generated on
for ATLAS Offline Software by
1.17.0