ATLAS Offline Software
Loading...
Searching...
No Matches
LArCalorimeter
LArCabling
LArCabling
LArHVCablingSimTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef LARCABLING_LARHVCABLINGSIMTOOL_H
6
#define LARCABLING_LARHVCABLINGSIMTOOL_H
7
8
9
#include "
AthenaBaseComps/AthAlgTool.h
"
10
#include "
Identifier/HWIdentifier.h
"
11
12
#include <vector>
13
#include <map>
14
15
class
LArHVLineID
;
16
17
28
class
LArHVCablingSimTool
:
public
AthAlgTool
29
{
30
public
:
31
// constructor
32
LArHVCablingSimTool
(
const
std::string&
type
,
33
const
std::string& name,
34
const
IInterface* parent ) ;
35
36
// Destructor
37
virtual
~LArHVCablingSimTool
() =
default
;
38
39
virtual
StatusCode
initialize
( )
override
;
40
41
44
const
std::vector<HWIdentifier>&
getLArElectrodeIDvec
(
const
HWIdentifier
& hvlineId)
const
;
45
46
47
48
private
:
49
std::string
m_mappingFolder
;
50
51
const
LArHVLineID
*
m_hvlineHelper
;
52
std::map<HWIdentifier,std::vector<HWIdentifier> >
m_hvline_electrode_map
;
53
};
54
55
#endif
// LARCABLING_LARHVCABLINGSIMTOOL_H
AthAlgTool.h
HWIdentifier.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
HWIdentifier
Definition
HWIdentifier.h:13
LArHVCablingSimTool::m_hvlineHelper
const LArHVLineID * m_hvlineHelper
Definition
LArHVCablingSimTool.h:51
LArHVCablingSimTool::initialize
virtual StatusCode initialize() override
Definition
LArHVCablingSimTool.cxx:25
LArHVCablingSimTool::~LArHVCablingSimTool
virtual ~LArHVCablingSimTool()=default
LArHVCablingSimTool::m_hvline_electrode_map
std::map< HWIdentifier, std::vector< HWIdentifier > > m_hvline_electrode_map
Definition
LArHVCablingSimTool.h:52
LArHVCablingSimTool::getLArElectrodeIDvec
const std::vector< HWIdentifier > & getLArElectrodeIDvec(const HWIdentifier &hvlineId) const
Return a vector of LArElectrodeID corresponding to a given LArHVLineID.
Definition
LArHVCablingSimTool.cxx:53
LArHVCablingSimTool::LArHVCablingSimTool
LArHVCablingSimTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
LArHVCablingSimTool.cxx:13
LArHVCablingSimTool::m_mappingFolder
std::string m_mappingFolder
Definition
LArHVCablingSimTool.h:49
LArHVLineID
Helper for the Liquid Argon Calorimeter High-Voltage identifiers.
Definition
LArHVLineID.h:43
type
Generated on
for ATLAS Offline Software by
1.14.0