DAS  3.0
Das Analysis System
FileUtils.cc File Reference
#include "FileUtils.h"
#include <TFile.h>
#include <TTree.h>
#include <TKey.h>
#include <strnatcmp.h>
+ Include dependency graph for FileUtils.cc:

Namespaces

 Darwin
 
 Darwin::Tools
 

Functions

std::unique_ptr< TFile > GetOutput (std::filesystem::path output, const std::string &name)
 
void StandardInit ()
 
std::vector< std::filesystem::path > GetROOTfiles (std::vector< std::filesystem::path > inputs)
 
std::unique_ptr< ChainSlice > GetChain (std::vector< std::filesystem::path > inputs, const Slice slice={1, 0}, const std::string &name="events")
 
std::string GetFirstTreeLocation (const std::filesystem::path &input)
 
std::unique_ptr< TTree > NewTree (const std::unique_ptr< ChainSlice > &chain, const bool makeFriend, const std::string &thisFunc)