BurstProcess.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <metaio.h>
#include <string.h>
#include <strings.h>
#include <unistd.h>
#include <math.h>
#include <time.h>
#include <BurstProcess.h>
#include <sys/types.h>
#include <regex.h>

Include dependency graph for BurstProcess.c:

Go to the source code of this file.

Defines

#define LIGOMETA_IFO_MAX   3
#define LIGOMETA_SEARCH_MAX   25
#define LIGOMETA_CHANNEL_MAX   65
#define BUFSIZE   65536
#define TSIZ   65000
#define TSIZ   65000
#define SnglBurstTableCCopy(a, b)   a=b

Functions

int BackFunNumberOfUnclusteredEvents (char **info, SnglBurstTableC *input, void *parameters, BurstSegParams *bparams)
int ForeFunIsDetected (char **info, SnglBurstTableC *input, void *parameters, BurstSegParams *bparams)
int EstimationErrors (char **info, SnglBurstTableC *input, void *parameters, BurstSegParams *bparams)
int BackFunNumberOfUnclusteredEventsC2 (char **info, SnglBurstTableC *input1, SnglBurstTableC *input2, void *parameters, BurstSegParams *bparams1, BurstSegParams *bparams2)
int ForeFunIsDetectedC2 (char **info, SnglBurstTableC *input1, SnglBurstTableC *input2, void *parameters, BurstSegParams *bparams1, BurstSegParams *bparams2)
void hpsort2 (unsigned long n, int ra[], SnglBurstTableC rb[])
int AppendEvents (SnglBurstTableC *events, char *bbuf)
char * getparams (char *bbuf)
char * getallparams (char *bbuf)
int paramsdiff (char *bbuf, char *toc, int compETG)
int paramsdiffcp (char *bbuf, char *toc, int ETGcomp)
int paramsdiffIFO (char *s1, char *s2, char *IFO1, char *IFO2)
int isbackground (char *bbuf)
int RemoveRepetitions (char *bbuf, size_t ui)
int ProcessFilesSub (unsigned int *nback, unsigned int *nfore, char **files, int nfiles, int *nSeg, int **isBack, int **jInd, int *ntocs, char ***tocs, BurstSegParams **bparams, SnglBurstTableC ***events, int **jeId, int **Nevents, int **backInd, int **foreInd, regex_t *rexp)
int ProcessFiles (unsigned int *nback, unsigned int *nfore, char **files, int nfiles, int *nSeg, int **isBack, int **jInd, int *ntocs, char ***tocs, BurstSegParams **bparams, SnglBurstTableC ***events, int **jeId, int **Nevents, int **backInd, int **foreInd)
int BurstProcess (unsigned int *nback, BurstSegInfo *backData, int(*backFun)(char **, SnglBurstTableC *, void *, BurstSegParams *), void *backParams0, size_t backSize, unsigned int *nfore, BurstSegInfo *foreData, int(*foreFun)(char **, SnglBurstTableC *, void *, BurstSegParams *), void *foreParams0, size_t foreSize, char **files, int nfiles)
int BurstProcessSub (unsigned int *nback, BurstSegInfo *backData, int(*backFun)(char **, SnglBurstTableC *, void *, BurstSegParams *), void *backParams0, size_t backSize, unsigned int *nfore, BurstSegInfo *foreData, int(*foreFun)(char **, SnglBurstTableC *, void *, BurstSegParams *), void *foreParams0, size_t foreSize, char **files, int nfiles, char *matchexp)
int BurstProcess2 (unsigned int *nback, BurstSegInfo *backData, int(*backFun)(char **, SnglBurstTableC *, SnglBurstTableC *, void *, BurstSegParams *, BurstSegParams *), void *backParams0, size_t backSize, unsigned int *nfore, BurstSegInfo *foreData, int(*foreFun)(char **, SnglBurstTableC *, SnglBurstTableC *, void *, BurstSegParams *, BurstSegParams *), void *foreParams0, size_t foreSize, char **files1, int nfiles1, char **files2, int nfiles2, int mixETGParams, char *IFO1, char *IFO2)


Define Documentation

#define LIGOMETA_IFO_MAX   3

Definition at line 35 of file BurstProcess.c.

#define LIGOMETA_SEARCH_MAX   25

Definition at line 36 of file BurstProcess.c.

#define LIGOMETA_CHANNEL_MAX   65

Definition at line 37 of file BurstProcess.c.

#define BUFSIZE   65536

Definition at line 39 of file BurstProcess.c.

#define TSIZ   65000

Definition at line 209 of file BurstProcess.c.

#define TSIZ   65000

Definition at line 209 of file BurstProcess.c.

#define SnglBurstTableCCopy ( a,
 )     a=b

Definition at line 604 of file BurstProcess.c.


Function Documentation

int BackFunNumberOfUnclusteredEvents ( char **  info,
SnglBurstTableC input,
void *  parameters,
BurstSegParams bparams 
)

