Line data Source code
1 : /// \class AliXRDPROOFtoolkit
2 :
3 : #ifndef _AliXRDPROOFtoolkit
4 : #define _AliXRDPROOFtoolkit
5 :
6 : #include <TObject.h>
7 : #include <TString.h>
8 :
9 : class TObjArray;
10 : class TTree;
11 : class TChain;
12 : class TDSet;
13 : class UserGroup_t;
14 :
15 0 : class AliXRDPROOFtoolkit : public TObject
16 : {
17 : public :
18 : AliXRDPROOFtoolkit ();
19 : static TChain * MakeChain(const char*fileIn, const char * treeName, const char *fName=0, Int_t maxFiles=-1, Int_t startFile=0);
20 : static TChain * MakeChainRandom(const char*fileIn, const char * treeName, const char *fName=0, Int_t maxFiles=-1, Int_t startFile=0);
21 : TDSet * MakeSet(const char*fileIn, const char * treeName, const char *fName=0, Int_t maxFiles=-1);
22 : TDSet * MakeSetRandom(const char*fileIn, const char * treeName,const char *fName=0, Int_t maxFiles=-1);
23 : static Bool_t FilterList(const char*inputList, const char*fileList, Int_t checkLevel);
24 : static Bool_t FilterListZip(const char*inputList, const char*fileList, Int_t checkLevel);
25 : Bool_t XRDCopyDir(const char * idir, const char * files, const char *odir, Bool_t zip);
26 : static Int_t CheckTreeInFile(const char*fileName,const char*treeName, Int_t debugLevel=0, const char *branchName=0);
27 : static void JoinTreesIndex(const char * outputFile, const char * outputTree, const char *indexName, const char *inputTrees, Int_t debugLevel);
28 : static void MakeTreeFromList(const char *fout, const char * treeOut, const char * treeIn, const char * flist, Bool_t debug);
29 : static void CacheFileList(const char * fileIn, const char* cachePrefix);
30 : private:
31 : Int_t fVerbose; ///< verbso mode - print command
32 : TString fUserName; ///< user name
33 : UserGroup_t *fUserGroup; ///< user group info
34 : AliXRDPROOFtoolkit(const AliXRDPROOFtoolkit&);
35 : AliXRDPROOFtoolkit&operator=(const AliXRDPROOFtoolkit&);
36 : /// \cond CLASSIMP
37 24 : ClassDef(AliXRDPROOFtoolkit, 0);
38 : /// \endcond
39 : };
40 : #endif
|