All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
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) {}
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

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: