5#ifndef LArBadChannelDBTools_H
6#define LArBadChannelDBTools_H
8#include "CoolKernel/types.h"
9#include "CoolKernel/Record.h"
10#include "CoralBase/AttributeListSpecification.h"
22#include "GaudiKernel/MsgStream.h"
40 template <
class Entry>
42 const coral::AttributeListSpecification& spec );
47 const coral::AttributeListSpecification& spec);
64 const coral::AttributeListSpecification& spec,
69 coral::Blob& blob=(*attrList)[
"Blob"].data<coral::Blob>();
74 std::vector<BadChanEntry>
75 readBadChan(
const coral::AttributeList& attrList, MsgStream& log);
77 std::vector<BadFebEntry>
78 readBadFeb(
const coral::AttributeList& attrList, MsgStream& log);
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
char data[hepevt_bytes_allocation_ATLAS]
An AttributeList represents a logical row of attributes in a metadata table.
This class is a collection of AttributeLists where each one is associated with a channel number.
std::pair< HWIdentifier, LArBadFeb > BadFebEntry
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::pair< HWIdentifier, LArBadChannel > BadChanEntry
std::vector< BadFebEntry > BadFebVec