ATLAS Offline Software
Database
CoolLumiUtilities
CoolLumiUtilities
BunchDescription.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_BUNCHDESCRIPTION_H
13
#define COOLLUMIUTILITIES_BUNCHDESCRIPTION_H
14
15
#include <vector>
16
#include <string>
17
18
#include "CoralBase/AttributeList.h"
19
#include "CoolKernel/Record.h"
20
21
class
BunchDescription
{
22
23
public
:
24
BunchDescription
();
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
38
*/
39
40
unsigned
int
nBunchD1
()
const
;
41
42
const
std::vector<unsigned int>&
bunchD
()
const
;
43
44
45
// Clear all data vectors
46
void
clear
();
47
48
// Fill values from COOL, returns false on error
49
bool
setValue
(
const
coral::AttributeList
& attrList);
50
bool
setValue
(
const
cool::Record& rec);
51
52
// Error string contains error from setValue() operation
53
std::string
error
;
54
55
56
private
:
57
// Data
58
/*
59
std::vector<unsigned int> m_beam1Bunches;
60
std::vector<unsigned int> m_beam2Bunches;
61
std::vector<unsigned int> m_luminousBunches;
62
*/
63
std::vector<unsigned int>
m_bunchD
;
64
65
};
66
67
#endif
68
69
70
71
72
BunchDescription::bunchD
const std::vector< unsigned int > & bunchD() const
Definition:
BunchDescription.cxx:33
python.PyKernel.AttributeList
AttributeList
Definition:
PyKernel.py:36
BunchDescription
Utility class to to decode data from FILLPARAMS COOL folder
Definition:
BunchDescription.h:21
BunchDescription::clear
void clear()
Definition:
BunchDescription.cxx:21
BunchDescription::error
std::string error
Definition:
BunchDescription.h:53
BunchDescription::setValue
bool setValue(const coral::AttributeList &attrList)
Definition:
BunchDescription.cxx:46
BunchDescription::BunchDescription
BunchDescription()
Definition:
BunchDescription.cxx:14
BunchDescription::nBunchD1
unsigned int nBunchD1() const
Definition:
BunchDescription.cxx:28
BunchDescription::m_bunchD
std::vector< unsigned int > m_bunchD
Definition:
BunchDescription.h:63
Generated on Tue Dec 24 2024 21:07:37 for ATLAS Offline Software by
1.8.18