Functions | |
cout<< "cwb_setifar.C : Number of selected waveburst entries = " << nsel<< endl;if(cwb_setifar_label=="same"){sprintf(cmd,"/bin/mv %s %s/%s", owfname.Data(), mdir.Data(), iwfname);cout << cmd<< endl;gSystem-> | Exec (cmd) |
exit (0) | |
cout<< olstfname<< endl;estat=gSystem-> | GetPathInfo (mdir+"/"+ilstfname,&id,&size,&flags,&mt) |
if (cwb_setifar_options.Contains("--")) | |
if (cwb_setifar_mode.BeginsWith("I")) inclusive | |
if (cwb_setifar_mode.BeginsWith("E")) inclusive | |
if (cwb_setifar_label=="") | |
if (cwb_setifar_label.Contains(".")) | |
if (int nsel=CWB::Toolbox::setIFAR(cwb_setifar_tsel=="") | |
if (estat==0) | |
if (simulation) | |
if (!simulation) | |
olstfname | Remove (0, olstfname.Last('/')+1) |
olstfname | ReplaceAll ("wave_","merge_") |
olstfname | ReplaceAll (".root",".lst") |
sprintf (ilstfname,"merge_%s.%s.lst", data_label, cwb_merge_label.Data()) | |
cwb_setifar_mode | ToUpper () |
Variables | |
char | cmd [1024] |
cwb_merge_label = TString(gSystem->Getenv("CWB_MERGE_LABEL")) | |
TString | cwb_setifar_file = TString(gSystem->Getenv("CWB_SETIFAR_FILE")) |
TString | cwb_setifar_label = TString(gSystem->Getenv("CWB_SETIFAR_LABEL")) |
TString | cwb_setifar_mode = TString(gSystem->Getenv("CWB_SETIFAR_MODE")) |
TString | cwb_setifar_options = TString(gSystem->Getenv("CWB_SETIFAR_OPTIONS")) |
TString | cwb_setifar_tsel = TString(gSystem->Getenv("CWB_SETIFAR_TSEL")) |
Long_t | flags |
Long_t | id |
char | ilstfname [1024] |
bool | inclusive =true |
vector< int > | jobList |
TString | mdir = merge_dir |
Long_t | mt |
TString | olstfname = owfname |
Long_t | size |
cout<< "cwb_setifar.C : Number of selected waveburst entries = " << nsel << endl; if(cwb_setifar_label=="same") { sprintf(cmd,"/bin/mv %s %s/%s", owfname.Data(), mdir.Data(), iwfname); cout << cmd << endl; gSystem-> Exec | ( | cmd | ) |
exit | ( | 0 | ) |
cout<< olstfname << endl; estat = gSystem-> GetPathInfo | ( | mdir+"/"+ | ilstfname, |
& | id, | ||
& | size, | ||
& | flags, | ||
& | mt | ||
) |
if | ( | cwb_setifar_options. | Contains"--" | ) |
Definition at line 19 of file cwb_setifar.C.
if | ( | cwb_setifar_mode. | BeginsWith"I" | ) |
if | ( | cwb_setifar_mode. | BeginsWith"E" | ) |
if | ( | cwb_setifar_label | = ="" | ) |
Definition at line 145 of file cwb_setifar.C.
if | ( | cwb_setifar_label. | Contains"." | ) |
Definition at line 150 of file cwb_setifar.C.
if | ( | int nsel = CWB::Toolbox::setIFAR( | cwb_setifar_tsel = ="" | ) |
Definition at line 155 of file cwb_setifar.C.
if | ( | estat | = =0 | ) |
Definition at line 192 of file cwb_setifar.C.
if | ( | simulation | ) |
Definition at line 199 of file cwb_setifar.C.
if | ( | ! | simulation | ) |
Definition at line 215 of file cwb_setifar.C.
olstfname Remove | ( | 0 | , |
olstfname.Last('/')+ | 1 | ||
) |
olstfname ReplaceAll | ( | "wave_" | , |
"merge_" | |||
) |
olstfname ReplaceAll | ( | ".root" | , |
".lst" | |||
) |
sprintf | ( | ilstfname | , |
"merge_%s.%s.lst" | , | ||
data_label | , | ||
cwb_merge_label. | Data() | ||
) |
cwb_setifar_mode ToUpper | ( | ) |
char cmd[1024] |
Definition at line 8 of file cwb_setifar.C.
Definition at line 10 of file cwb_setifar.C.
Definition at line 12 of file cwb_setifar.C.
Definition at line 13 of file cwb_setifar.C.
Definition at line 14 of file cwb_setifar.C.
Definition at line 15 of file cwb_setifar.C.
Definition at line 11 of file cwb_setifar.C.
Long_t flags |
Definition at line 5 of file cwb_setifar.C.
Long_t id |
Definition at line 5 of file cwb_setifar.C.
char ilstfname[1024] |
Definition at line 184 of file cwb_setifar.C.
bool inclusive =true |
Definition at line 139 of file cwb_setifar.C.
vector<int> jobList |
Definition at line 183 of file cwb_setifar.C.
Definition at line 17 of file cwb_setifar.C.
Long_t mt |
Definition at line 5 of file cwb_setifar.C.
Definition at line 186 of file cwb_setifar.C.
Long_t size |
Definition at line 5 of file cwb_setifar.C.