Functions | |
exit (0) | |
cout<< olstfname<< endl;estat=gSystem-> | GetPathInfo (mdir+"/"+ilstfname,&id,&size,&flags,&mt) |
if (gSystem->Getenv("CWB_MERGE_LABEL")==NULL) | |
if (cwb_merge_label[0]!='M') | |
if (!lcheck.IsDigit()) | |
if (gSystem->Getenv("CWB_SETCHUNK_ID")==NULL) | |
if (simulation==0) | |
if (estat==0) | |
lcheck | Remove (0, 1) |
olstfname | Remove (0, olstfname.Last('/')+1) |
owfname | ReplaceAll (".root", TString(".K_")+schunk+".root") |
olstfname | ReplaceAll ("wave_","merge_") |
olstfname | ReplaceAll (".root",".lst") |
sprintf (iwfname,"wave_%s.%s.root", data_label, cwb_merge_label.Data()) | |
sprintf (schunk,"chunk%d", cwb_setchunk_id) | |
sprintf (iwfname,"mdc_%s.%s.root", data_label, cwb_merge_label.Data()) | |
sprintf (ilstfname,"merge_%s.%s.lst", data_label, cwb_merge_label.Data()) | |
Variables | |
char | cmd [1024] |
TString | cwb_merge_label |
int | cwb_setchunk_id =-1 |
else | |
Long_t | flags |
Long_t | id |
char | ilstfname [1024] |
vector< int > | jobList |
TString | mdir = merge_dir |
Long_t | mt |
TString | olstfname = owfname |
TString | owfname = mdir+"/"+iwfname |
char | schunk [32] |
Long_t | size |
exit | ( | 0 | ) |
cout<< olstfname << endl; estat = gSystem-> GetPathInfo | ( | mdir+"/"+ | ilstfname, |
& | id, | ||
& | size, | ||
& | flags, | ||
& | mt | ||
) |
if | ( | gSystem-> | Getenv"CWB_MERGE_LABEL" = =NULL | ) |
Definition at line 11 of file cwb_setchunk.C.
if | ( | cwb_merge_label! | [0] = 'M' | ) |
Definition at line 18 of file cwb_setchunk.C.
if | ( | !lcheck. | IsDigit() | ) |
Definition at line 25 of file cwb_setchunk.C.
if | ( | gSystem-> | Getenv"CWB_SETCHUNK_ID" = =NULL | ) |
Definition at line 34 of file cwb_setchunk.C.
if | ( | simulation | = =0 | ) |
Definition at line 62 of file cwb_setchunk.C.
if | ( | estat | = =0 | ) |
Definition at line 102 of file cwb_setchunk.C.
lcheck Remove | ( | 0 | , |
1 | |||
) |
olstfname Remove | ( | 0 | , |
olstfname.Last('/')+ | 1 | ||
) |
olstfname ReplaceAll | ( | "wave_" | , |
"merge_" | |||
) |
olstfname ReplaceAll | ( | ".root" | , |
".lst" | |||
) |
sprintf | ( | iwfname | , |
"wave_%s.%s.root" | , | ||
data_label | , | ||
cwb_merge_label. | Data() | ||
) |
sprintf | ( | schunk | , |
"chunk%d" | , | ||
cwb_setchunk_id | |||
) |
sprintf | ( | iwfname | , |
"mdc_%s.%s.root" | , | ||
data_label | , | ||
cwb_merge_label. | Data() | ||
) |
sprintf | ( | ilstfname | , |
"merge_%s.%s.lst" | , | ||
data_label | , | ||
cwb_merge_label. | Data() | ||
) |
char cmd[1024] |
Definition at line 6 of file cwb_setchunk.C.
TString cwb_merge_label |
Definition at line 10 of file cwb_setchunk.C.
int cwb_setchunk_id =-1 |
Definition at line 33 of file cwb_setchunk.C.
else |
Definition at line 13 of file cwb_setchunk.C.
Long_t flags |
Definition at line 3 of file cwb_setchunk.C.
Long_t id |
Definition at line 3 of file cwb_setchunk.C.
char ilstfname[1024] |
Definition at line 94 of file cwb_setchunk.C.
vector<int> jobList |
Definition at line 93 of file cwb_setchunk.C.
Definition at line 8 of file cwb_setchunk.C.
Long_t mt |
Definition at line 3 of file cwb_setchunk.C.
Definition at line 96 of file cwb_setchunk.C.
Definition at line 55 of file cwb_setchunk.C.
char schunk |
Definition at line 56 of file cwb_setchunk.C.
Long_t size |
Definition at line 3 of file cwb_setchunk.C.