Definition at line 46 of file BurstProcess.c.

int ForeFunIsDetected ( char **  info,
SnglBurstTableC input,
void *  parameters,
BurstSegParams bparams 
)

Definition at line 108 of file BurstProcess.c.

int EstimationErrors ( char **  info,
SnglBurstTableC input,
void *  parameters,
BurstSegParams bparams 
)

Definition at line 211 of file BurstProcess.c.

int BackFunNumberOfUnclusteredEventsC2 ( char **  info,
SnglBurstTableC input1,
SnglBurstTableC input2,
void *  parameters,
BurstSegParams bparams1,
BurstSegParams bparams2 
)

Definition at line 393 of file BurstProcess.c.

int ForeFunIsDetectedC2 ( char **  info,
SnglBurstTableC input1,
SnglBurstTableC input2,
void *  parameters,
BurstSegParams bparams1,
BurstSegParams bparams2 
)

Definition at line 470 of file BurstProcess.c.

void hpsort2 ( unsigned long  n,
int  ra[],
SnglBurstTableC  rb[] 
)

Definition at line 611 of file BurstProcess.c.

int AppendEvents ( SnglBurstTableC events,
char *  bbuf 
)

Definition at line 662 of file BurstProcess.c.

char* getparams ( char *  bbuf  ) 

Definition at line 783 of file BurstProcess.c.

char* getallparams ( char *  bbuf  ) 

Definition at line 804 of file BurstProcess.c.

int paramsdiff ( char *  bbuf,
char *  toc,
int  compETG 
)

Definition at line 840 of file BurstProcess.c.

int paramsdiffcp ( char *  bbuf,
char *  toc,
int  ETGcomp 
)

Definition at line 896 of file BurstProcess.c.

int paramsdiffIFO ( char *  s1,
char *  s2,
char *  IFO1,
char *  IFO2 
)

Definition at line 935 of file BurstProcess.c.

int isbackground ( char *  bbuf  ) 

Definition at line 982 of file BurstProcess.c.

int RemoveRepetitions ( char *  bbuf,
size_t  ui 
)

Definition at line 1006 of file BurstProcess.c.

int ProcessFilesSub ( unsigned int *  nback,
unsigned int *  nfore,
char **  files,
int  nfiles,
int *  nSeg,
int **  isBack,
int **  jInd,
int *  ntocs,
char ***  tocs,
BurstSegParams **  bparams,
SnglBurstTableC ***  events,
int **  jeId,
int **  Nevents,
int **  backInd,
int **  foreInd,
regex_t *  rexp 
)

Definition at line 1081 of file BurstProcess.c.

int ProcessFiles ( unsigned int *  nback,
unsigned int *  nfore,
char **  files,
int  nfiles,
int *  nSeg,
int **  isBack,
int **  jInd,
int *  ntocs,
char ***  tocs,
BurstSegParams **  bparams,
SnglBurstTableC ***  events,
int **  jeId,
int **  Nevents,
int **  backInd,
int **  foreInd 
)

Definition at line 1283 of file BurstProcess.c.

int BurstProcess ( unsigned int *  nback,
BurstSegInfo backData,
int(*)(char **, SnglBurstTableC *, void *, BurstSegParams *)  backFun,
void *  backParams0,
size_t  backSize,
unsigned int *  nfore,
BurstSegInfo foreData,
int(*)(char **, SnglBurstTableC *, void *, BurstSegParams *)  foreFun,
void *  foreParams0,
size_t  foreSize,
char **  files,
int  nfiles 
)

Definition at line 1305 of file BurstProcess.c.

int BurstProcessSub ( unsigned int *  nback,
BurstSegInfo backData,
int(*)(char **, SnglBurstTableC *, void *, BurstSegParams *)  backFun,
void *  backParams0,
size_t  backSize,
unsigned int *  nfore,
BurstSegInfo foreData,
int(*)(char **, SnglBurstTableC *, void *, BurstSegParams *)  foreFun,
void *  foreParams0,
size_t  foreSize,
char **  files,
int  nfiles,
char *  matchexp 
)

Definition at line 1322 of file BurstProcess.c.

int BurstProcess2 ( unsigned int *  nback,
BurstSegInfo backData,
int(*)(char **, SnglBurstTableC *, SnglBurstTableC *, void *, BurstSegParams *, BurstSegParams *)  backFun,
void *  backParams0,
size_t  backSize,
unsigned int *  nfore,
BurstSegInfo foreData,
int(*)(char **, SnglBurstTableC *, SnglBurstTableC *, void *, BurstSegParams *, BurstSegParams *)  foreFun,
void *  foreParams0,
size_t  foreSize,
char **  files1,
int  nfiles1,
char **  files2,
int  nfiles2,
int  mixETGParams,
char *  IFO1,
char *  IFO2 
)

Definition at line 1502 of file BurstProcess.c.


Generated on Tue Sep 2 02:42:02 2008 for LAL by  doxygen 1.5.2