Loading [MathJax]/extensions/TeX/AMSsymbols.js
LALApps 10.1.0.1-8a6b96f
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
randombank.c File Reference

Prototypes

int arg_parse_check (int argc, char *argv[], ProcessParamsTable *procparams)
 
int main (int argc, char *argv[])
 

Go to the source code of this file.

Macros

#define CVS_ID_STRING   "$Id$"
 
#define CVS_NAME_STRING   "$Name$"
 
#define CVS_REVISION   "$Revision$"
 
#define CVS_SOURCE   "$Source$"
 
#define CVS_DATE   "$Date$"
 
#define PROGRAM_NAME   "tmpltbank"
 
#define ADD_PROCESS_PARAM(pptype, format, ppvalue)
 
#define USAGE
 

Enumerations

enum  { unset , urandom , user }
 

Variables

int vrbflg
 defined in lal/lib/std/LALError.c More...
 
LIGOTimeGPS gpsStartTime = { 0, 0 }
 
LIGOTimeGPS gpsEndTime = { 0, 0 }
 
REAL4 minMass = -1
 
REAL4 maxMass = -1
 
REAL4 fLow = -1
 
INT4 numTmplts = -1
 
enum { ... }  randSeedType = unset
 
INT4 randomSeed = 0
 
CHARuserTag = NULL
 
INT4 outCompress = 0
 

Macro Definition Documentation

◆ CVS_ID_STRING

#define CVS_ID_STRING   "$Id$"

Definition at line 60 of file randombank.c.

◆ CVS_NAME_STRING

#define CVS_NAME_STRING   "$Name$"

Definition at line 61 of file randombank.c.

◆ CVS_REVISION

#define CVS_REVISION   "$Revision$"

Definition at line 62 of file randombank.c.

◆ CVS_SOURCE

#define CVS_SOURCE   "$Source$"

Definition at line 63 of file randombank.c.

◆ CVS_DATE

#define CVS_DATE   "$Date$"

Definition at line 64 of file randombank.c.

◆ PROGRAM_NAME

#define PROGRAM_NAME   "tmpltbank"

Definition at line 65 of file randombank.c.

◆ ADD_PROCESS_PARAM

#define ADD_PROCESS_PARAM (   pptype,
  format,
  ppvalue 
)
Value:
this_proc_param = this_proc_param->next = (ProcessParamsTable *) \
calloc( 1, sizeof(ProcessParamsTable) ); \
snprintf( this_proc_param->program, LIGOMETA_PROGRAM_MAX, "%s", \
snprintf( this_proc_param->param, LIGOMETA_PARAM_MAX, "--%s", \
long_options[option_index].name ); \
snprintf( this_proc_param->type, LIGOMETA_TYPE_MAX, "%s", pptype ); \
snprintf( this_proc_param->value, LIGOMETA_VALUE_MAX, format, ppvalue );
#define PROGRAM_NAME
Definition: randombank.c:65

Definition at line 321 of file randombank.c.

◆ USAGE

#define USAGE
Value:
" --help display this message\n"\
" --version print version information and exit\n"\
" --user-tag STRING set the process_params usertag to STRING\n"\
"\n"\
" --gps-start-time SEC GPS second of data start time\n"\
" --gps-end-time SEC GPS second of data end time\n"\
" --low-frequency-cutoff F Compute tau parameters from F Hz\n"\
" --minimum-mass MASS set minimum component mass of bank to MASS\n"\
" --maximum-mass MASS set maximum component mass of bank to MASS\n"\
" --number-of-template N create N random templatess of bank to MASS\n"\
" --random-seed SEED set random number seed for injections to SEED\n"\
" (urandom|integer)\n"\
" --write-compress write a compressed xml file\n"\
"\n"

Definition at line 331 of file randombank.c.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
unset 
urandom 
user 

Definition at line 85 of file randombank.c.

Function Documentation

◆ arg_parse_check()

int arg_parse_check ( int  argc,
char argv[],
ProcessParamsTable procparams 
)

Definition at line 347 of file randombank.c.

◆ main()

int main ( int  argc,
char argv[] 
)

Definition at line 92 of file randombank.c.

Variable Documentation

◆ vrbflg

int vrbflg
extern

defined in lal/lib/std/LALError.c

◆ gpsStartTime

LIGOTimeGPS gpsStartTime = { 0, 0 }

Definition at line 79 of file randombank.c.

◆ gpsEndTime

LIGOTimeGPS gpsEndTime = { 0, 0 }

Definition at line 80 of file randombank.c.

◆ minMass

REAL4 minMass = -1

Definition at line 81 of file randombank.c.

◆ maxMass

REAL4 maxMass = -1

Definition at line 82 of file randombank.c.

◆ fLow

REAL4 fLow = -1

Definition at line 83 of file randombank.c.

◆ numTmplts

INT4 numTmplts = -1

Definition at line 84 of file randombank.c.

◆ 

enum { ... } randSeedType

◆ randomSeed

INT4 randomSeed = 0

Definition at line 86 of file randombank.c.

◆ userTag

CHAR* userTag = NULL

Definition at line 89 of file randombank.c.

◆ outCompress

INT4 outCompress = 0

Definition at line 90 of file randombank.c.