Logo coherent WaveBurst  
Library Reference Guide
Logo
Functions | Variables
cwb_publish.C File Reference

Functions

TB checkFile (gSystem->Getenv("CWB_ROOTLOGON_FILE"))
 
TB checkFile (gSystem->Getenv("CWB_PARAMETERS_FILE"))
 
TB checkFile (gSystem->Getenv("CWB_UPARAMETERS_FILE"))
 
cout<< endl;cout<< cmd<< endl;gSystem-> Exec (cmd)
 
 exit (0)
 
 if (cwb_pp_data_dir.Sizeof()>1)
 
 if (TString(gSystem->Getenv("CWB_PUBLISH_OPTION")).CompareTo("clean")==0)
 
spp_dir ReplaceAll (report_dir+TString("/"),"")
 
 sprintf (cmd,"mkdir %s/%s", www_dir, data_label)
 
 sprintf (cmd,"ln -sf %s/%s %s/%s/%s", work_dir, pp_dir, www_dir, data_label, spp_dir.Data())
 

Variables

char cmd [512]
 
TString cwb_pp_data_dir =TString(gSystem->Getenv("CWB_PP_DATA_DIR"))
 
 else
 
TString spp_dir = pp_dir
 

Function Documentation

◆ checkFile() [1/3]

TB checkFile ( gSystem->  Getenv"CWB_ROOTLOGON_FILE")

◆ checkFile() [2/3]

TB checkFile ( gSystem->  Getenv"CWB_PARAMETERS_FILE")

◆ checkFile() [3/3]

TB checkFile ( gSystem->  Getenv"CWB_UPARAMETERS_FILE")

◆ Exec()

cout<< endl; cout << cmd << endl; gSystem-> Exec ( cmd  )

◆ exit()

exit ( )

◆ if() [1/2]

if ( cwb_pp_data_dir.  Sizeof(),
 
)

Definition at line 28 of file cwb_publish.C.

◆ if() [2/2]

if ( TString(gSystem->Getenv("CWB_PUBLISH_OPTION")).CompareTo("clean")  = =0)

Definition at line 37 of file cwb_publish.C.

◆ ReplaceAll()

spp_dir ReplaceAll ( report_dir TString"/",
""   
)

◆ sprintf() [1/2]

sprintf ( cmd  ,
"mkdir %s/%s ,
www_dir  ,
data_label   
)

◆ sprintf() [2/2]

sprintf ( cmd  ,
"ln -sf %s/%s %s/%s/%s ,
work_dir  ,
pp_dir  ,
www_dir  ,
data_label  ,
spp_dir.  Data() 
)

Variable Documentation

◆ cmd

char cmd[512]

Definition at line 36 of file cwb_publish.C.

◆ cwb_pp_data_dir

TString cwb_pp_data_dir =TString(gSystem->Getenv("CWB_PP_DATA_DIR"))

Definition at line 27 of file cwb_publish.C.

◆ else

else
Initial value:
{
CWB::Toolbox TB
static bool checkFile(TString fName, bool question=false, TString message="")
Definition: Toolbox.cc:4670
char pp_dir[512]
Definition: test_config1.C:155

Definition at line 43 of file cwb_publish.C.

◆ spp_dir

TString spp_dir = pp_dir

Definition at line 33 of file cwb_publish.C.