main.cxx File Reference

#include <cstdlib>
#include "TROOT.h"
#include "JobControl/JobController.h"
#include "JobControl/JobCEnv.h"
#include "lootSpillFiles.h"

Go to the source code of this file.

Functions

static TROOT gsTROOT ("TROOT","TROOT")
int main (int argc, char **argv)

Function Documentation

static TROOT gsTROOT ( "TROOT"  ,
"TROOT"   
) [static]
int main ( int  argc,
char **  argv 
)

Definition at line 17 of file main.cxx.

References createSpillTables(), JobCEnv::Instance(), and lootSpillFiles().

00018 {
00019   //JobCEnv& e = 
00020   JobCEnv::Instance(argc, argv);
00021   
00022 
00023   char path[1000];
00024   char logfile[1000];
00025   
00026   sprintf(path,".");
00027   sprintf(logfile,"looted_files.dat");
00028 
00029   if(argc>1) sprintf(path,argv[1]);
00030   if(argc>2) sprintf(logfile,argv[2]);
00031 
00032   createSpillTables(); // In case they don't yet exist.
00033 
00034   lootSpillFiles(path,logfile);
00035 
00036   return EXIT_SUCCESS;
00037 }


Generated on 8 Jul 2019 for loon by  doxygen 1.6.1