8 #ifndef DuneChannelInfo_H 9 #define DuneChannelInfo_H 47 : channel(a_channel), fembID(a_fembID), fembChannel(a_fembChannel),
48 channelStatus(a_channelStatus) { }
55 if ( channel < rhs.
channel )
return true;
61 if ( channel != rhs.
channel )
return false;
62 if ( fembID != rhs.
fembID )
return false;
69 return ! (*
this == rhs);
74 std::ostringstream ssout;
85 while ( sid.size() < wid ) sid =
"0" + sid;
87 while ( sch.size() < wch ) sch =
"0" + sch;
88 return sid +
"-" + sch;
bool operator!=(const DuneChannelInfo &rhs) const
std::string channelString() const
bool operator==(const DuneChannelInfo &rhs) const
DuneChannelInfo()=default
static Index badChannel()
DuneChannelInfo(Index a_channel, Index a_fembID, Index a_fembChannel, Index a_channelStatus)
bool operator<(const DuneChannelInfo &rhs)
std::string to_string(ModuleType const mt)
std::string fembString(Index wid=2, Index wch=3) const
static const DuneChannelInfo & badChannelInfo()