ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCabling
LArCabling
LArHVIdMappingReader.h
Go to the documentation of this file.
1
// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
/*
3
* Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration.
4
*/
11
12
13
#ifndef LARCABLING_LARHVIDMAPPINGREADER_H
14
#define LARCABLING_LARHVIDMAPPINGREADER_H
15
16
17
#include "
AthenaBaseComps/AthMessaging.h
"
18
#include "
Identifier/HWIdentifier.h
"
19
#include "GaudiKernel/StatusCode.h"
20
#include <map>
21
#include <vector>
22
#include <string>
23
class
AthenaAttributeList
;
24
class
LArHVLineID
;
25
class
LArElectrodeID
;
26
27
31
class
LArHVIdMappingReader
32
:
public
AthMessaging
33
{
34
public
:
35
using
hvlineMap_t
= std::map<HWIdentifier,HWIdentifier>;
36
using
electrodeMap_t
= std::map<HWIdentifier,std::vector<HWIdentifier> >;
37
38
LArHVIdMappingReader
();
39
40
StatusCode
read
(
const
AthenaAttributeList
* attrList,
41
const
LArHVLineID
& hvlineHelper,
42
const
LArElectrodeID
& electrodeHelper,
43
hvlineMap_t
& hvlineMap,
44
electrodeMap_t
& electrodeMap)
const
;
45
46
47
private
:
48
std::string
fromAttrList
(
const
AthenaAttributeList
& attrList)
const
;
49
std::string
fromFile
()
const
;
50
51
StatusCode
fillHV
(
const
std::string& content,
52
const
LArHVLineID
& hvlineHelper,
53
const
LArElectrodeID
& electrodeHelper,
54
hvlineMap_t
& hvlineMap,
55
electrodeMap_t
& electrodeMap)
const
;
56
};
57
58
59
#endif
// not LARCABLING_LARHVIDMAPPINGREADER_H
AthMessaging.h
HWIdentifier.h
AthMessaging::AthMessaging
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
Definition
AthMessaging.cxx:13
AthenaAttributeList
An AttributeList represents a logical row of attributes in a metadata table.
Definition
PersistentDataModel/PersistentDataModel/AthenaAttributeList.h:46
LArElectrodeID
Helper for the Liquid Argon Calorimeter cell at the electrode level.
Definition
LArElectrodeID.h:95
LArHVIdMappingReader::fillHV
StatusCode fillHV(const std::string &content, const LArHVLineID &hvlineHelper, const LArElectrodeID &electrodeHelper, hvlineMap_t &hvlineMap, electrodeMap_t &electrodeMap) const
Definition
LArHVIdMappingReader.cxx:101
LArHVIdMappingReader::LArHVIdMappingReader
LArHVIdMappingReader()
Definition
LArHVIdMappingReader.cxx:21
LArHVIdMappingReader::fromFile
std::string fromFile() const
Definition
LArHVIdMappingReader.cxx:73
LArHVIdMappingReader::hvlineMap_t
std::map< HWIdentifier, HWIdentifier > hvlineMap_t
Definition
LArHVIdMappingReader.h:35
LArHVIdMappingReader::read
StatusCode read(const AthenaAttributeList *attrList, const LArHVLineID &hvlineHelper, const LArElectrodeID &electrodeHelper, hvlineMap_t &hvlineMap, electrodeMap_t &electrodeMap) const
Definition
LArHVIdMappingReader.cxx:27
LArHVIdMappingReader::fromAttrList
std::string fromAttrList(const AthenaAttributeList &attrList) const
Definition
LArHVIdMappingReader.cxx:57
LArHVIdMappingReader::electrodeMap_t
std::map< HWIdentifier, std::vector< HWIdentifier > > electrodeMap_t
Definition
LArHVIdMappingReader.h:36
LArHVLineID
Helper for the Liquid Argon Calorimeter High-Voltage identifiers.
Definition
LArHVLineID.h:43
Generated on
for ATLAS Offline Software by
1.17.0