Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Fun4AllReturnCodes.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file Fun4AllReturnCodes.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef FUN4ALL_FUN4ALLRETURNCODES_H
4 #define FUN4ALL_FUN4ALLRETURNCODES_H
5 
6 // In general negative return codes signal some fatal condition where continuing is just a waste of cpu
7 
8 // SubsysReco module return codes:
9 // ABORTRUN: signals that processing should be aborted for this run, the process will exit with a non zero exit
10 // ABORTEVENT: abort reconstruction of the current event, reset everything and process the next event
11 // EVENT_OK: generic good return
12 // DISCARDEVENT: tell a connected output manager not to save this event but continue processing
13 // DONOTREGISTERSUBSYSTEM: during registration, module indicates it doesn't want to be registered
14 
15 // Synchronization
16 // SYNC_OK: all good
17 // SYNC_FAIL: synchronization failed (leads to a search for matching events by the sync manager)
18 // SYNC_NOOBJECT: no synchronization object in this input manager, take current event without check
19 // RESET_NODE_TREE: internal use - under certain conditions during the synchronization process Fun4All needs to reset the node tree to clear the prvious event
20 
21 namespace Fun4AllReturnCodes
22 {
23  enum
24  {
25  ABORTRUN = -2,
26  ABORTEVENT = -1,
27  EVENT_OK = 0,
29  SYNC_OK = 0,
30  SYNC_FAIL = -1,
34  };
35 }
36 
37 #endif /* FUN4ALL_FUN4ALLRETURNCODES_H */