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

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< intjobList
 
TString mdir = merge_dir
 
Long_t mt
 
TString olstfname = owfname
 
Long_t size
 

Function Documentation

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 ( )
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 ( ,
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 ( )

Variable Documentation

char cmd[1024]

Definition at line 8 of file cwb_setifar.C.

cwb_merge_label = TString(gSystem->Getenv("CWB_MERGE_LABEL"))

Definition at line 10 of file cwb_setifar.C.

TString cwb_setifar_file = TString(gSystem->Getenv("CWB_SETIFAR_FILE"))

Definition at line 12 of file cwb_setifar.C.

TString cwb_setifar_label = TString(gSystem->Getenv("CWB_SETIFAR_LABEL"))

Definition at line 13 of file cwb_setifar.C.

TString cwb_setifar_mode = TString(gSystem->Getenv("CWB_SETIFAR_MODE"))

Definition at line 14 of file cwb_setifar.C.

TString cwb_setifar_options = TString(gSystem->Getenv("CWB_SETIFAR_OPTIONS"))

Definition at line 15 of file cwb_setifar.C.

TString cwb_setifar_tsel = TString(gSystem->Getenv("CWB_SETIFAR_TSEL"))

Definition at line 11 of file cwb_setifar.C.

Long_t flags

Definition at line 5 of file cwb_setifar.C.

Long_t id
Initial value:
{
int estat
int estat

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.

TString olstfname = owfname

Definition at line 186 of file cwb_setifar.C.

Long_t size

Definition at line 5 of file cwb_setifar.C.