ATLAS Offline Software
Loading...
Searching...
No Matches
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
12
13#include <memory>
14
15class TFile;
16
17namespace 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
67 mergeFiles (const SampleHandler& sh, const std::string& location,
68 bool overwrite);
69}
70
71#endif
A class that manages meta-data to be associated with an object.
Definition MetaObject.h:56
A class that manages a list of Sample objects.
a base class that manages a set of files belonging to a particular data set and the associated meta-d...
Definition Sample.h:54
This module provides a lot of global definitions, forward declarations and includes that are used by ...
Definition PrunDriver.h:15
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
std::unique_ptr< TFile > openFile(const std::string &name, const MetaObject &options)
open a file with the given options