ATLAS Offline Software
Loading...
Searching...
No Matches
FillParamsCondData.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_FILLPARAMSCONDDATA_H
14#define COOLLUMIUTILITIES_FILLPARAMSCONDDATA_H
15
16
19#include <vector>
20#include <stdint.h>
21
22
24{
25public:
26 // Arrays with BCID numbers for filled bunches
27 const std::vector<unsigned int>& beam1Bunches() const;
28 const std::vector<unsigned int>& beam2Bunches() const;
29 const std::vector<unsigned int>& luminousBunches() const;
30
31 // Set BCID arrays.
32 void setBeam1Bunches (const uint16_t* beg, const uint16_t* end);
33 void setBeam2Bunches (const uint16_t* beg, const uint16_t* end);
34 void setLuminousBunches (const uint16_t* beg, const uint16_t* end);
35
36
37private:
38 // Data
39 std::vector<unsigned int> m_beam1Bunches;
40 std::vector<unsigned int> m_beam2Bunches;
41 std::vector<unsigned int> m_luminousBunches;
42};
43
44
45CLASS_DEF (FillParamsCondData, 46982539, 0)
47
48
49#endif // not COOLLUMIUTILITIES_FILLPARAMSCONDDATA_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
std::vector< unsigned int > m_luminousBunches
std::vector< unsigned int > m_beam2Bunches
void setLuminousBunches(const uint16_t *beg, const uint16_t *end)
std::vector< unsigned int > m_beam1Bunches
void setBeam2Bunches(const uint16_t *beg, const uint16_t *end)
const std::vector< unsigned int > & beam2Bunches() const
const std::vector< unsigned int > & beam1Bunches() const
const std::vector< unsigned int > & luminousBunches() const
void setBeam1Bunches(const uint16_t *beg, const uint16_t *end)