AliPhysics  5a28df1 (5a28df1)

Script to generate a chain of files. More...

Go to the source code of this file.

Functions

Bool_t IsFile (const char *path)
 
Bool_t TestFile (const TString &name, const char *pattern=0)
 
void ScanDirectory (TSystemDirectory *dir, TChain *chain, const char *pattern, bool recursive)
 
Bool_t ScanInputList (TChain *chain, const TString &path, const char *treeName=0)
 
TChainMakeChain (const char *what, const char *datadir, bool recursive=false)
 

Detailed Description

Script to generate a chain of files.

Author
Christian Holm Christensen cholm.nosp@m.@dal.nosp@m.sgaar.nosp@m.d.he.nosp@m.hi.nb.nosp@m.i.dk
Date
Tue Jul 12 10:20:07 2011

Definition in file MakeChain.C.

Function Documentation

Bool_t ScanInputList ( TChain chain,
const TString path,
const char *  treeName = 0 
)

Scan an input list of files

Parameters
chainChain to add to
pathFile with list of files to add
treeNameName of tree in files
Returns
true on success

Definition at line 116 of file MakeChain.C.

Referenced by MakeChain().

Bool_t TestFile ( const TString name,
const char *  pattern = 0 
)

Test if we can open a file

Parameters
nameName of file
patternPattern to check against
Returns
True on success

Definition at line 39 of file MakeChain.C.

Referenced by MakeChain(), ScanDirectory(), and ScanInputList().