ATLAS Offline Software
ToolsOther.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 SAMPLE_HANDLER__TOOLS_OTHER_H
9 #define SAMPLE_HANDLER__TOOLS_OTHER_H
10 
11 #include <SampleHandler/Global.h>
12 
13 #include <memory>
14 
15 class TFile;
16 
17 namespace SH
18 {
29  std::unique_ptr<TFile>
30  openFile (const std::string& name, const MetaObject& options);
31 
32 
33 
47  std::unique_ptr<SampleLocal>
48  mergeFiles (const Sample& sample, const std::string& location,
49  bool overwrite);
50 
51 
52 
66  SampleHandler
67  mergeFiles (const SampleHandler& sh, const std::string& location,
68  bool overwrite);
69 }
70 
71 #endif
FullCPAlgorithmsTest_eljob.sample
sample
Definition: FullCPAlgorithmsTest_eljob.py:116
RCU::Shell
Definition: ShellExec.cxx:28
SH::openFile
std::unique_ptr< TFile > openFile(const std::string &name, const MetaObject &options)
open a file with the given options
Definition: ToolsOther.cxx:35
python.AtlRunQueryLib.options
options
Definition: AtlRunQueryLib.py:379
SH::mergeFiles
std::unique_ptr< SampleLocal > mergeFiles(const Sample &sample, const std::string &location, bool overwrite)
merge all the files in the sample into a single file in the given location
Definition: ToolsOther.cxx:73
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
SH
This module provides a lot of global definitions, forward declarations and includes that are used by ...
Definition: PrunDriver.h:15
Global.h