ATLAS Offline Software
UnitTestConfig.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__UNIT_TEST_CONFIG_H
9 #define EVENT_LOOP__UNIT_TEST_CONFIG_H
10 
11 #include <EventLoopTest/Global.h>
12 
13 #include <EventLoop/Global.h>
14 #include <SampleHandler/Global.h>
15 #include <memory>
16 
17 namespace EL
18 {
26 
28  {
34  public:
35  std::shared_ptr<Driver> m_driver;
36 
37 
41  public:
42  virtual ~UnitTestConfig () noexcept = default;
43 
44 
52  public:
53  virtual std::unique_ptr<SH::DiskWriter>
54  make_file_writer (const std::string& name) const;
55 
56 
62  public:
63  virtual void setupJob (Job& job) const;
64  };
65 }
66 
67 #endif
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:562
EL::UnitTestConfig::~UnitTestConfig
virtual ~UnitTestConfig() noexcept=default
virtual destructor for virtual base class
EL
This module defines the arguments passed from the BATCH driver to the BATCH worker.
Definition: AlgorithmWorkerData.h:24
EL::UnitTestConfig
a class describing how to run the jobs for driver unit tests
Definition: UnitTestConfig.h:28
EL::UnitTestConfig::m_driver
std::shared_ptr< Driver > m_driver
the driver being tested
Definition: UnitTestConfig.h:35
EL::UnitTestConfig::make_file_writer
virtual std::unique_ptr< SH::DiskWriter > make_file_writer(const std::string &name) const
create a file write for the given file
Definition: UnitTestConfig.cxx:24
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
SH
This module provides a lot of global definitions, forward declarations and includes that are used by ...
Definition: PrunDriver.h:15
python.CaloScaleNoiseConfig.default
default
Definition: CaloScaleNoiseConfig.py:79
EL::Job
Definition: Job.h:51
test_interactive_athena.job
job
Definition: test_interactive_athena.py:6
Global.h
Global.h
Global.h
EL::UnitTestConfig::setupJob
virtual void setupJob(Job &job) const
apply extra job configuration parameters
Definition: UnitTestConfig.cxx:33