LALInspiral 5.0.3.1-eeff03c
TrigScanEThincaCommon.h
Go to the documentation of this file.
1/*
2* Copyright (C) 2007 Craig Robinson
3*
4* This program is free software; you can redistribute it and/or modify
5* it under the terms of the GNU General Public License as published by
6* the Free Software Foundation; either version 2 of the License, or
7* (at your option) any later version.
8*
9* This program is distributed in the hope that it will be useful,
10* but WITHOUT ANY WARRANTY; without even the implied warranty of
11* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12* GNU General Public License for more details.
13*
14* You should have received a copy of the GNU General Public License
15* along with with program; see the file COPYING. If not, write to the
16* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
17* MA 02110-1301 USA
18*/
19
20/*-----------------------------------------------------------------------
21 *
22 * File Name: TrigScanEThincaCommon.h
23 *
24 * Author: Robinson, C. A. K.
25 *
26 *-----------------------------------------------------------------------
27 */
28
29#ifndef _TRIGSCANETHINCACOMMON_H
30#define _TRIGSCANETHINCACOMMON_H
31
32#include <lal/LALAtomicDatatypes.h>
33#include <lal/LIGOMetadataTables.h>
34
35#include <gsl/gsl_vector.h>
36#include <gsl/gsl_matrix.h>
37
38#ifdef __cplusplus
39extern "C" {
40#endif
41
42/**
43 * \defgroup TrigScanEThincaCommon_h Header TrigScanEThincaCommon.h
44 * \ingroup lalinspiral_UNCLASSIFIED
45 * \author Robinson, C. A. K.
46 *
47 * \brief Provides helper functions common to TrigScan and E-thinca.
48 *
49 * ### Synopsis ###
50 *
51 * \code
52 * #include <lal/TrigScanEThincaCommon.h>
53 * \endcode
54 *
55 * This header provides functions used for creating and destroying the
56 * linked lists used in TrigScan and E-thinca.
57 *
58 */
59/** @{ */
60
61/**
62 * The \c TriggerErrorList is a linked list used within e-thinca. It
63 * contains pointers to the \c SnglInspiralTable for a given trigger,
64 * and its associated error matrix and position vector.
65 */
66typedef struct tagTriggerErrorList
67{
69 gsl_matrix *err_matrix;
70 gsl_vector *position;
71 struct tagTriggerErrorList *next;
72}
74
76 REAL8 scaleFactor,
77 REAL8 *tcMax );
78
80
82
83/** @} */ /* end:TrigScanEThincaCommon.h */
84
85#ifdef __cplusplus
86}
87#endif
88
89#endif /* _TRIGSCANETHINCACOMMON_H */
double REAL8
REAL8 XLALSnglInspiralTimeError(const SnglInspiralTable *table, REAL8 eMatch)
Using the waveform metric components, translate an "e-thinca" treshold into a error interval.
TriggerErrorList * XLALCreateTriggerErrorList(SnglInspiralTable *tableHead, REAL8 scaleFactor, REAL8 *tcMax)
void XLALDestroyTriggerErrorList(TriggerErrorList *errorListHead)
The TriggerErrorList is a linked list used within e-thinca.
struct tagTriggerErrorList * next
SnglInspiralTable * trigger