AliRoot Core  v5-06-30 (35d6c57)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliXRDPROOFtoolkit.h
Go to the documentation of this file.
1 
3 #ifndef _AliXRDPROOFtoolkit
4 #define _AliXRDPROOFtoolkit
5 
6 #include <TObject.h>
7 #include <TString.h>
8 
9 #include <iostream>
10 #include <vector>
11 #include <TSystem.h>
12 
13 using namespace std;
14 
15 class TObjArray;
16 class TTree;
17 class TChain;
18 class TDSet;
19 
20 
21 
22 class AliXRDPROOFtoolkit : public TObject
23 {
24  public :
26  static TChain * MakeChain(const char*fileIn, const char * treeName, const char *fName=0, Int_t maxFiles=-1, Int_t startFile=0);
27  static TChain * MakeChainRandom(const char*fileIn, const char * treeName, const char *fName=0, Int_t maxFiles=-1, Int_t startFile=0);
28  TDSet * MakeSet(const char*fileIn, const char * treeName, const char *fName=0, Int_t maxFiles=-1);
29  TDSet * MakeSetRandom(const char*fileIn, const char * treeName,const char *fName=0, Int_t maxFiles=-1);
30  static Bool_t FilterList(const char*inputList, const char*fileList, Int_t checkLevel);
31  static Bool_t FilterListZip(const char*inputList, const char*fileList, Int_t checkLevel);
32  Bool_t XRDCopyDir(const char * idir, const char * files, const char *odir, Bool_t zip);
33  static Int_t CheckTreeInFile(const char*fileName,const char*treeName, Int_t debugLevel=0, const char *branchName=0);
34  static void JoinTreesIndex(const char * outputFile, const char * outputTree, const char *indexName, const char *inputTrees, Int_t debugLevel);
35  static void MakeTreeFromList(const char *fout, const char * treeOut, const char * treeIn, const char * flist, Bool_t debug);
36  static void CacheFileList(const char * fileIn, const char* cachePrefix);
37  private:
38  Int_t fVerbose;
39  TString fUserName;
40  UserGroup_t *fUserGroup;
42  AliXRDPROOFtoolkit&operator=(const AliXRDPROOFtoolkit&);
44  ClassDef(AliXRDPROOFtoolkit, 0);
46 };
47 #endif
TOOLKIT for chain manipulation:
#define TObjArray
Int_t fVerbose
verbso mode - print command
TFile * fout
Definition: PlotSys.C:39
UserGroup_t * fUserGroup
user group info
Int_t debugLevel
void MakeChain()
Int_t debug
TString fUserName
user name