|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #include "CoralBase/Blob.h"
8 #include "CoralBase/Attribute.h"
34 const std::vector<unsigned int> &
38 const std::vector<unsigned int> &
69 if (blobBC.size() == 0) {
72 unsigned int tmk = *
k;
84 if (blobBC.size() == 0) {
87 unsigned int tmk = *
k;
98 if (blobBC.size() == 0) {
101 unsigned int tmk = *
k;
109 const uint8_t *
k=
static_cast<const uint8_t*
>(blobBC.startingAddress());
112 if (blobBC.size() == 0) {
115 unsigned int tmk = *
k;
124 return setValue(rec.attributeList());
148 if (attrList1[
"B1BunchIntensities"].isNull()) {
149 error =
"BunchCode is NULL!";
153 cool::Float AI1 = attrList1[
"B1BunchAverage"].data<cool::Float>();
154 cool::Float AI2 = attrList1[
"B2BunchAverage"].data<cool::Float>();
160 std::cout <<
"Dette skulle vaere beam1 " << std::endl;
163 std::cout <<
"This should be beam 2 " << std::endl;
bool setValue(const coral::AttributeList &attrList1)
int ny2Storage(const cool::Record &rec)
unsigned int nBunch2Data() const
bool setCollidingBCID1s(std::vector< unsigned int > &)
class LumiBlobUtil m_blobUtil
std::vector< unsigned int > m_bunch1Data
unsigned int nBunch1Data() const
const std::vector< unsigned int > & bunch2Data() const
int ny1Storage(const cool::Record &rec)
bool setCollidingBCID2s(std::vector< unsigned int > &)
std::vector< unsigned int > m_bunch2Data
std::vector< unsigned int > m_collidingBCID1s
const std::vector< unsigned int > & bunch1Data() const
std::vector< unsigned int > m_collidingBCID2s
int nx1Storage(const cool::Record &rec)
bool unpack(const cool::Float &ARI, const coral::Blob &blobBC, const std::vector< unsigned int > &PV)
int nx2Storage(const cool::Record &rec)