ATLAS Offline Software
Loading...
Searching...
No Matches
LumiBlobUtil.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_LUMIBLOBUTIL_H
13#define COOLLUMIUTILITIES_LUMIBLOBUTIL_H
14
15#include <vector>
16#include <string>
17
18#include "CoralBase/AttributeList.h"
19#include "CoolKernel/Record.h"
20
22
23 public:
25
26 int xvalue(const cool::Record& rec);
27 int yvalue(const cool::Record& rec);
28
29 int xvalue(const coral::AttributeList& attrList1) const;
30 int yvalue(const coral::AttributeList& attrList1) const;
31
32 // Clear all data vectors
33 void clear();
34 // Fill values from COOL, returns false on error
35 const std::vector<double>& bunchLumis() const;
36
37 bool unpack(const cool::Float &ARI, const coral::Blob &blobBC, const std::vector<unsigned int> &PV);
38 // bool setValue(const coral::AttributeList& attrList1);
39 // bool setValue(const cool::Record& rec);
40 // Set array of colliding BCIDs from FillParams
41 // Only needed for certain storage modes
42
43 // Error string contains error from setValue() operation
44 std::string error;
45 private:
46 // Data
47 std::vector<double> m_bunchLumis;
48
49};
50
51#endif
bool unpack(const cool::Float &ARI, const coral::Blob &blobBC, const std::vector< unsigned int > &PV)
const std::vector< double > & bunchLumis() const
int xvalue(const cool::Record &rec)
std::vector< double > m_bunchLumis
int yvalue(const cool::Record &rec)