ATLAS Offline Software
Loading...
Searching...
No Matches
BatchDriver.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7
8#ifndef EVENT_LOOP_BATCH_DRIVER_HH
9#define EVENT_LOOP_BATCH_DRIVER_HH
10
11#include <EventLoop/Global.h>
12
13#include <EventLoop/Driver.h>
15
16namespace EL
17{
22
23 class BatchDriver : public Driver
24 {
25 //
26 // public interface
27 //
28
31 public:
32 void testInvariant () const;
33
34
38 public:
40
41
44 public:
45 std::string shellInit;
46
47
48
49 //
50 // interface inherited from Driver
51 //
52
53 protected:
54 virtual ::StatusCode
56
57
58
59 //
60 // virtual interface
61 //
62
63
64
65 //
66 // private interface
67 //
68
75 private:
76 std::string defaultReleaseSetup (const Detail::ManagerData& data) const;
77
82 private:
84 std::size_t njobs) const;
85
86
92 private:
94
95#pragma GCC diagnostic push
96#pragma GCC diagnostic ignored "-Wpragmas"
97#pragma GCC diagnostic ignored "-Wunknown-pragmas"
98#pragma GCC diagnostic ignored "-Winconsistent-missing-override"
100#pragma GCC diagnostic pop
101 };
102}
103
104#endif
char data[hepevt_bytes_allocation_ATLAS]
Definition HepEvt.cxx:11
static bool mergeHists(Detail::ManagerData &data)
effects: merge the fetched histograms returns: wether all histograms have been fetched guarantee: str...
BatchDriver()
effects: standard default constructor guarantee: strong failures: low level errors I
ClassDef(BatchDriver, 1)
std::string defaultReleaseSetup(const Detail::ManagerData &data) const
the code for setting up the release
std::string shellInit
description: these shell commands are run verbatim on each worker node before execution
Definition BatchDriver.h:45
void makeScript(Detail::ManagerData &data, std::size_t njobs) const
effects: create the run script to be used guarantee: basic, may create a partial script failures: out...
void testInvariant() const
effects: test the invariant of this object guarantee: no-fail
virtual::StatusCode doManagerStep(Detail::ManagerData &data) const override
Driver()
standard default constructor
This module defines the arguments passed from the BATCH driver to the BATCH worker.
an internal data structure for passing data between different manager objects anbd step
Definition ManagerData.h:46