Public Member Functions | List of all members
geo::ColdBoxChannelMapAlg::ChannelRange_t Struct Reference
Inheritance diagram for geo::ColdBoxChannelMapAlg::ChannelRange_t:

Public Member Functions

constexpr raw::ChannelID_t begin () const
 Returns the ID of the first channel in the range. More...
 
constexpr raw::ChannelID_t end () const
 Returns the ID of the channel after the last one in the range. More...
 
constexpr bool contains (raw::ChannelID_t channel) const
 Returns whether this range includes the specified channel. More...
 

Detailed Description

Definition at line 381 of file ColdBoxChannelMapAlg.h.

Member Function Documentation

constexpr raw::ChannelID_t geo::ColdBoxChannelMapAlg::ChannelRange_t::begin ( ) const
inline

Returns the ID of the first channel in the range.

Definition at line 388 of file ColdBoxChannelMapAlg.h.

388 { return first; }
constexpr bool geo::ColdBoxChannelMapAlg::ChannelRange_t::contains ( raw::ChannelID_t  channel) const
inline

Returns whether this range includes the specified channel.

Definition at line 394 of file ColdBoxChannelMapAlg.h.

395  { return (channel >= begin()) && (channel < end()); }
constexpr raw::ChannelID_t end() const
Returns the ID of the channel after the last one in the range.
uint8_t channel
Definition: CRTFragment.hh:201
constexpr raw::ChannelID_t begin() const
Returns the ID of the first channel in the range.
constexpr raw::ChannelID_t geo::ColdBoxChannelMapAlg::ChannelRange_t::end ( ) const
inline

Returns the ID of the channel after the last one in the range.

Definition at line 391 of file ColdBoxChannelMapAlg.h.

391 { return second; }
second_as<> second
Type of time stored in seconds, in double precision.
Definition: spacetime.h:85

The documentation for this struct was generated from the following file: