ATLAS Offline Software
Loading...
Searching...
No Matches
ToolsOther.cxx File Reference
#include <SampleHandler/ToolsOther.h>
#include <RootCoreUtils/Assert.h>
#include <RootCoreUtils/hadd.h>
#include <RootCoreUtils/ThrowMsg.h>
#include <SampleHandler/MetaNames.h>
#include <SampleHandler/MetaObject.h>
#include <SampleHandler/SampleHandler.h>
#include <SampleHandler/SampleLocal.h>
#include <TFile.h>
#include <TSystem.h>
#include <iostream>
#include <thread>
#include <chrono>
#include <random>

Go to the source code of this file.

Namespaces

namespace  SH
 This module provides a lot of global definitions, forward declarations and includes that are used by all modules.

Functions

std::unique_ptr< TFile > SH::openFile (const std::string &name, const MetaObject &options)
 open a file with the given options
std::unique_ptr< SampleLocalSH::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
SampleHandler SH::mergeFiles (const SampleHandler &sh, const std::string &location, bool overwrite)
 merge all the files in the sample handles into a single file per sample in the given location