Coherent WaveBurst
Reference Guide
CWB Documentation
Main Page
Namespaces
All Classes
Files
gitlab
ROOT
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
SOFT
cWB
library
master_0bc430d
tools
cwb
macros
cwb_publish_postprod.C
Go to the documentation of this file.
1
// obsolete
2
3
{
4
CWB::Toolbox
TB
;
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
TString("c")
Definition:
cwb_report_skymap.C:111
www_dir
char www_dir[512]
Definition:
test_config1.C:157
CWB::Toolbox::checkFile
static bool checkFile(TString fName, bool question=false, TString message="")
Definition:
Toolbox.cc:3956
TB
CWB::Toolbox TB
Definition:
ComputeSNR.C:5
www_label
char www_label[512]
Definition:
cwb_publish_postprod.C:11
exit
exit(0)
sprintf
sprintf(www_label,((TObjString *) token->At(token->GetEntries()-1)) ->GetString().Data())
cmd
char cmd[256]
Definition:
cwb_publish_postprod.C:15
CWB::Toolbox
Definition:
Toolbox.hh:110
token
TObjArray * token
Definition:
cwb_publish_postprod.C:12
pp_dir
char pp_dir[512]
Definition:
test_config1.C:155
work_dir
char work_dir[512]
Definition:
test_config1.C:143