Logo Coherent WaveBurst  
Reference Guide
Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
cwb_publish_postprod.C
Go to the documentation of this file.
1 // obsolete
2 
3 {
5  TB.checkFile(gSystem->Getenv("CWB_ROOTLOGON_FILE"));
6  TB.checkFile(gSystem->Getenv("CWB_PARAMETERS_FILE"));
7  TB.checkFile(gSystem->Getenv("CWB_UPARAMETERS_FILE"));
8 
9 
10  // data label
11  char www_label[512];
12  TObjArray* token = TString(work_dir).Tokenize(TString("/"));
13  sprintf(www_label,((TObjString*)token->At(token->GetEntries()-1))->GetString().Data());
14 
15  char cmd[256];
16  sprintf(cmd,"mkdir %s/%s",www_dir,www_label);
17  cout << endl;
18  cout << cmd << endl;
19  gSystem->Exec(cmd);
20 
21  sprintf(cmd,"ln -s %s/%s %s/%s",work_dir,pp_dir,www_dir,www_label);
22  cout << cmd << endl;
23  cout << endl;
24  gSystem->Exec(cmd);
25 
26  exit(0);
27 }
TString("c")
char www_dir[512]
Definition: test_config1.C:157
static bool checkFile(TString fName, bool question=false, TString message="")
Definition: Toolbox.cc:3956
CWB::Toolbox TB
Definition: ComputeSNR.C:5
char www_label[512]
exit(0)
sprintf(www_label,((TObjString *) token->At(token->GetEntries()-1)) ->GetString().Data())
char cmd[256]
TObjArray * token
char pp_dir[512]
Definition: test_config1.C:155
char work_dir[512]
Definition: test_config1.C:143