1 #define CHUNK_FILE_LIST "Chunk_List.txt"
2 #define MACRO_READ_CHUNK "ReadChunkList.C"
3 #define CHUNK_MAX_SIZE 100
10 char cwb_config_env[1024] =
"";
11 if(gSystem->Getenv(
"CWB_CONFIG")!=NULL) {
12 strcpy(cwb_config_env,TString(gSystem->Getenv(
"CWB_CONFIG")).Data());
15 char chunk_file_list[1024];
17 cout << chunk_file_list << endl;
19 char macro_read_chunk_path[1024];
22 CWB::Toolbox::checkFile(macro_read_chunk_path);
25 gROOT->LoadMacro(gSystem->ExpandPathName(macro_read_chunk_path));
32 cout <<
"----------------------------------------------------------------------------------------------------" << endl;
33 cout <<
"chunk" <<
"\t\t" <<
"start" <<
"\t\t" <<
"stop" <<
"\t\t"
34 <<
" days\t\t" <<
"beg-date" <<
" - " <<
"end-date" <<
"\t" <<
"run" << endl;
35 cout <<
"----------------------------------------------------------------------------------------------------" << endl;
40 cout <<
"----------------------------------------------------------------------------------------------------" << endl;
double start[CHUNK_MAX_SIZE]
int ReadChunkList(TString ifile, int *chunk=NULL, double *start=NULL, double *stop=NULL)
int chunk[CHUNK_MAX_SIZE]
sprintf(tag,"wave_%s", data_label)
double stop[CHUNK_MAX_SIZE]
void cwb_lschunk(TString run)