library: libProof #include "TFileMerger.h" |
TFileMerger
class description - header file - source file - inheritance tree (.pdf)
protected:
void PrintProgress(Long64_t bytesread, Long64_t size)
public:
TFileMerger()
TFileMerger(const TFileMerger&)
virtual ~TFileMerger()
virtual Bool_t AddFile(const char* url)
static TClass* Class()
virtual Bool_t Cp(const char* src, const char* dst, Bool_t progressbar = kTRUE, UInt_t buffersize = 1000000)
virtual const char* GetCWD()
const char* GetOutputFileName() const
virtual TClass* IsA() const
virtual Bool_t Merge()
virtual Bool_t MergeRecursive(TDirectory* target, TList* sourcelist)
TFileMerger& operator=(const TFileMerger&)
virtual Bool_t OutputFile(const char* url)
virtual void PrintFiles(Option_t* options)
virtual void Reset()
virtual Bool_t SetCWD(const char*)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
protected:
TStopwatch fWatch stop watch to measure file copy speed
TList* fFileList a list of files, which shall be merged
TFile* fOutputFile the outputfile for merging
TString fOutputFilename the name of the outputfile for merging
TString fOutputFilename1 the name of the temporary outputfile for merging
TFileMerger
This class provides file copy and merging services.
It can be used to copy files (not only ROOT files), using TFile or
any of its remote file access plugins. It is therefore usefull in
a Grid environment where the files might be accessable via Castor,
rfio, dcap, etc.
The merging interface allows files containing histograms and trees
to be merged, like the standalone hadd program.
Bool_t Cp(const char *src, const char *dst, Bool_t progressbar, UInt_t buffersize)
Allows to copy file from src to dst URL.
Bool_t Merge()
Merge the files. If no output file was specified it will write into
the file "FileMerger.root" in the working directory. Returns true
on success, false in case of error.
Author: Andreas Peters + Fons Rademakers 26/5/2005
Last update: root/proof:$Name: $:$Id: TFileMerger.cxx,v 1.10 2006/07/04 10:15:36 rdm Exp $
Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.