Logo Coherent WaveBurst  
Reference Guide
Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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;
7 
8  // ---------------------------------
9  // set LAL inspiral parameters
10  // ---------------------------------
11 
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 }
CWB::config * cfg
Definition: TestCWB_Plugin.C:5
CWB_PLUGIN_IMPORT(CWB::mdc *, MDC)
TString("c")
CWB::mdc * MDC
char nodedir[1024]
Definition: config.hh:334
Definition: mdc.hh:216
TString inspOptions