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_setveto.C
Go to the documentation of this file.
1
// apply veto to merged root file : used by the cwb_setveto command
2
3
{
4
if
(
nIFO
==2 &&
TString
(
ifo
[1])==
ifo
[0])
nIFO
=1;
// set single detector mode when nIFO=2 and ifo[1]=ifo[0]
5
6
vector<TString>
ifos
(
nIFO
);
7
for
(
int
i
=0;
i
<
nIFO
;
i
++)
ifos
[
i
]=
ifo
[
i
];
8
9
cwb_merge_label
=
TString
(gSystem->Getenv(
"CWB_MERGE_LABEL"
));
10
11
sprintf
(
net_file_name
,
"wave_%s.%s.root"
,
data_label
,
cwb_merge_label
.Data());
12
cout <<
net_file_name
<< endl;
13
14
CWB::Toolbox::setVeto
(
net_file_name
,
merge_dir
,
merge_dir
,
ifos
,
nVDQF
,
VDQF
,
nDQF
,
DQF
,
segLen
,
segMLS
,
segEdge
);
15
16
exit
(0);
17
}
segMLS
double segMLS
Definition:
test_config1.C:47
VDQF
dqfile VDQF[100]
Definition:
cwb_pparameters.C:277
TString
TString("c")
Definition:
cwb_report_skymap.C:111
ifos
vector< TString > ifos(nIFO)
segEdge
double segEdge
Definition:
test_config1.C:49
nVDQF
int nVDQF
Definition:
cwb_pparameters.C:276
i
i drho i
Definition:
cwb_epparameters.C:85
ifo
char ifo[NIFO_MAX][8]
Definition:
cwb1G_parameters.C:17
nDQF
nDQF
Definition:
cwb_eced.C:92
nIFO
#define nIFO
Definition:
DrawSensitivitiesS5.C:11
data_label
char data_label[512]
Definition:
test_config1.C:160
DQF
dqfile DQF[12]
Definition:
test_config1.C:171
segLen
segLen
Definition:
cwb_eced.C:7
merge_dir
char merge_dir[512]
Definition:
test_config1.C:147
net_file_name
char net_file_name[256]
Definition:
cwb_fix_live_slag_missed.C:19
CWB::Toolbox::setVeto
static int setVeto(TString ifName, TString idir, TString odir, vector< TString > ifos, int nVDQF, dqfile *VDQF, int nDQF, dqfile *DQF, double segLen, double segMLS, double segEdge)
Definition:
Toolbox.cc:3494
cwb_merge_label
TString cwb_merge_label
Definition:
cwb_fix_live_slag_missed.C:12
sprintf
sprintf(tfres,"(1/%g)x(%g) (sec)x(Hz)", 2 *df, df)
exit
exit(0)