ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDTools
EventLoop
EventLoop
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
>
14
#include <
SampleHandler/Global.h
>
15
16
namespace
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
:
39
BatchDriver
();
40
41
44
public
:
45
std::string
shellInit
;
46
47
48
49
//
50
// interface inherited from Driver
51
//
52
53
protected
:
54
virtual ::StatusCode
55
doManagerStep
(
Detail::ManagerData
& data)
const override
;
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
:
83
void
makeScript
(
Detail::ManagerData
& data,
84
std::size_t njobs)
const
;
85
86
92
private
:
93
static
bool
mergeHists
(
Detail::ManagerData
& data);
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"
99
ClassDef
(
BatchDriver
, 1);
100
#pragma GCC diagnostic pop
101
};
102
}
103
104
#endif
Global.h
Global.h
Driver.h
EL::BatchDriver::mergeHists
static bool mergeHists(Detail::ManagerData &data)
effects: merge the fetched histograms returns: wether all histograms have been fetched guarantee: str...
EL::BatchDriver::BatchDriver
BatchDriver()
effects: standard default constructor guarantee: strong failures: low level errors I
EL::BatchDriver::ClassDef
ClassDef(BatchDriver, 1)
EL::BatchDriver::defaultReleaseSetup
std::string defaultReleaseSetup(const Detail::ManagerData &data) const
the code for setting up the release
EL::BatchDriver::shellInit
std::string shellInit
description: these shell commands are run verbatim on each worker node before execution
Definition
BatchDriver.h:45
EL::BatchDriver::makeScript
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...
EL::BatchDriver::testInvariant
void testInvariant() const
effects: test the invariant of this object guarantee: no-fail
EL::BatchDriver::doManagerStep
virtual::StatusCode doManagerStep(Detail::ManagerData &data) const override
EL::Driver::Driver
Driver()
standard default constructor
EL
This module defines the arguments passed from the BATCH driver to the BATCH worker.
Definition
AsgComponentFactories.h:16
EL::Detail::ManagerData
an internal data structure for passing data between different manager objects anbd step
Definition
ManagerData.h:46
Generated on
for ATLAS Offline Software by
1.17.0