Logo Coherent WaveBurst  
Reference Guide
Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CWB_Plugin_MDC_OTF_Config_EOBNRv2pseudoFourPN.C
Go to the documentation of this file.
1 {
2  //!NOISE_MDC_SIMULATION
3  // Config Plugin to generate injected 'on the fly' EOBNRv2 from LAL
4 
5  cout << "Execute CWB_Plugin_MDC_OTF_Config_EOBNRv2pseudoFourPN.C ..." << endl;
6 
7  CWB::mdc* MDC;
9 
10  // ---------------------------------------------------------------------------
11  // set inspiral parms
12  // waveforms are produced by the LAL library
13  // to dump all the available options do:
14  // $LALINSPINJ_EXEC --help
15  // for any details refer to the LAL documentation.
16  // there are some special options added only for the mdc class
17  // --approximant : is used as alternative to --waveform to force
18  // the use of the new XLALSimInspiralChooseWaveformFromSimInspiral
19  // --output "file.xml" : write mdc injection's parameters to xml file. default=/tmp
20  // WARNING : write a space characters at the end of each inspOptions line !!!
21  // ---------------------------------------------------------------------------
22 
24  inspOptions = "--time-step 60.0 --time-interval 3 ";
25  inspOptions+= "--l-distr random ";
26  inspOptions+= "--gps-start-time 931081124 --gps-end-time 932377124 ";
27  inspOptions+= "--dir "+TString(cfg->nodedir)+" ";
28  inspOptions+= "--d-distr volume --m-distr totalMassRatio --i-distr uniform ";
29  inspOptions+= "--f-lower 5.000000 ";
30  inspOptions+= "--min-mass1 170.000000 --max-mass1 680.000000 ";
31  inspOptions+= "--min-mass2 170.000000 --max-mass2 680.000000 ";
32  inspOptions+= "--min-mtotal 650.000000 --max-mtotal 850.000000 ";
33  inspOptions+= "--min-mratio 0.25 --max-mratio 1.000000 ";
34  inspOptions+= "--min-distance 1000000.0 --max-distance 1500000.0 ";
35 // inspOptions+= "--waveform EOBNRv2pseudoFourPN "; // use the old LALFindChirpInjectSignals
36  inspOptions+= "--approximant EOBNRv2HMpseudoFourPN "; // use the new XLALSimInspiralChooseWaveformFromSimInspiral
37  inspOptions+= "--disable-spin ";
38  inspOptions+= "--taper-injection start --seed 125431123 ";
39 
40  // if user wants provide its own xml injection list {injections.xml}
41  // all previous declaration must be replaced with :
42  /*
43  TString inspOptions="";
44  inspOptions+= "--xml injection.xml "
45  inspOptions+= "--dir "+TString(cfg->nodedir)+" ";
46  inspOptions += "--approximant EOBNRv2HMpseudoFourPN ";
47  */
48 
49  // the first parameter a the name of MDC defined by the user
50  MDC->SetInspiral("EOBNRv2HMpseudoFourPN",inspOptions);
51 }
52 
CWB::config * cfg
Definition: TestCWB_Plugin.C:5
TString("c")
CWB_PLUGIN_IMPORT(CWB::mdc *, MDC)
char nodedir[1024]
Definition: config.hh:334
Definition: mdc.hh:216