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 37 of file cwb_setifar.C.
| if | ( | cwb_setifar_mode. | BeginsWith"I" | ) |
| if | ( | cwb_setifar_mode. | BeginsWith"E" | ) |
| if | ( | cwb_setifar_label | = ="" | ) |
Definition at line 163 of file cwb_setifar.C.
| if | ( | cwb_setifar_label. | Contains"." | ) |
Definition at line 168 of file cwb_setifar.C.
| if | ( | int nsel = CWB::Toolbox::setIFAR( | cwb_setifar_tsel = ="" | ) |
Definition at line 173 of file cwb_setifar.C.
| if | ( | estat | = =0 | ) |
Definition at line 210 of file cwb_setifar.C.
| if | ( | simulation | ) |
Definition at line 217 of file cwb_setifar.C.
| if | ( | ! | simulation | ) |
Definition at line 233 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 26 of file cwb_setifar.C.
Definition at line 28 of file cwb_setifar.C.
Definition at line 30 of file cwb_setifar.C.
Definition at line 31 of file cwb_setifar.C.
Definition at line 32 of file cwb_setifar.C.
Definition at line 33 of file cwb_setifar.C.
Definition at line 29 of file cwb_setifar.C.
| Long_t flags |
Definition at line 23 of file cwb_setifar.C.
| Long_t id |
Definition at line 23 of file cwb_setifar.C.
| char ilstfname[1024] |
Definition at line 202 of file cwb_setifar.C.
| bool inclusive =true |
Definition at line 157 of file cwb_setifar.C.
| vector<int> jobList |
Definition at line 201 of file cwb_setifar.C.
Definition at line 35 of file cwb_setifar.C.
| Long_t mt |
Definition at line 23 of file cwb_setifar.C.
Definition at line 204 of file cwb_setifar.C.
| Long_t size |
Definition at line 23 of file cwb_setifar.C.