ATLAS Offline Software
BunchLumisCondData.cxx
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration.
3  */
13 
14 
21 const std::vector<float>&
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 
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