10 #ifndef HERD_CALOPDEVENTCHANNELINFO_H_ 11 #define HERD_CALOPDEVENTCHANNELINFO_H_ 32 friend void CaloPDEventChannelInfoStreamer(TBuffer &buf,
void *voidPtr);
Flag StatusFlags(unsigned int volID) const
Return the binary code which contains all the flags corresponding to the ID.
Definition: CaloPDEventChannelInfo.h:74
CssGeoParams.h CssGeoParams class declaration.
Definition: CaloPDCalibrationAlgo.h:24
CaloPDEventChannelInfo()
Default constructor with the number of channels = 0.
Definition: CaloPDEventChannelInfo.h:51
std::vector< Flag > _channelInfoStatusFlags
binary code use to store some information
Definition: CaloPDEventChannelInfo.h:88
virtual ~CaloPDEventChannelInfo()=default
Virtual destructor.
void SetNChannels(size_t nChannels)
Setup the total number of channels and initialize the values.
Definition: CaloPDEventChannelInfo.h:67
CaloPDEventChannelInfo(unsigned int nChannels)
Constructor.
Definition: CaloPDEventChannelInfo.h:58
Data structure for information regarding a channel connected to a Calo photodiode.
Definition: CaloPDEventChannelInfo.h:29
void SetStatusFlags(unsigned int volID, Flag channelInfoStatusFlags)
Set the entire binary corresponding to this ID.
Definition: CaloPDEventChannelInfo.cpp:13
#define ENABLE_BITMASK_OPERATORS(x)
Type safe implementation of a bitmask enum.
Definition: BitMask.h:21
Flag
Enum used as index for the bitset member LSB rappresents the Gain: 1 -> high gain; 0 -> low gain...
Definition: CaloPDEventChannelInfo.h:45