In file TimeWindow.hh:

class TimeWindow

Defines a time window

Inheritance:


Public Fields

[more]typedef Interval type : :Interval Interval

Public Methods

[more] TimeWindow ()
Default constructor
[more] TimeWindow (double width)
Constructor
[more] TimeWindow (const Interval& width)
Constructor
[more] TimeWindow (double width, double offset)
Constructor
[more] TimeWindow (const Interval& width, const Interval& offset)
Constructor
[more]void SetWindow (const Interval& width, const Interval& offset)
Set window width
[more]void SetWidth (const Interval& width)
Set window width
[more]Interval GetWidth () const
Get window width
[more]void SetOffset (const Interval& offset)
Set window offset
[more]Interval GetOffset () const
Window offset
[more]Interval GetEnd () const
Window end


Documentation

A time window is a utility class which manages a time duration and time offset. It is used by event analysis algorithms to select the analysis, the veto and the coincidence window.

otypedef Interval type: :Interval Interval
Interval type

o TimeWindow()
Creates a default time window. Duration = 1s, Offset = -0.5s.

o TimeWindow(double width)
Creates a symmetric time window.
Parameters:
width - Width of window

o TimeWindow(const Interval& width)
Creates a symmetric time window.
Parameters:
width - Width of window

o TimeWindow(double width, double offset)
Creates time window. For a symmetric window set the offset to the negative of half the window width.
Parameters:
width - Width of window
offset - Window offset

o TimeWindow(const Interval& width, const Interval& offset)
Creates time window. For a symmetric window set the offset to the negative of half the window width.
Parameters:
width - Width of window
offset - Window offset

ovoid SetWindow(const Interval& width, const Interval& offset)
Set Window.

ovoid SetWidth(const Interval& width)
Set width/duration of window.

oInterval GetWidth() const
Get width/duration of window.

ovoid SetOffset(const Interval& offset)
Set window offset.

oInterval GetOffset() const
Window offset.

oInterval GetEnd() const
Get stop time of window.


This class has no child classes.
Author:
Written June 2001 by Masahiro Ito and Daniel Sigg
Version:
1.0

Alphabetic index HTML hierarchy of classes or Java


Please send questions and comments to zweizig_j@ligo-wa.caltech.edu