ATLAS Offline Software
UnitTestConfig.cxx
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 //
9 // includes
10 //
11 
13 
14 #include <RootCoreUtils/Assert.h>
16 
17 //
18 // method implementations
19 //
20 
21 namespace EL
22 {
23  std::unique_ptr<SH::DiskWriter> UnitTestConfig ::
24  make_file_writer (const std::string& name) const
25  {
26  return std::unique_ptr<SH::DiskWriterLocal>
27  (new SH::DiskWriterLocal ("data/" + name));
28  }
29 
30 
31 
33  setupJob (Job& /*job*/) const
34  {}
35 }
SH::DiskWriterLocal
an implementation of DiskWriter for local files
Definition: DiskWriterLocal.h:21
Assert.h
EL
This module defines the arguments passed from the BATCH driver to the BATCH worker.
Definition: AlgorithmWorkerData.h:24
DiskWriterLocal.h
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:221
UnitTestConfig.h
EL::Job
Definition: Job.h:51
EL::UnitTestConfig::setupJob
virtual void setupJob(Job &job) const
apply extra job configuration parameters
Definition: UnitTestConfig.cxx:33