Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 10:11:48

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 #define _DBG_ std::cerr<<__FILE__<<":"<<__LINE__<<" "
0012 #define _DBG__ std::cerr<<__FILE__<<":"<<__LINE__<<std::endl
0013 
0014 enum jerror_t{
0015     NOERROR = 0,
0016     UNKNOWN_ERROR = -1000,
0017 
0018     MAX_EVENT_PROCESSORS_EXCEEDED,
0019 
0020     ERROR_OPENING_EVENT_SOURCE,
0021     ERROR_CLOSING_EVENT_SOURCE,
0022     NO_MORE_EVENTS_IN_SOURCE,
0023     NO_MORE_EVENT_SOURCES,
0024     EVENT_NOT_IN_MEMORY,
0025     EVENT_SOURCE_NOT_OPEN,
0026     OBJECT_NOT_AVAILABLE,
0027     DEVENT_OBJECT_DOES_NOT_EXIST,
0028 
0029     MEMORY_ALLOCATION_ERROR,
0030 
0031     RESOURCE_UNAVAILABLE,
0032     VALUE_OUT_OF_RANGE,
0033 
0034     INFINITE_RECURSION,
0035     UNRECOVERABLE_ERROR,
0036 
0037     FILTER_EVENT_OUT
0038 };
0039 
0040 // The following is here just so we can use ROOT's THtml class to generate documentation.
0041 #include <JANA/Compatibility/cint.h>
0042 
0043