1 #ifndef _AliXRDPROOFtoolkit
2 #define _AliXRDPROOFtoolkit
20 class AliXRDPROOFtoolkit : public TObject
25 AliXRDPROOFtoolkit ();
26 void Print(Option_t* option = " ") const;
29 // Interface for low priority users - NO ssh ACCESS to PROOF machines
31 TChain * MakeChain(const char*fileIn, const char * treeName, const char *fName=0, Int_t maxFiles=-1, Int_t startFile=0);
32 TChain * MakeChainRandom(const char*fileIn, const char * treeName, const char *fName=0, Int_t maxFiles=-1, Int_t startFile=0);
33 TDSet * MakeSet(const char*fileIn, const char * treeName, const char *fName=0, Int_t maxFiles=-1);
34 TDSet * MakeSetRandom(const char*fileIn, const char * treeName,const char *fName=0, Int_t maxFiles=-1);
36 // Interface for users with privileges - Possible to use lsrun command
38 Bool_t ListOfFiles(const char*fileName, const char*path, const char*filter, Bool_t displayMachine);
40 // Interface for users with ssh access to the machines
42 void FilterSegFault(const char *filter="last");
43 Bool_t HasSegFault(const char * machine, const char * filter = "last");
44 TTree * DumpSys(Bool_t verbose=kTRUE);
45 TTree * DumpSys2(Bool_t verbose=kTRUE);
46 TTree * DumpFiles(Bool_t verbose=kTRUE);
48 void CheckFiles (const char*fileIn, UInt_t checkLevel, const char*treeToRetrieve, const char*varexp, const char*selection);
49 void AddMachine (const char*name);
50 Int_t fVerbose; // verbso mode - print command
55 Int_t Read(char * str, Int_t lenght, FILE *in);
57 vector <const TString *> listeMachine; // list of slaves
58 TString fUserName; // user name
59 UserGroup_t *fUserGroup; // user group info
60 ClassDef(AliXRDPROOFtoolkit, 0);