Analysis Software
Documentation for sPHENIX simulation software
|
#include <fstream>
#include <string.h>
#include "TChain.h"
#include "TFile.h"
#include "TH1.h"
#include "TTree.h"
#include "TKey.h"
#include "Riostream.h"
Go to the source code of this file.
Functions | |
void | MergeRootfile (TDirectory *target, TList *sourcelist) |
void | MergeFiles (const Int_t nFiles=100, const TString filelist="file.list", const TString outputrootfiles="test.root") |
void MergeFiles | ( | const Int_t | nFiles = 100 , |
const TString | filelist = "file.list" , |
||
const TString | outputrootfiles = "test.root" |
||
) |
Definition at line 26 of file MergeFiles.C.
View newest version in sPHENIX GitHub at line 26 of file MergeFiles.C
References f, FileList, add_histos::files, line, and MergeRootfile().
void MergeRootfile | ( | TDirectory * | target, |
TList * | sourcelist | ||
) |
!if the object is a tree, it is stored in globChain...
Definition at line 85 of file MergeFiles.C.
View newest version in sPHENIX GitHub at line 85 of file MergeFiles.C
References h1, h2, path, and utils::status.
Referenced by MergeFiles().