11#ifndef O2_PHOS_PHOSBADCHANNELSMAP_H_
12#define O2_PHOS_PHOSBADCHANNELSMAP_H_
78 mBadCells |= rhs.mBadCells;
128 static constexpr short NCHANNELS = 14337;
129 static constexpr short OFFSET = 1793;
130 std::bitset<NCHANNELS> mBadCells;
142std::ostream&
operator<<(std::ostream& in,
const BadChannelsMap& bcm);
Class for time synchronization of RawReader instances.
CCDB container for bad (masked) channels in PHOS.
void setChannelGood(short channelID)
Mark channel as good.
void addBadChannel(short channelID)
Add bad cell to the container.
void getHistogramRepresentation(char mod, TH2 *h) const
Convert map into 2D histogram representation.
bool isChannelGood(short channelID) const
Get the status of a certain cell.
BadChannelsMap(const BadChannelsMap &another)=default
Constructor.
void PrintStream(std::ostream &stream) const
Print bad channels on a given stream.
~BadChannelsMap()=default
Destructor.
BadChannelsMap & operator+=(const BadChannelsMap &rhs)
Add bad channel map to this bad channel map.
bool operator==(const BadChannelsMap &other) const
Comparison of two bad channel maps.
BadChannelsMap()=default
Constructor.
std::ostream & operator<<(std::ostream &in, const BadChannelsMap &bcm)
Printing bad channel map on the stream.
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
FIXME: do not use data model tables.
VectorOfTObjectPtrs other