1 #ifndef FWCore_Framework_IEventProcessor_h 2 #define FWCore_Framework_IEventProcessor_h 34 enum Status { epSuccess=0, epException=1, epOther=2, epSignal=3,
35 epInputComplete=4, epTimedOut=5, epCountComplete=6 };
43 virtual StatusCode runToCompletion() = 0;
45 virtual void readFile() = 0;
46 virtual void closeInputFile(
bool cleaningUpAfterException) = 0;
47 virtual void openOutputFiles() = 0;
48 virtual void closeOutputFiles() = 0;
50 virtual void respondToOpenInputFile() = 0;
51 virtual void respondToCloseInputFile() = 0;
53 virtual void startingNewLoop() = 0;
54 virtual bool endOfLoop() = 0;
55 virtual void rewindInput() = 0;
56 virtual void prepareForNextLoop() = 0;
57 virtual bool shouldWeCloseOutput()
const = 0;
59 virtual void doErrorStuff() = 0;
69 virtual int readLuminosityBlock() = 0;
70 virtual int readAndMergeLumi() = 0;
76 virtual void readAndProcessEvent() = 0;
77 virtual bool shouldWeStop()
const = 0;
83 virtual bool alreadyHandlingException()
const = 0;
unsigned int LuminosityBlockNumber_t