coherent WaveBurst
Config Reference Guide
home
cWB_docker
git
cWB
config
O2
SEARCHES
OFFLINE
BBH
LH
SIM
ebbh_injections
ebbh_uni
CWB_Plugin_EBBH_Config.C
Go to the documentation of this file.
1
{
2
cout <<
"-----> macro/CWB_Plugin_EBBH_Config.C"
<< endl;
3
4
CWB::mdc
MDC
(net);
5
6
char
wf_name
[256];
7
char
fname
[256];
8
waveform
wf
;
9
vector<mdcpar>
par
;
10
11
int
seed
= net->nRun;
// WARNING : seed must be the same for each detector within the same job
12
sprintf
(
fname
,
"%s/O2/SEARCHES/OFFLINE/BBH/LH/SIM/ebbh_mwb2/eBBH_%d.lst"
,cwb_config_env,gIFACTOR);
13
par
.resize(1);
14
par
[0].name=
fname
;
15
MDC
.AddWaveform(MDC_EBBH,
par
);
16
/*
17
par.resize(2);
18
par[0].name="macro/eBBH.root";
19
par[1].name="rp0>26";
20
MDC.AddWaveform(MDC_EBBH, par);
21
*/
22
MDC
.Print(0);
23
24
// --------------------------------------------------------
25
// define injection parameters
26
// --------------------------------------------------------
27
//MDC.SetInjHrss(2.5e-21); Overriding Hrss
28
MDC
.SetInjRate(0.0125);
// No of injections per second
29
MDC
.SetInjJitter(3.0);
// +- injection time
30
31
// --------------------------------------------------------
32
// define sky distribution
33
// --------------------------------------------------------
34
vector<mdcpar>
par
(4);
35
par
[0].name=
"entries"
;
par
[0].value=15000 ;
// Number of entries in lst file
36
// par[1].name="rho_min"; par[1].value=1; // min rho // Kpc
37
// par[2].name="rho_max"; par[2].value=100000; // max rho // Kpc
38
par
[3].name=
"iota"
;
par
[3].value=-1;
// the angle iota (deg) is the inclination of the system
39
// which originates the burst with respect to the line of sight
40
MDC
.SetSkyDistribution(MDC_RANDOM,
"x^2"
,
par
,
seed
+gIFACTOR*4000);
41
42
// CWB::mdc MDC(net);
43
44
// MDC.SetInspiral("EBBH",inspOptions);
45
}
wf_name
char wf_name[256]
Definition:
CWB_Plugin_EBBH_Config.C:6
seed
int seed
Definition:
CWB_Plugin_EBBH_Config.C:11
sprintf
sprintf(fname,"%s/O2/SEARCHES/OFFLINE/BBH/LH/SIM/ebbh_10mwb2/eBBH_%d.lst", cwb_config_env, gIFACTOR)
par
vector< mdcpar > par
Definition:
CWB_Plugin_EBBH_Config.C:9
wf
waveform wf
Definition:
CWB_Plugin_EBBH_Config.C:8
MDC
CWB::mdc MDC(net)
fname
char fname[256]
Definition:
CWB_Plugin_EBBH_Config.C:7