ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Database
CoolLumiUtilities
CoolLumiUtilities
BunchLumisCondData.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-2019 CERN for the benefit of the ATLAS collaboration.
4
*/
11
12
13
#ifndef COOLLUMIUTILITIES_BUNCHLUMISCONDDATA_H
14
#define COOLLUMIUTILITIES_BUNCHLUMISCONDDATA_H
15
16
17
#include "
AthenaKernel/CondCont.h
"
18
#include "
AthenaKernel/CLASS_DEF.h
"
19
#include <vector>
20
#include <unordered_map>
21
22
26
class
BunchLumisCondData
27
{
28
public
:
35
const
std::vector<float>&
rawLuminosity
(
unsigned
int
channel)
const
;
36
37
43
void
addChannel
(
unsigned
int
channel, std::vector<float>&& rawLumi);
44
45
46
private
:
48
std::unordered_map<unsigned int, std::vector<float> >
m_rawLumi
;
49
};
50
51
52
CLASS_DEF
(
BunchLumisCondData
, 140920238, 0)
53
CONDCONT_DEF
(
BunchLumisCondData
, 134532794);
54
55
56
#endif
// not COOLLUMIUTILITIES_BUNCHLUMISCONDDATA_H
CondCont.h
Hold mappings of ranges to condition objects.
CONDCONT_DEF
#define CONDCONT_DEF(...)
Definition
CondCont.h:1413
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
BunchLumisCondData
Holds raw luminosity data, per channel.
Definition
BunchLumisCondData.h:27
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::addChannel
void addChannel(unsigned int channel, std::vector< float > &&rawLumi)
Add raw luminisity data for a channel.
Definition
BunchLumisCondData.cxx:38
BunchLumisCondData::m_rawLumi
std::unordered_map< unsigned int, std::vector< float > > m_rawLumi
Raw luminosity, per channel.
Definition
BunchLumisCondData.h:48
Generated on
for ATLAS Offline Software by
1.17.0