Public Member Functions | Public Attributes | List of all members
gar::geo::seg::InvalidChannelIDError Class Reference

Exception thrown on invalid wire number (e.g. NearestWireID()) More...

#include <ChannelMapAlg.h>

Inheritance diagram for gar::geo::seg::InvalidChannelIDError:

Public Member Functions

 InvalidChannelIDError (std::string const &cat)
 
 InvalidChannelIDError (std::string const &cat, int bad_chan, int better_chan=-1)
 

Public Attributes

int chan_number = std::numeric_limits<int>::min()
 the invalid wire number More...
 
int better_chan_number = std::numeric_limits<int>::min()
 a suggestion for a good wire number More...
 

Detailed Description

Exception thrown on invalid wire number (e.g. NearestWireID())

Definition at line 30 of file ChannelMapAlg.h.

Constructor & Destructor Documentation

gar::geo::seg::InvalidChannelIDError::InvalidChannelIDError ( std::string const &  cat)
inline

Definition at line 32 of file ChannelMapAlg.h.

32 : cet::exception(cat) {}
cet::coded_exception< error, detail::translate > exception
Definition: exception.h:33
gar::geo::seg::InvalidChannelIDError::InvalidChannelIDError ( std::string const &  cat,
int  bad_chan,
int  better_chan = -1 
)
inline

Definition at line 34 of file ChannelMapAlg.h.

37  : cet::exception (cat)
38  , chan_number (bad_chan)
39  , better_chan_number(better_chan)
40  {}
int chan_number
the invalid wire number
Definition: ChannelMapAlg.h:42
int better_chan_number
a suggestion for a good wire number
Definition: ChannelMapAlg.h:43
cet::coded_exception< error, detail::translate > exception
Definition: exception.h:33

Member Data Documentation

int gar::geo::seg::InvalidChannelIDError::better_chan_number = std::numeric_limits<int>::min()

a suggestion for a good wire number

Definition at line 43 of file ChannelMapAlg.h.

int gar::geo::seg::InvalidChannelIDError::chan_number = std::numeric_limits<int>::min()

the invalid wire number

Definition at line 42 of file ChannelMapAlg.h.


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