ATLAS Offline Software
Loading...
Searching...
No Matches
BunchLumisUtil.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
11
12#ifndef COOLLUMIUTILITIES_BUNCHLUMISUTIL_H
13#define COOLLUMIUTILITIES_BUNCHLUMISUTIL_H
14
15#include <vector>
16#include <string>
17
18#include "CoralBase/AttributeList.h"
19#include "CoolKernel/Record.h"
21
23
24 public:
26
27
28 unsigned int nBunchLumis() const;
29
30 int nxStorage(const cool::Record& rec);
31 int nyStorage(const cool::Record& rec);
32
33 int nxStorage(const coral::AttributeList& attrList1) const;
34 int nyStorage(const coral::AttributeList& attrList1) const;
35
36 const std::vector<double>& bunchLumis() const;
37
38
39 // Clear all data vectors
40 void clear();
41
42 // Fill values from COOL, returns false on error
43 bool setValue(const coral::AttributeList& attrList1);
44 bool setValue(const cool::Record& rec);
45 // Set array of colliding BCIDs from FillParams
46 // Only needed for certain storage modes
47 bool setCollidingBCIDs(std::vector<unsigned int> &);
48
49 // Error string contains error from setValue() operation
50 std::string error;
51
52 private:
53 // Data
54
55
56 std::vector<double> m_bunchLumis;
57
58 std::vector<unsigned int> m_collidingBCIDs;
59
61
62};
63
64#endif
std::vector< unsigned int > m_collidingBCIDs
int nxStorage(const cool::Record &rec)
const std::vector< double > & bunchLumis() const
class LumiBlobUtil m_blobUtil
bool setCollidingBCIDs(std::vector< unsigned int > &)
bool setValue(const coral::AttributeList &attrList1)
unsigned int nBunchLumis() const
int nyStorage(const cool::Record &rec)
std::vector< double > m_bunchLumis