Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

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

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


Function Documentation

TROOT gsTROOT "TROOT"  ,
"TROOT" 
[static]
 

int main int  argc,
char **  argv
 

COMMAND LINE

CALIB CONSTANTS

BEAM RUN KEY

Cerenkov ADC cuts:

ATTENUATION PARAMS

FILE + TREE

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 Mon Feb 15 11:08:02 2010 for loon by  doxygen 1.3.9.1