22 std::string typestring;
25 typestring =
"high gain";
28 typestring =
"low gain";
34 typestring =
"LEDmon";
Error handling invalid channel types.
std::ostream & operator<<(std::ostream &stream, const Cell &cell)
Stream operator for EMCAL cell.
std::string channelTypeToString(ChannelType_t chantype)
Create string representation of the channel type object.
ChannelType_t intToChannelType(int chantype)
Convert integer number to channel type object.
ChannelType_t
Type of a raw data channel.
@ HIGH_GAIN
High gain channel.
@ LOW_GAIN
Low gain channel.
@ LEDMON
LED monitor channel.
int channelTypeToInt(ChannelType_t chantype)
integer representation of the channel type object