LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
geo::InvalidWireIDError Class Reference

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

#include "Exceptions.h"

Inheritance diagram for geo::InvalidWireIDError:

Public Member Functions

 InvalidWireIDError (std::string cat)
 
 InvalidWireIDError (std::string cat, int bad_wire, int better_wire=-1)
 

Public Attributes

int wire_number = -1
 the invalid wire number More...
 
int better_wire_number = -1
 a suggestion for a good wire number More...
 

Detailed Description

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


Deprecated:
Use InvalidWireError instead

Definition at line 158 of file Exceptions.h.

Constructor & Destructor Documentation

geo::InvalidWireIDError::InvalidWireIDError ( std::string  cat)
inline

Definition at line 160 of file Exceptions.h.

160 : cet::exception(cat) {}
cet::coded_exception< error, detail::translate > exception
Definition: exception.h:33
geo::InvalidWireIDError::InvalidWireIDError ( std::string  cat,
int  bad_wire,
int  better_wire = -1 
)
inline

Definition at line 162 of file Exceptions.h.

162  :
163  cet::exception(cat),
164  wire_number(bad_wire), better_wire_number(better_wire)
165  {}
int wire_number
the invalid wire number
Definition: Exceptions.h:167
int better_wire_number
a suggestion for a good wire number
Definition: Exceptions.h:168
cet::coded_exception< error, detail::translate > exception
Definition: exception.h:33

Member Data Documentation

int geo::InvalidWireIDError::better_wire_number = -1

a suggestion for a good wire number

Definition at line 168 of file Exceptions.h.

int geo::InvalidWireIDError::wire_number = -1

the invalid wire number

Definition at line 167 of file Exceptions.h.


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