gstlal-inspiral  1.9.2
 All Classes Namespaces Files Functions
Public Member Functions | Public Attributes | List of all members
lloidhandler.SegmentsTracker Class Reference
Inheritance diagram for lloidhandler.SegmentsTracker:
[legend]
Collaboration diagram for lloidhandler.SegmentsTracker:
[legend]

Public Member Functions

def __init__
 
def gatehandler
 
def terminate
 
def gen_segments_xmldoc
 A method to output the segment list in a valid ligolw xml format. More...
 
def T050017_filename
 
def flush_segments_to_disk
 Flush segments to disk, e.g., when checkpointing or shutting down an online pipeline. More...
 
def web_get_segments_xml
 provide a bottle route to get segment information via a url More...
 
def update_recent_segment_history
 A method to update the recent segment histories. More...
 
def gen_recent_segment_history_xmldoc
 Construct and return a LIGOLW XML tree containing the recent segment histories. More...
 
def web_get_recent_segment_history_xml
 provide a bottle route to get recent segment history information via a url More...
 

Public Attributes

 lock
 
 verbose
 
 seglistdicts
 
 recent_segment_histories
 
 segment_history_duration
 
 gate_history
 

Detailed Description

Definition at line 402 of file lloidhandler.py.

Member Function Documentation

def lloidhandler.SegmentsTracker.flush_segments_to_disk (   self,
  tag,
  timestamp 
)

Flush segments to disk, e.g., when checkpointing or shutting down an online pipeline.

Parameters
timestampthe LIGOTimeGPS timestamp of the current buffer in order to close off open segment intervals before writing to disk

Definition at line 567 of file lloidhandler.py.

def lloidhandler.SegmentsTracker.gen_recent_segment_history_xmldoc (   self)

Construct and return a LIGOLW XML tree containing the recent segment histories.

Must be called with the lock held.

Definition at line 628 of file lloidhandler.py.

def lloidhandler.SegmentsTracker.gen_segments_xmldoc (   self)

A method to output the segment list in a valid ligolw xml format.

Must be called with the lock held.

Definition at line 520 of file lloidhandler.py.

def lloidhandler.SegmentsTracker.update_recent_segment_history (   self)

A method to update the recent segment histories.

Must be called with the lock held.

Definition at line 613 of file lloidhandler.py.

def lloidhandler.SegmentsTracker.web_get_recent_segment_history_xml (   self)

provide a bottle route to get recent segment history information via a url

Definition at line 646 of file lloidhandler.py.

def lloidhandler.SegmentsTracker.web_get_segments_xml (   self)

provide a bottle route to get segment information via a url

Definition at line 601 of file lloidhandler.py.


The documentation for this class was generated from the following file: