ATLAS Offline Software
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  */
13 #ifndef COOLLUMIUTILITIES_FILLPARAMSCONDDATA_H
14 #define COOLLUMIUTILITIES_FILLPARAMSCONDDATA_H
15 
16 
17 #include "AthenaKernel/CondCont.h"
18 #include "AthenaKernel/CLASS_DEF.h"
19 #include <vector>
20 #include <stdint.h>
21 
22 
24 {
25 public:
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 
37 private:
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 
45 CLASS_DEF (FillParamsCondData, 46982539, 0)
47 
48 
49 #endif // not COOLLUMIUTILITIES_FILLPARAMSCONDDATA_H
CondCont.h
Hold mappings of ranges to condition objects.
FillParamsCondData::luminousBunches
const std::vector< unsigned int > & luminousBunches() const
Definition: FillParamsCondData.cxx:27
FillParamsCondData::setBeam2Bunches
void setBeam2Bunches(const uint16_t *beg, const uint16_t *end)
Definition: FillParamsCondData.cxx:40
FillParamsCondData::beam1Bunches
const std::vector< unsigned int > & beam1Bunches() const
Definition: FillParamsCondData.cxx:15
FillParamsCondData::setLuminousBunches
void setLuminousBunches(const uint16_t *beg, const uint16_t *end)
Definition: FillParamsCondData.cxx:47
FillParamsCondData
Definition: FillParamsCondData.h:24
mergePhysValFiles.end
end
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:93
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:93
FillParamsCondData::m_beam1Bunches
std::vector< unsigned int > m_beam1Bunches
Definition: FillParamsCondData.h:39
WriteBchToCool.beg
beg
Definition: WriteBchToCool.py:69
FillParamsCondData::beam2Bunches
const std::vector< unsigned int > & beam2Bunches() const
Definition: FillParamsCondData.cxx:21
FillParamsCondData::m_luminousBunches
std::vector< unsigned int > m_luminousBunches
Definition: FillParamsCondData.h:41
CONDCONT_DEF
CONDCONT_DEF(FillParamsCondData, 245762757)
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:64
FillParamsCondData::setBeam1Bunches
void setBeam1Bunches(const uint16_t *beg, const uint16_t *end)
Definition: FillParamsCondData.cxx:33
CLASS_DEF.h
macros to associate a CLID to a type
FillParamsCondData::m_beam2Bunches
std::vector< unsigned int > m_beam2Bunches
Definition: FillParamsCondData.h:40