ATLAS Offline Software
Loading...
Searching...
No Matches
PhysicsAnalysis/D3PDTools/EventLoopTest/EventLoopTest/UnitTest.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef EVENT_LOOP_UNIT_TEST_HH
6#define EVENT_LOOP_UNIT_TEST_HH
7
9
10#include <string>
11#include <EventLoop/Global.h>
13
14namespace EL
15{
16 struct UnitTest
17 {
19 std::string name;
20
22 std::string base_path;
23
25 bool scanNEvents {false};
26
28 bool gridInput {false};
29
32 bool cleanup;
33
36
38 std::string location;
39
42
45
46
50 UnitTest (const std::string& val_name, std::string base_path = "");
51
52
58 int run (const Driver& driver) const;
59 };
60}
61
62#endif
the base class for the various EventLoop drivers that allow to run jobs on different backends
Definition Driver.h:28
a class/interface representing an output location for files
Definition DiskOutput.h:46
This module defines the arguments passed from the BATCH driver to the BATCH worker.
Definition run.py:1
std::string base_path
description: the base path for the data files
bool gridInput
whether to use the inputs from the grid dataset
bool testOutput
description: whether to test creating output n-tuples
bool testFileExecute
whether to test the fileExecute method
SH::DiskOutput * outputDisk
description: the output disk
bool cleanup
description: whether we clean up the submit directory afterwards
std::string name
description: the name of the unit test
UnitTest(const std::string &val_name, std::string base_path="")
effects: standard constructor guarantee: storng failures: out of memory II
std::string location
description: the location for the unit test
bool scanNEvents
whether to scan for number of events