ATLAS Offline Software
Database
CoolLumiUtilities
src
BunchLumisCondData.cxx
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration.
3
*/
12
#include "
CoolLumiUtilities/BunchLumisCondData.h
"
13
14
21
const
std::vector<float>&
22
BunchLumisCondData::rawLuminosity
(
unsigned
int
channel
)
const
23
{
24
auto
it
=
m_rawLumi
.find (
channel
);
25
if
(
it
!=
m_rawLumi
.end()) {
26
return
it
->second;
27
}
28
static
const
std::vector<float> dum;
29
return
dum;
30
}
31
32
38
void
BunchLumisCondData::addChannel
(
unsigned
int
channel
,
39
std::vector<float>&& rawLumi)
40
{
41
m_rawLumi
[
channel
] = std::move (rawLumi);
42
}
43
plotting.yearwise_efficiency.channel
channel
Definition:
yearwise_efficiency.py:24
skel.it
it
Definition:
skel.GENtoEVGEN.py:396
BunchLumisCondData::rawLuminosity
const std::vector< float > & rawLuminosity(unsigned int channel) const
Return vector of per-BCID raw luminosity for a given channel.
Definition:
BunchLumisCondData.cxx:22
BunchLumisCondData::m_rawLumi
std::unordered_map< unsigned int, std::vector< float > > m_rawLumi
Raw luminosity, per channel.
Definition:
BunchLumisCondData.h:48
BunchLumisCondData.h
Holds raw luminosity data, per channel.
BunchLumisCondData::addChannel
void addChannel(unsigned int channel, std::vector< float > &&rawLumi)
Add raw luminisity data for a channel.
Definition:
BunchLumisCondData.cxx:38
Generated on Mon Dec 23 2024 21:07:37 for ATLAS Offline Software by
1.8.18