ATLAS Offline Software
Loading...
Searching...
No Matches
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
19#include <vector>
20#include <unordered_map>
21
22
27{
28public:
35 const std::vector<float>& rawLuminosity (unsigned int channel) const;
36
37
43 void addChannel (unsigned int channel, std::vector<float>&& rawLumi);
44
45
46private:
48 std::unordered_map<unsigned int, std::vector<float> > m_rawLumi;
49};
50
51
52CLASS_DEF (BunchLumisCondData, 140920238, 0)
54
55
56#endif // not COOLLUMIUTILITIES_BUNCHLUMISCONDDATA_H
Hold mappings of ranges to condition objects.
#define CONDCONT_DEF(...)
Definition CondCont.h:1413
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Holds raw luminosity data, per channel.
const std::vector< float > & rawLuminosity(unsigned int channel) const
Return vector of per-BCID raw luminosity for a given channel.
void addChannel(unsigned int channel, std::vector< float > &&rawLumi)
Add raw luminisity data for a channel.
std::unordered_map< unsigned int, std::vector< float > > m_rawLumi
Raw luminosity, per channel.