|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #ifndef EVENT_LOOP_DRIVER_HH
9 #define EVENT_LOOP_DRIVER_HH
74 std::string
submit (
const Job&
job,
const std::string& location)
const;
113 const std::string& option);
132 static bool retrieve (
const std::string& location);
154 static bool wait (
const std::string& location,
unsigned time = 60);
235 #pragma GCC diagnostic push
236 #pragma GCC diagnostic ignored "-Wpragmas"
237 #pragma GCC diagnostic ignored "-Wunknown-pragmas"
238 #pragma GCC diagnostic ignored "-Winconsistent-missing-override"
240 #pragma GCC diagnostic pop
SH::MetaObject * options()
the list of options to jobs with this driver
char data[hepevt_bytes_allocation_ATLAS]
virtual ::StatusCode doManagerStep(Detail::ManagerData &data) const
static bool retrieve(const std::string &location)
retrieve all the output for the job in the given location
std::string submitOnly(const Job &job, const std::string &location) const
submit the given job with the given output location and return immediately
the base class for the various EventLoop drivers that allow to run jobs on different backends
static void mergedOutputSave(Detail::ManagerData &data)
create and save a sample handler assuming we created all the merged files at the requested locations
SH::MetaObject m_options
members directly corresponding to accessors
::StatusCode StatusCode
StatusCode definition for legacy code.
void testInvariant() const
test the invariant of this object
This module defines the arguments passed from the BATCH driver to the BATCH worker.
Driver()
standard default constructor
static bool wait(const std::string &location, unsigned time=60)
retrieve all the output for the job in the given location and wait until it is finished completely.
static void diskOutputSave(Detail::ManagerData &data)
make the output sample handler for the given job or stream from the information stored in the histogr...
static bool abortRetrieve
this flag is set to true when the wait() function is running and a SIGINT is caught,...
static void updateLocation(const std::string &location)
update the internal location of files, after moving the submission directory
an internal data structure for passing data between different manager objects anbd step
const SH::MetaObject * options() const
static void resubmit(const std::string &location, const std::string &option)
resubmit all failed sub-jobs for the job in the given location
std::string submit(const Job &job, const std::string &location) const
submit the given job with the given output location and wait for it to finish
a Manager that passes callbacks through to the Driver