Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:17:33

0001 //
0002 /// jerror.h
0003 /// 
0004 /// This file contains error codes for errors specific to the
0005 /// analysis code. Many functions return values
0006 /// of type jerror_t. This header should be included in all
0007 /// files which must deal with this type.
0008 
0009 #pragma once
0010 
0011 namespace jana::compatibility::jerror {
0012 [[deprecated("This will be completely removed from JANA with no replacement. If you still need jerror.h, copy it into your own project.")]]
0013 constexpr static int header_is_deprecated = 0;
0014 constexpr static int warn_about_header_deprecation = header_is_deprecated;
0015 }
0016 
0017 enum jerror_t{
0018     NOERROR = 0,
0019     UNKNOWN_ERROR = -1000,
0020 
0021     MAX_EVENT_PROCESSORS_EXCEEDED,
0022 
0023     ERROR_OPENING_EVENT_SOURCE,
0024     ERROR_CLOSING_EVENT_SOURCE,
0025     NO_MORE_EVENTS_IN_SOURCE,
0026     NO_MORE_EVENT_SOURCES,
0027     EVENT_NOT_IN_MEMORY,
0028     EVENT_SOURCE_NOT_OPEN,
0029     OBJECT_NOT_AVAILABLE,
0030     DEVENT_OBJECT_DOES_NOT_EXIST,
0031 
0032     MEMORY_ALLOCATION_ERROR,
0033 
0034     RESOURCE_UNAVAILABLE,
0035     VALUE_OUT_OF_RANGE,
0036 
0037     INFINITE_RECURSION,
0038     UNRECOVERABLE_ERROR,
0039 
0040     FILTER_EVENT_OUT
0041 };
0042 
0043 // The following is here just so we can use ROOT's THtml class to generate documentation.
0044 #include <JANA/Compatibility/cint.h>
0045 
0046