Logo Coherent WaveBurst  
Reference Guide
Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
cwb_setchunk.C File Reference

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< intjobList
 
TString mdir = merge_dir
 
Long_t mt
 
TString olstfname = owfname
 
TString owfname = mdir+"/"+iwfname
 
char schunk [32]
 
Long_t size
 

Function Documentation

exit ( )
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 ( ,
 
)
olstfname Remove ( ,
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() 
)

Variable Documentation

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
Initial value:
{
cwb_merge_label=TString(gSystem->Getenv("CWB_MERGE_LABEL"))
TString("c")
TString cwb_merge_label
Definition: cwb_setchunk.C:10

Definition at line 13 of file cwb_setchunk.C.

Long_t flags

Definition at line 3 of file cwb_setchunk.C.

Long_t id
Initial value:
{
int estat
int estat

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.

TString olstfname = owfname

Definition at line 96 of file cwb_setchunk.C.

TString owfname = mdir+"/"+iwfname

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.