ATLAS Offline Software
Database
CoolLumiUtilities
CoolLumiUtilities
FillParamsUtil.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
12
#ifndef COOLLUMIUTILITIES_FILLPARAMSUTIL_H
13
#define COOLLUMIUTILITIES_FILLPARAMSUTIL_H
14
15
#include <vector>
16
#include <string>
17
18
#include "CoralBase/AttributeList.h"
19
#include "CoolKernel/Record.h"
20
21
class
FillParamsUtil
{
22
23
public
:
24
FillParamsUtil
();
25
26
// Number of filled bunches (length of vectors below)
27
unsigned
int
nBeam1Bunches
()
const
;
28
unsigned
int
nBeam2Bunches
()
const
;
29
unsigned
int
nLuminousBunches
()
const
;
30
// unsigned int nbcidmasks() const;
31
32
// Arrays with BCID numbers for filled bunches
33
const
std::vector<unsigned int>&
beam1Bunches
()
const
;
34
const
std::vector<unsigned int>&
beam2Bunches
()
const
;
35
const
std::vector<unsigned int>&
luminousBunches
()
const
;
36
// const std::vector<unsigned int>& bcidmasks() const;
37
// Clear all data vectors
38
void
clear
();
39
40
// Fill values from COOL, returns false on error
41
bool
setValue
(
const
coral::AttributeList
& attrList);
42
bool
setValue
(
const
cool::Record& rec);
43
44
// Error string contains error from setValue() operation
45
std::string
error
;
46
47
private
:
48
// Data
49
std::vector<unsigned int>
m_beam1Bunches
;
50
std::vector<unsigned int>
m_beam2Bunches
;
51
std::vector<unsigned int>
m_luminousBunches
;
52
// std::vector<unsigned int> m_nbcidmasks;
53
};
54
55
#endif
FillParamsUtil::clear
void clear()
Definition:
FillParamsUtil.cxx:20
FillParamsUtil::error
std::string error
Definition:
FillParamsUtil.h:45
FillParamsUtil::m_luminousBunches
std::vector< unsigned int > m_luminousBunches
Definition:
FillParamsUtil.h:51
FillParamsUtil::FillParamsUtil
FillParamsUtil()
Definition:
FillParamsUtil.cxx:13
FillParamsUtil
Utility class to to decode data from FILLPARAMS COOL folder.
Definition:
FillParamsUtil.h:21
python.PyKernel.AttributeList
AttributeList
Definition:
PyKernel.py:36
FillParamsUtil::beam2Bunches
const std::vector< unsigned int > & beam2Bunches() const
Definition:
FillParamsUtil.cxx:51
FillParamsUtil::m_beam1Bunches
std::vector< unsigned int > m_beam1Bunches
Definition:
FillParamsUtil.h:49
FillParamsUtil::setValue
bool setValue(const coral::AttributeList &attrList)
Definition:
FillParamsUtil.cxx:76
FillParamsUtil::nBeam2Bunches
unsigned int nBeam2Bunches() const
Definition:
FillParamsUtil.cxx:34
FillParamsUtil::nLuminousBunches
unsigned int nLuminousBunches() const
Definition:
FillParamsUtil.cxx:39
FillParamsUtil::luminousBunches
const std::vector< unsigned int > & luminousBunches() const
Definition:
FillParamsUtil.cxx:56
FillParamsUtil::beam1Bunches
const std::vector< unsigned int > & beam1Bunches() const
Definition:
FillParamsUtil.cxx:46
FillParamsUtil::m_beam2Bunches
std::vector< unsigned int > m_beam2Bunches
Definition:
FillParamsUtil.h:50
FillParamsUtil::nBeam1Bunches
unsigned int nBeam1Bunches() const
Definition:
FillParamsUtil.cxx:29
Generated on Sat Jan 11 2025 21:10:22 for ATLAS Offline Software by
1.8.18