LALMetaIO 4.0.6.1-eeff03c
sngl_burst.c File Reference

Prototypes

SnglBurstXLALCreateSnglBurst (void)
 Create a SnglBurst structure. More...
 
SnglBurstXLALDestroySnglBurst (SnglBurst *row)
 Free a SnglBurst. More...
 
void XLALDestroySnglBurstTable (SnglBurst *head)
 Free a SnglBurst linked list. More...
 
SnglBurstXLALSnglBurstTableFromLIGOLw (const char *filename)
 Read the sngl_burst table from a LIGO Light Weight XML file into a linked list of SnglBurst structures. More...
 
int XLALWriteLIGOLwXMLSnglBurstTable (LIGOLwXMLStream *xml, const SnglBurst *sngl_burst)
 Write a sngl_burst table to an XML file. More...
 
long XLALSnglBurstAssignIDs (SnglBurst *head, long process_id, long event_id)
 Assign event_id values to the entries in a SnglBurst linked list. More...
 

Go to the source code of this file.

Function Documentation

◆ XLALCreateSnglBurst()

SnglBurst * XLALCreateSnglBurst ( void  )

Create a SnglBurst structure.

Definition at line 40 of file sngl_burst.c.

◆ XLALDestroySnglBurst()

SnglBurst * XLALDestroySnglBurst ( SnglBurst row)

Free a SnglBurst.

Definition at line 70 of file sngl_burst.c.

◆ XLALDestroySnglBurstTable()

void XLALDestroySnglBurstTable ( SnglBurst head)

Free a SnglBurst linked list.

Definition at line 81 of file sngl_burst.c.

◆ XLALSnglBurstTableFromLIGOLw()

SnglBurst * XLALSnglBurstTableFromLIGOLw ( const char *  filename)

Read the sngl_burst table from a LIGO Light Weight XML file into a linked list of SnglBurst structures.

Definition at line 92 of file sngl_burst.c.

◆ XLALWriteLIGOLwXMLSnglBurstTable()

int XLALWriteLIGOLwXMLSnglBurstTable ( LIGOLwXMLStream xml,
const SnglBurst sngl_burst 
)

Write a sngl_burst table to an XML file.

Definition at line 230 of file sngl_burst.c.

◆ XLALSnglBurstAssignIDs()

long XLALSnglBurstAssignIDs ( SnglBurst head,
long  process_id,
long  event_id 
)

Assign event_id values to the entries in a SnglBurst linked list.

All SnglBurst rows in the list will be blamed on the given process_id, and assigned sequential event_ids starting with the given event_id. The return value is the next event_id after the last one assigned to a row in the list.

Definition at line 307 of file sngl_burst.c.