ATLAS Offline Software
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 
11 
12 #include <vector>
13 #include <map>
14 
15 class LArHVLineID;
16 
17 
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 
52  std::map<HWIdentifier,std::vector<HWIdentifier> > m_hvline_electrode_map;
53 };
54 
55 #endif // LARCABLING_LARHVCABLINGSIMTOOL_H
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::m_hvlineHelper
const LArHVLineID * m_hvlineHelper
Definition: LArHVCablingSimTool.h:51
HWIdentifier
Definition: HWIdentifier.h:13
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
Mapping from HV lines to electrodes.
Definition: LArHVCablingSimTool.h:29
LArHVCablingSimTool::LArHVCablingSimTool
LArHVCablingSimTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: LArHVCablingSimTool.cxx:13
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
LArHVCablingSimTool::m_mappingFolder
std::string m_mappingFolder
Definition: LArHVCablingSimTool.h:49
HWIdentifier.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
AthAlgTool
Definition: AthAlgTool.h:26
LArHVCablingSimTool::initialize
virtual StatusCode initialize() override
Definition: LArHVCablingSimTool.cxx:25
LArHVLineID
Helper for the Liquid Argon Calorimeter High-Voltage identifiers.
Definition: LArHVLineID.h:48