53 if (
gROOT->LoadMacro(
tutdir +
"/hsimple.C"))
return;
62 fm->OutputFile(
"exclusive.root");
63 fm->AddObjectNames(
"hprof folder");
64 for (i=0; i<
nfiles; i++)
fm->AddFile(
Form(
"tomerge%03d.root",i));
74 fm->OutputFile(
"skipped.root");
75 fm->AddObjectNames(
"hprof folder");
76 for (i=0; i<
nfiles; i++)
fm->AddFile(
Form(
"tomerge%03d.root",i));
106 if (
sname.Contains(
"000")) {
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char mode
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
R__EXTERN TSystem * gSystem
Using a TBrowser one can browse all ROOT objects.
TDirectory * mkdir(const char *name, const char *title="", Bool_t returnExistingDirectory=kFALSE) override
Create a sub-directory "a" or a hierarchy of sub-directories "a/b/c/...".
virtual Bool_t cd()
Change current directory to "this" directory.
This class provides file copy and merging services.
@ kAll
Merge all type of objects (default)
@ kIncremental
Merge the input file with the content of the output file (if already existing).
@ kSkipListed
Skip objects specified in fObjectNames list.
@ kOnlyListed
Only the objects specified in fObjectNames list.
A ROOT file is an on-disk file, usually with extension .root, that stores objects in a file-system-li...
virtual Bool_t Cp(const char *dst, Bool_t progressbar=kTRUE, UInt_t buffersize=1000000)
Allows to copy this file to the dst URL.
static TFile * Open(const char *name, Option_t *option="", const char *ftitle="", Int_t compress=ROOT::RCompressionSetting::EDefaults::kUseCompiledDefault, Int_t netopt=0)
Create / open a file.
void Close(Option_t *option="") override
Close a file.
1-D histogram with a float per channel (see TH1 documentation)
virtual int Unlink(const char *name)
Unlink, i.e.