21 #define CHUNK_FILE_LIST "Chunk_List.txt"
22 #define CHUNK_MAX_SIZE 100
29 char cwb_config_env[1024] =
"";
30 if(gSystem->Getenv(
"CWB_CONFIG")!=NULL) {
31 strcpy(cwb_config_env,TString(gSystem->Getenv(
"CWB_CONFIG")).Data());
34 char chunk_file_list[1024];
40 cout << chunk_file_list << endl;
47 cout <<
"----------------------------------------------------------------------------------------------------" << endl;
48 cout <<
"chunk" <<
"\t\t" <<
"start" <<
"\t\t" <<
"stop" <<
"\t\t"
49 <<
" days\t\t" <<
"beg-date" <<
" - " <<
"end-date" <<
"\t" <<
"run" << endl;
50 cout <<
"----------------------------------------------------------------------------------------------------" << endl;
53 int nChunks =
ReadChunkList(chunk_file_list, chunk, start, stop);
55 cout <<
"----------------------------------------------------------------------------------------------------" << endl;
int ReadChunkList(TString ifile, int *chunk=NULL, double *start=NULL, double *stop=NULL)
void cwb_lschunk(TString run, TString search="")
sprintf(tag,"wave_%s", data_label)