ATLAS Offline Software
Trigger
TrigT1
TrigT1CaloCalibConditions
src
L1CaloRampDataContainer.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
TrigT1CaloCalibConditions/L1CaloRampDataContainer.h
"
6
7
const
L1CaloRampData
*
L1CaloRampDataContainer::rampData
(
unsigned
int
channelId
)
const
8
{
9
const_iterator
pos
(
m_rampDataMap
.find(
channelId
));
10
if
(
pos
==
m_rampDataMap
.end())
return
0;
11
return
&(
pos
->second);
12
}
13
14
L1CaloRampData
*
L1CaloRampDataContainer::rampData
(
unsigned
int
channelId
)
15
{
16
iterator
pos
(
m_rampDataMap
.find(
channelId
));
17
if
(
pos
==
m_rampDataMap
.end())
return
0;
18
return
&(
pos
->second);
19
}
20
21
const
L1CaloRampData
*
L1CaloRampDataContainer::rampData
(
const
L1CaloCoolChannelId
&
channelId
)
const
22
{
23
return
this->
rampData
(channelId.
id
());
24
}
25
26
L1CaloRampData
*
L1CaloRampDataContainer::rampData
(
const
L1CaloCoolChannelId
&
channelId
)
27
{
28
return
this->
rampData
(channelId.
id
());
29
}
30
31
32
void
L1CaloRampDataContainer::addRampData
(
unsigned
int
channelId
,
const
L1CaloRampData
& rampData)
33
{
34
m_rampDataMap
[
channelId
] =
rampData
;
35
}
36
37
void
L1CaloRampDataContainer::addRampData
(
const
L1CaloCoolChannelId
&
channelId
,
const
L1CaloRampData
& rampData)
38
{
39
this->
addRampData
(channelId.
id
(),
rampData
);
40
}
L1CaloRampDataContainer::iterator
L1CaloRampDataMap::iterator iterator
Definition:
L1CaloRampDataContainer.h:49
L1CaloRampDataContainer::m_rampDataMap
L1CaloRampDataMap m_rampDataMap
Definition:
L1CaloRampDataContainer.h:50
L1CaloRampDataContainer::rampData
const L1CaloRampData * rampData(unsigned int channelId) const
Definition:
L1CaloRampDataContainer.cxx:7
L1CaloRampDataContainer.h
L1CaloRampDataContainer::const_iterator
L1CaloRampDataMap::const_iterator const_iterator
Definition:
L1CaloRampDataContainer.h:26
L1CaloCoolChannelId::id
unsigned int id() const
Definition:
L1CaloCoolChannelId.h:32
CaloCondBlobAlgs_fillNoiseFromASCII.channelId
channelId
Definition:
CaloCondBlobAlgs_fillNoiseFromASCII.py:122
python.LumiBlobConversion.pos
pos
Definition:
LumiBlobConversion.py:18
L1CaloCoolChannelId
Definition:
L1CaloCoolChannelId.h:10
L1CaloRampDataContainer::addRampData
void addRampData(unsigned int channelId, const L1CaloRampData &rampData)
Definition:
L1CaloRampDataContainer.cxx:32
L1CaloRampData
Transient class to store the RampData calculated from calibration runs.
Definition:
L1CaloRampData.h:42
Generated on Sun Dec 22 2024 21:12:56 for ATLAS Offline Software by
1.8.18