ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArTools
src
LArHVMapTool.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 LARTOOLS_LARHVMAPTOOL_H
6
#define LARTOOLS_LARHVMAPTOOL_H
7
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
#include "
StoreGate/ReadCondHandleKey.h
"
10
11
#include "
CaloInterface/ILArHVMapTool.h
"
12
#include "
CaloIdentifier/CaloIdManager.h
"
13
#include "
CaloDetDescr/CaloDetDescrManager.h
"
14
#include "
LArRecConditions/LArHVIdMapping.h
"
15
16
17
class
LArHVMapTool
:
public
ILArHVMapTool
,
public
AthAlgTool
18
{
19
public
:
20
LArHVMapTool
(
const
std::string&
type
,
const
std::string& name,
21
const
IInterface* parent);
22
23
virtual
~LArHVMapTool
() =
default
;
24
25
virtual
StatusCode
initialize
()
override
;
26
virtual
StatusCode
finalize
()
override
{
return
StatusCode::SUCCESS;}
27
28
virtual
void
GetHVLines
(
const
Identifier
&
id
,
const
CaloDetDescrManager
*cddm,
29
std::vector<int> &hvLineVec)
const
override
final
;
30
31
virtual
void
GetHVLines
(
const
Identifier
&
id
,
const
CaloDetDescrManager
*cddm,
32
std::vector<HWIdentifier> &hvLineId)
const
override
final
;
33
private
:
34
35
void
GetHVLinesCore
(
const
Identifier
&
id
,
const
CaloDetDescrManager
*cddm,
36
std::vector<int> *hvLineVec, std::vector<HWIdentifier> *hvLineId)
const
;
37
38
const
CaloIdManager
*
m_caloIdMgr
{
nullptr
};
39
const
LArEM_ID
*
m_larem_id
{
nullptr
};
40
const
LArHEC_ID
*
m_larhec_id
{
nullptr
};
41
const
LArFCAL_ID
*
m_larfcal_id
{
nullptr
};
42
43
const
LArHVIdMapping
*
m_hvmapping
{
nullptr
};
44
45
SG::ReadCondHandleKey<CaloDetDescrManager>
m_caloDetDescrMgrKey
46
{
this
,
"CaloDetDescrManager"
,
"CaloDetDescrManager"
};
47
SG::ReadCondHandleKey<LArHVIdMapping>
m_hvCablingKey
48
{
this
,
"LArHVIdMapping"
,
"LArHVIdMap"
,
"SG key for HV ID mapping"
};
49
};
50
51
#endif
AthAlgTool.h
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
CaloIdManager.h
ILArHVMapTool.h
LArHVIdMapping.h
ReadCondHandleKey.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
CaloDetDescrManager
This class provides the client interface for accessing the detector description information common to...
Definition
CaloDetDescrManager.h:469
CaloIdManager
This class initializes the Calo (LAr and Tile) offline identifiers.
Definition
CaloIdManager.h:45
ILArHVMapTool
Definition
ILArHVMapTool.h:21
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
LArHVIdMapping
Definition
LArHVIdMapping.h:21
LArHVMapTool::m_hvCablingKey
SG::ReadCondHandleKey< LArHVIdMapping > m_hvCablingKey
Definition
LArHVMapTool.h:48
LArHVMapTool::m_larem_id
const LArEM_ID * m_larem_id
Definition
LArHVMapTool.h:39
LArHVMapTool::GetHVLinesCore
void GetHVLinesCore(const Identifier &id, const CaloDetDescrManager *cddm, std::vector< int > *hvLineVec, std::vector< HWIdentifier > *hvLineId) const
Definition
LArHVMapTool.cxx:72
LArHVMapTool::GetHVLines
virtual void GetHVLines(const Identifier &id, const CaloDetDescrManager *cddm, std::vector< int > &hvLineVec) const override final
Definition
LArHVMapTool.cxx:62
LArHVMapTool::finalize
virtual StatusCode finalize() override
Definition
LArHVMapTool.h:26
LArHVMapTool::~LArHVMapTool
virtual ~LArHVMapTool()=default
LArHVMapTool::m_larfcal_id
const LArFCAL_ID * m_larfcal_id
Definition
LArHVMapTool.h:41
LArHVMapTool::m_hvmapping
const LArHVIdMapping * m_hvmapping
Definition
LArHVMapTool.h:43
LArHVMapTool::m_caloIdMgr
const CaloIdManager * m_caloIdMgr
Definition
LArHVMapTool.h:38
LArHVMapTool::LArHVMapTool
LArHVMapTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
LArHVMapTool.cxx:22
LArHVMapTool::initialize
virtual StatusCode initialize() override
Definition
LArHVMapTool.cxx:27
LArHVMapTool::m_caloDetDescrMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloDetDescrMgrKey
Definition
LArHVMapTool.h:46
LArHVMapTool::m_larhec_id
const LArHEC_ID * m_larhec_id
Definition
LArHVMapTool.h:40
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
Identifier
Definition
IdentifierFieldParser.cxx:14
type
Generated on
for ATLAS Offline Software by
1.17.0