5#ifndef LArBadChanBlobUtils_H
6#define LArBadChanBlobUtils_H
8#include "CoolKernel/types.h"
14#include "GaudiKernel/MsgStream.h"
36 void fillBlob(
const std::vector< std::pair<HWIdentifier,T> >&
vec, coral::Blob& blob);
38 void fillFebBlobV1(
const std::vector<HWIdentifier>&
vec, coral::Blob& blob);
49 std::vector<std::pair<HWIdentifier,T> >
decodeBlob(
const coral::Blob* blobp,
51 std::size_t stateSize,
64 std::size_t stateSizeInBlob,
68 std::size_t currentStateSize,
std::vector< size_t > vec
bool checkBlob(const coral::Blob *blobp, std::size_t chanSize, std::size_t stateSizeInBlob, int endian, int, std::size_t step, std::size_t currentStateSize, MsgStream &log)
std::pair< HWIdentifier, LArBadFeb > BadFebEntry
std::vector< std::pair< HWIdentifier, T > > decodeBlob(const coral::Blob *blobp, std::size_t chanSize, std::size_t stateSize, int endian, int version, MsgStream &log)
Checks BLOB for differences in endian-ness and size of data types with respect to the architecture on...
std::vector< BadChanEntry > BadChanVec
void fillBlob(const std::vector< std::pair< HWIdentifier, T > > &vec, coral::Blob &blob)
Creates a BLOB of the right size and copies the content of the vector of pair<HWIdentifier,...
Identifier32::value_type Channel
std::vector< HWIdentifier > decodeFebBlobV1(const coral::Blob *blobp, std::size_t chanSize, int endian, int version, MsgStream &log)
std::pair< HWIdentifier, LArBadChannel > BadChanEntry
std::vector< BadFebEntry > BadFebVec
void fillFebBlobV1(const std::vector< HWIdentifier > &vec, coral::Blob &blob)