LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
pyG4ExceptionSeverity.cc File Reference
#include <boost/python.hpp>
#include "G4ExceptionSeverity.hh"

Go to the source code of this file.

Functions

void export_G4ExceptionSeverity ()
 

Function Documentation

void export_G4ExceptionSeverity ( )

Definition at line 41 of file pyG4ExceptionSeverity.cc.

References value.

Referenced by BOOST_PYTHON_MODULE().

42 {
43  enum_<G4ExceptionSeverity>("G4ExceptionSeverity")
44  .value("FatalException", FatalException)
45  .value("FatalErrorInArgument", FatalErrorInArgument)
46  .value("RunMustBeAborted", RunMustBeAborted)
47  .value("EventMustBeAborted", EventMustBeAborted)
48  .value("JustWarning", JustWarning)
49  ;
50 
51 }
double value
Definition: spectrum.C:18