1 #ifndef STAR_STCLOSEFILEONTERMINATE
2 #define STAR_STCLOSEFILEONTERMINATE
5 #include "TSysEvtHandler.h"
23 virtual void SetNotifiedCallBack() = 0;
43 static bool Exists() {
return fgCloseFileOnTerminate;}
Class StCloseFileOnTerminate - it is a singleton to catch the SIGTERM signal (sent by Condor for exam...
Class StTerminateNotified is a abstract visitor to propagate the termination signal It is to provide ...
virtual Bool_t Notify()
Close the open ROOT files upon SIGTERM sent by system to terminate the job.
virtual Bool_t Notify()
Close the open ROOT files upon SIGTERM sent by system to terminate the job.
static StCloseFileOnTerminate & Instantiate()
Create an instance of the signal handler (Should be called at once by code)