ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArRecUtils
src
LArHVPathologyDbCondAlg.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 LARHVPATHOLOGYDBCONDALG
6
#define LARHVPATHOLOGYDBCONDALG
7
8
#include "
AthenaBaseComps/AthCondAlgorithm.h
"
9
#include "
StoreGate/ReadHandle.h
"
10
#include "
StoreGate/WriteHandle.h
"
11
#include "
StoreGate/ReadCondHandle.h
"
12
#include "
AthenaPoolUtilities/AthenaAttributeList.h
"
13
#include "
LArRecConditions/LArHVPathology.h
"
14
#include "
LArRecConditions/LArHVIdMapping.h
"
15
#include "
CaloDetDescr/CaloDetDescrManager.h
"
16
#include "
CaloInterface/ILArHVMapTool.h
"
17
18
#include<mutex>
19
20
class
LArEM_ID
;
21
class
LArHEC_ID
;
22
class
LArFCAL_ID
;
23
class
LArOnlineID
;
24
class
CaloDetDescrManager
;
25
class
LArHVLineID
;
26
class
Identifier
;
27
class
TClass;
28
29
class
LArHVPathologyDbCondAlg
:
public
AthCondAlgorithm
30
{
31
public
:
32
LArHVPathologyDbCondAlg
(
const
std::string& name, ISvcLocator* pSvcLocator);
33
34
virtual
~LArHVPathologyDbCondAlg
();
35
36
virtual
StatusCode
initialize
()
override
;
37
virtual
StatusCode
finalize
()
override
;
38
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
39
40
private
:
41
42
void
fillElectMap
(
const
CaloDetDescrManager
* calodetdescrmgr,
43
LArHVPathology
* hvpath,
44
SG::WriteCondHandle<LArHVPathology>
& writeHandle)
const
;
45
46
SG::ReadCondHandleKey<AthenaAttributeList>
m_pathologyFolderKey
{
this
,
"PathologyFolder"
,
"/LAR/HVPathologiesOfl/Pathologies"
,
"Cool folder for HV pathologies"
};
47
SG::ReadCondHandleKey<LArHVIdMapping>
m_hvMappingKey
{
this
,
"HVMappingKey"
,
"LArHVIdMap"
,
"Key for mapping object"
};
48
SG::ReadCondHandleKey<CaloDetDescrManager>
m_caloMgrKey
{
this
,
"CaloDetDescrManager"
,
"CaloDetDescrManager"
};
49
50
SG::WriteCondHandleKey<LArHVPathology>
m_hvPathologyKey
{
this
,
"HVPAthologyKey"
,
"LArHVPathology"
,
"Key for HV pathologies in Cond. store"
};
51
52
ToolHandle <ILArHVMapTool>
m_hvmapTool
;
53
54
const
LArEM_ID
*
m_larem_id
=
nullptr
;
55
const
LArHEC_ID
*
m_larhec_id
=
nullptr
;
56
const
LArFCAL_ID
*
m_larfcal_id
=
nullptr
;
57
const
LArOnlineID
*
m_laronline_id
=
nullptr
;
58
const
LArHVLineID
*
m_hvlineHelper
=
nullptr
;
59
60
mutable
std::mutex
m_mut
;
61
62
TClass*
m_klass
=
nullptr
;
63
64
};
65
66
#endif
AthCondAlgorithm.h
Base class for conditions algorithms.
AthenaAttributeList.h
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
ILArHVMapTool.h
LArHVIdMapping.h
LArHVPathology.h
ReadCondHandle.h
ReadHandle.h
Handle class for reading from StoreGate.
WriteHandle.h
Handle class for recording to StoreGate.
AthCondAlgorithm
Base class for conditions algorithms.
Definition
AthCondAlgorithm.h:22
CaloDetDescrManager
This class provides the client interface for accessing the detector description information common to...
Definition
CaloDetDescrManager.h:469
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
LArHEC_ID
Helper class for LArHEC offline identifiers.
Definition
LArHEC_ID.h:76
LArHVLineID
Helper for the Liquid Argon Calorimeter High-Voltage identifiers.
Definition
LArHVLineID.h:43
LArHVPathologyDbCondAlg::m_caloMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Definition
LArHVPathologyDbCondAlg.h:48
LArHVPathologyDbCondAlg::m_hvPathologyKey
SG::WriteCondHandleKey< LArHVPathology > m_hvPathologyKey
Definition
LArHVPathologyDbCondAlg.h:50
LArHVPathologyDbCondAlg::m_hvmapTool
ToolHandle< ILArHVMapTool > m_hvmapTool
Definition
LArHVPathologyDbCondAlg.h:52
LArHVPathologyDbCondAlg::finalize
virtual StatusCode finalize() override
Definition
LArHVPathologyDbCondAlg.cxx:68
LArHVPathologyDbCondAlg::fillElectMap
void fillElectMap(const CaloDetDescrManager *calodetdescrmgr, LArHVPathology *hvpath, SG::WriteCondHandle< LArHVPathology > &writeHandle) const
Definition
LArHVPathologyDbCondAlg.cxx:135
LArHVPathologyDbCondAlg::~LArHVPathologyDbCondAlg
virtual ~LArHVPathologyDbCondAlg()
Definition
LArHVPathologyDbCondAlg.cxx:34
LArHVPathologyDbCondAlg::m_larem_id
const LArEM_ID * m_larem_id
Definition
LArHVPathologyDbCondAlg.h:54
LArHVPathologyDbCondAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
LArHVPathologyDbCondAlg.cxx:74
LArHVPathologyDbCondAlg::m_klass
TClass * m_klass
Definition
LArHVPathologyDbCondAlg.h:62
LArHVPathologyDbCondAlg::m_laronline_id
const LArOnlineID * m_laronline_id
Definition
LArHVPathologyDbCondAlg.h:57
LArHVPathologyDbCondAlg::m_hvlineHelper
const LArHVLineID * m_hvlineHelper
Definition
LArHVPathologyDbCondAlg.h:58
LArHVPathologyDbCondAlg::m_pathologyFolderKey
SG::ReadCondHandleKey< AthenaAttributeList > m_pathologyFolderKey
Definition
LArHVPathologyDbCondAlg.h:46
LArHVPathologyDbCondAlg::m_hvMappingKey
SG::ReadCondHandleKey< LArHVIdMapping > m_hvMappingKey
Definition
LArHVPathologyDbCondAlg.h:47
LArHVPathologyDbCondAlg::m_larfcal_id
const LArFCAL_ID * m_larfcal_id
Definition
LArHVPathologyDbCondAlg.h:56
LArHVPathologyDbCondAlg::m_larhec_id
const LArHEC_ID * m_larhec_id
Definition
LArHVPathologyDbCondAlg.h:55
LArHVPathologyDbCondAlg::m_mut
std::mutex m_mut
Definition
LArHVPathologyDbCondAlg.h:60
LArHVPathologyDbCondAlg::initialize
virtual StatusCode initialize() override
Definition
LArHVPathologyDbCondAlg.cxx:37
LArHVPathologyDbCondAlg::LArHVPathologyDbCondAlg
LArHVPathologyDbCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
LArHVPathologyDbCondAlg.cxx:30
LArHVPathology
Definition
LArHVPathology.h:15
LArOnlineID
Definition
LArOnlineID.h:21
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::WriteCondHandleKey
Definition
WriteCondHandleKey.h:22
SG::WriteCondHandle
Definition
WriteCondHandle.h:26
Identifier
Definition
IdentifierFieldParser.cxx:14
Generated on
for ATLAS Offline Software by
1.17.0