ATLAS Offline Software
Loading...
Searching...
No Matches
LArBadChanBlobUtils.h File Reference
#include "CoolKernel/types.h"
#include "Identifier/HWIdentifier.h"
#include "LArRecConditions/LArBadChannel.h"
#include "LArRecConditions/LArBadFeb.h"
#include "GaudiKernel/MsgStream.h"
#include <vector>
#include "LArBadChannelTool/LArBadChanBlobUtils.icc"
Include dependency graph for LArBadChanBlobUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  LArBadChanBlobUtils

Typedefs

typedef std::pair< HWIdentifier, LArBadChannelLArBadChanBlobUtils::BadChanEntry
typedef std::pair< HWIdentifier, LArBadFebLArBadChanBlobUtils::BadFebEntry
typedef std::vector< BadChanEntryLArBadChanBlobUtils::BadChanVec
typedef std::vector< BadFebEntryLArBadChanBlobUtils::BadFebVec
typedef Identifier32::value_type LArBadChanBlobUtils::Channel

Enumerations

enum  LArBadChanBlobUtils::Endianness { LArBadChanBlobUtils::LittleEndian , LArBadChanBlobUtils::BigEndian }

Functions

int LArBadChanBlobUtils::machineEndianness ()
template<class T>
void LArBadChanBlobUtils::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, LArBadChannel> into the blob.
void LArBadChanBlobUtils::fillFebBlobV1 (const std::vector< HWIdentifier > &vec, coral::Blob &blob)
template<class T>
std::vector< std::pair< HWIdentifier, T > > LArBadChanBlobUtils::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 which the code is executed and if the checks paass decodes the BLOB data into a vector of pair<HWIdentifier, LArBadChannel>.
std::vector< HWIdentifierLArBadChanBlobUtils::decodeFebBlobV1 (const coral::Blob *blobp, std::size_t chanSize, int endian, int version, MsgStream &log)
bool LArBadChanBlobUtils::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)