ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDTools
EventLoopTest
EventLoopTest
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
8
#include <
EventLoopTest/Global.h
>
9
10
#include <string>
11
#include <
EventLoop/Global.h
>
12
#include <
SampleHandler/SampleHandler.h
>
13
14
namespace
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
35
bool
testOutput
;
36
38
std::string
location
;
39
41
SH::DiskOutput
*
outputDisk
;
42
44
bool
testFileExecute
;
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
Global.h
Global.h
SampleHandler.h
EL::Driver
the base class for the various EventLoop drivers that allow to run jobs on different backends
Definition
Driver.h:28
SH::DiskOutput
a class/interface representing an output location for files
Definition
DiskOutput.h:46
EL
This module defines the arguments passed from the BATCH driver to the BATCH worker.
Definition
AsgComponentFactories.h:16
EL::UnitTest::base_path
std::string base_path
description: the base path for the data files
Definition
PhysicsAnalysis/D3PDTools/EventLoopTest/EventLoopTest/UnitTest.h:22
EL::UnitTest::gridInput
bool gridInput
whether to use the inputs from the grid dataset
Definition
PhysicsAnalysis/D3PDTools/EventLoopTest/EventLoopTest/UnitTest.h:28
EL::UnitTest::testOutput
bool testOutput
description: whether to test creating output n-tuples
Definition
PhysicsAnalysis/D3PDTools/EventLoopTest/EventLoopTest/UnitTest.h:35
EL::UnitTest::testFileExecute
bool testFileExecute
whether to test the fileExecute method
Definition
PhysicsAnalysis/D3PDTools/EventLoopTest/EventLoopTest/UnitTest.h:44
EL::UnitTest::run
int run(const Driver &driver) const
effects: perform a unit test with the given driver returns: EXIT_SUCCESS on success,...
Definition
PhysicsAnalysis/D3PDTools/EventLoopTest/Root/UnitTest.cxx:54
EL::UnitTest::outputDisk
SH::DiskOutput * outputDisk
description: the output disk
Definition
PhysicsAnalysis/D3PDTools/EventLoopTest/EventLoopTest/UnitTest.h:41
EL::UnitTest::cleanup
bool cleanup
description: whether we clean up the submit directory afterwards
Definition
PhysicsAnalysis/D3PDTools/EventLoopTest/EventLoopTest/UnitTest.h:32
EL::UnitTest::name
std::string name
description: the name of the unit test
Definition
PhysicsAnalysis/D3PDTools/EventLoopTest/EventLoopTest/UnitTest.h:19
EL::UnitTest::UnitTest
UnitTest(const std::string &val_name, std::string base_path="")
effects: standard constructor guarantee: storng failures: out of memory II
Definition
PhysicsAnalysis/D3PDTools/EventLoopTest/Root/UnitTest.cxx:43
EL::UnitTest::location
std::string location
description: the location for the unit test
Definition
PhysicsAnalysis/D3PDTools/EventLoopTest/EventLoopTest/UnitTest.h:38
EL::UnitTest::scanNEvents
bool scanNEvents
whether to scan for number of events
Definition
PhysicsAnalysis/D3PDTools/EventLoopTest/EventLoopTest/UnitTest.h:25
Generated on
for ATLAS Offline Software by
1.17.0