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
plugins
CWB_Plugin_InjectCBC_Config.C
Go to the documentation of this file.
1
{
2
//!NOISE_MDC_SIMULATION
3
// Config Plugin to injected 'on the fly' CBC MDC
4
5
CWB::mdc
*
MDC
;
6
CWB_PLUGIN_IMPORT
(
CWB::mdc
*,MDC);
7
8
// ---------------------------------
9
// set LAL inspiral parameters
10
// ---------------------------------
11
12
TString
inspOptions
=
""
;
13
inspOptions =
"--time-step 33.333333 --time-interval 10 "
;
14
inspOptions+=
"--dir "
+
TString
(
cfg
->
nodedir
)+
" "
;
15
inspOptions+=
"--l-distr random "
;
16
inspOptions+=
"--gps-start-time 931158092 --gps-end-time 931999916 "
;
17
inspOptions+=
"--d-distr uniform --m-distr totalMassRatio --i-distr uniform "
;
18
inspOptions+=
"--f-lower 10.000000 "
;
19
inspOptions+=
"--min-mass1 25.000000 --max-mass1 25.000000 "
;
20
inspOptions+=
"--min-mass2 25.000000 --max-mass2 25.000000 "
;
21
inspOptions+=
"--min-mtotal 50.000000 --max-mtotal 50.000000 "
;
22
inspOptions+=
"--min-mratio 1.000000 --max-mratio 1.000000 "
;
23
inspOptions+=
"--min-distance 5000.000000 --max-distance 5000.000000 "
;
24
inspOptions+=
"--waveform EOBNRv2HMpseudoFourPN --disable-spin "
;
25
inspOptions+=
"--taper-injection start --seed 123456789"
;
26
27
// Injections can be read from xml file
28
// TString inspOptions="--xml injections.xml";
29
30
MDC->SetInspiral(
"inspNameTEST"
,inspOptions);
31
32
}
cfg
CWB::config * cfg
Definition:
TestCWB_Plugin.C:5
CWB_PLUGIN_IMPORT
CWB_PLUGIN_IMPORT(CWB::mdc *, MDC)
TString
TString("c")
Definition:
cwb_report_skymap.C:111
MDC
CWB::mdc * MDC
Definition:
CWB_Plugin_HEN_SIM_Config.C:78
CWB::config::nodedir
char nodedir[1024]
Definition:
config.hh:334
CWB::mdc
Definition:
mdc.hh:216
inspOptions
TString inspOptions
Definition:
CWB_Plugin_InjectCBC_Config.C:12