Logo coherent WaveBurst  
Library Reference Guide
Logo
Macros | Functions | Variables
CWB_Plugin_HEN_SIM_Config.C File Reference

Macros

#define HEN_LIST   "config/HEN_list_2009_2010.txt"
 
#define ONSOURCE_TIME   1000
 

Functions

MDC AddWaveform (MDC_SGC, par)
 
in close ()
 
 CWB_PLUGIN_IMPORT (network **, net)
 
 CWB_PLUGIN_IMPORT (int *, xstart)
 
 CWB_PLUGIN_IMPORT (int *, xstop)
 
 CWB_PLUGIN_IMPORT (CWB::mdc *, MDC)
 
 if (!in.good())
 
 if (GPS==0)
 
in open (HEN_LIST, ios::in)
 
MDC Print ()
 
par resize (2)
 
par resize (3)
 
MDC SetInjHrss (2.5e-21)
 
MDC SetInjJitter (10.0)
 
MDC SetInjRate (0.02)
 
MDC SetSkyDistribution (MDC_CELESTIAL_FIX, par, seed)
 
CWB SetSkyMaskCC (net, cfg, options)
 
 sprintf (options,"--dec %f --ra %f --radius %f", DEC, RA, RADIUS)
 
 while (true)
 

Variables

cwbCWB = new cwb
 
float DEC
 
 else
 
double GPS =0
 
ifstream in
 
CWB::mdcMDC
 
par [0] name ="frequency"
 
network ** net
 NOISE_MDC_SIMULATION. More...
 
char options [256]
 
vector< mdcparpar ="Q"
 
float RA
 
float RADIUS
 
int seed = (*net)->nRun
 
char str [1024]
 
par [0] value =100.
 
waveform wf
 
char wf_name [256]
 
intxstart
 
intxstop
 

Macro Definition Documentation

◆ HEN_LIST

#define HEN_LIST   "config/HEN_list_2009_2010.txt"

◆ ONSOURCE_TIME

#define ONSOURCE_TIME   1000

Function Documentation

◆ AddWaveform()

MDC AddWaveform ( MDC_SGC  ,
par   
)

◆ close()

in close ( )

◆ CWB_PLUGIN_IMPORT() [1/4]

CWB_PLUGIN_IMPORT ( network **  ,
net   
)

◆ CWB_PLUGIN_IMPORT() [2/4]

CWB_PLUGIN_IMPORT ( int ,
xstart   
)

◆ CWB_PLUGIN_IMPORT() [3/4]

CWB_PLUGIN_IMPORT ( int ,
xstop   
)

◆ CWB_PLUGIN_IMPORT() [4/4]

CWB_PLUGIN_IMPORT ( CWB::mdc ,
MDC   
)

◆ if() [1/2]

if ( !in.  good())

Definition at line 28 of file CWB_Plugin_HEN_SIM_Config.C.

◆ if() [2/2]

if ( GPS  = =0)

Definition at line 72 of file CWB_Plugin_HEN_SIM_Config.C.

◆ open()

in open ( HEN_LIST  ,
ios::in   
)

◆ Print()

MDC Print ( )

◆ resize() [1/2]

par resize ( )

◆ resize() [2/2]

par resize ( )

◆ SetInjHrss()

MDC SetInjHrss ( 2.5e-  21)

◆ SetInjJitter()

MDC SetInjJitter ( 10.  0)

◆ SetInjRate()

MDC SetInjRate ( 0.  02)

◆ SetSkyDistribution()

MDC SetSkyDistribution ( MDC_CELESTIAL_FIX  ,
par  ,
seed   
)

◆ SetSkyMaskCC()

CWB SetSkyMaskCC ( net  ,
cfg  ,
options   
)

◆ sprintf()

sprintf ( options  ,
"--dec %f --ra %f --radius %f ,
DEC  ,
RA  ,
RADIUS   
)

◆ while()

while ( true  )

Definition at line 34 of file CWB_Plugin_HEN_SIM_Config.C.

Variable Documentation

◆ CWB

delete CWB = new cwb

Definition at line 133 of file CWB_Plugin_HEN_SIM_Config.C.

◆ DEC

float DEC

Definition at line 23 of file CWB_Plugin_HEN_SIM_Config.C.

◆ else

else
Initial value:
{
cout << "CWB_Plugin_HEN_SIM_Config.C - trigger found at gps : "
<< GPS << " ra : " << RA << " dec : " << DEC << " radius : " << RADIUS << endl
float RADIUS
double GPS

Definition at line 75 of file CWB_Plugin_HEN_SIM_Config.C.

◆ GPS

double GPS =0

Definition at line 21 of file CWB_Plugin_HEN_SIM_Config.C.

◆ in

ifstream in

Definition at line 26 of file CWB_Plugin_HEN_SIM_Config.C.

◆ MDC

CWB::mdc* MDC

Definition at line 84 of file CWB_Plugin_HEN_SIM_Config.C.

◆ name

par [2] name ="frequency"

Definition at line 93 of file CWB_Plugin_HEN_SIM_Config.C.

◆ net

network** net
Initial value:
{
#define HEN_LIST
#define ONSOURCE_TIME
cout << "-----> CWB_Plugin_HEN_SIM_Config.C" << endl

NOISE_MDC_SIMULATION.

Definition at line 4 of file CWB_Plugin_HEN_SIM_Config.C.

◆ options

char options[256]

Definition at line 131 of file CWB_Plugin_HEN_SIM_Config.C.

◆ par

par ="Q"

Definition at line 89 of file CWB_Plugin_HEN_SIM_Config.C.

◆ RA

float RA

Definition at line 22 of file CWB_Plugin_HEN_SIM_Config.C.

◆ RADIUS

float RADIUS

Definition at line 24 of file CWB_Plugin_HEN_SIM_Config.C.

◆ seed

int seed = (*net)->nRun

Definition at line 19 of file CWB_Plugin_HEN_SIM_Config.C.

◆ str

char str[1024]

Definition at line 33 of file CWB_Plugin_HEN_SIM_Config.C.

◆ value

par [2] value =100.

Definition at line 93 of file CWB_Plugin_HEN_SIM_Config.C.

◆ wf

Definition at line 88 of file CWB_Plugin_HEN_SIM_Config.C.

◆ wf_name

char wf_name[256]

Definition at line 87 of file CWB_Plugin_HEN_SIM_Config.C.

◆ xstart

int* xstart

Definition at line 13 of file CWB_Plugin_HEN_SIM_Config.C.

◆ xstop

int* xstop

Definition at line 14 of file CWB_Plugin_HEN_SIM_Config.C.