ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArRecConditions
LArRecConditions
LArFEBTempData.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef LARRECCONDITIONS_LARFEBTEMPDATA_H
6
#define LARRECCONDITIONS_LARFEBTEMPDATA_H
7
8
#include "
Identifier/HWIdentifier.h
"
9
#include <vector>
10
#include <map>
11
12
class
LArFEBTempData
{
13
14
friend
class
LArFEBTempAlg
;
//The conditions alg filling this object
15
16
public
:
17
18
typedef
std::pair<float,float>
FEBTemp
;
19
LArFEBTempData
(){};
20
21
// Given a FEB ID, return std::vector of temp1 and temp2 values
22
FEBTemp
getFebTemp
(
const
HWIdentifier
&
id
)
const
;
23
24
25
private
:
26
std::map<HWIdentifier,FEBTemp>
m_mapVec
;
27
28
};
29
30
31
//Inline methods:
32
inline
LArFEBTempData::FEBTemp
LArFEBTempData::getFebTemp
(
const
HWIdentifier
&
h
)
const
{
33
return
m_mapVec
.at(
h
);
34
}
35
36
#include "
AthenaKernel/CLASS_DEF.h
"
37
CLASS_DEF
(
LArFEBTempData
, 37052556, 1)
38
#include "AthenaKernel/CondCont.h"
39
CLASS_DEF
(
CondCont<LArFEBTempData>
, 52616604, 1)
40
41
#endif
CLASS_DEF.h
macros to associate a CLID to a type
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition
Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:67
HWIdentifier.h
FEBTemp
std::vector< std::pair< float, float > > FEBTemp
Definition
ILArFEBTempTool.h:27
h
Header file for AthHistogramAlgorithm.
CondCont
Hold mapping of ranges to condition objects.
Definition
CondCont.h:889
HWIdentifier
Definition
HWIdentifier.h:13
LArFEBTempData
Definition
LArFEBTempData.h:12
LArFEBTempData::m_mapVec
std::map< HWIdentifier, FEBTemp > m_mapVec
Definition
LArFEBTempData.h:26
LArFEBTempData::getFebTemp
FEBTemp getFebTemp(const HWIdentifier &id) const
Definition
LArFEBTempData.h:32
LArFEBTempData::LArFEBTempData
LArFEBTempData()
Definition
LArFEBTempData.h:19
LArFEBTempData::FEBTemp
std::pair< float, float > FEBTemp
Definition
LArFEBTempData.h:18
LArFEBTempData::LArFEBTempAlg
friend class LArFEBTempAlg
Definition
LArFEBTempData.h:14
Generated on
for ATLAS Offline Software by
1.17.0