In file TimeWindow.hh:

namespace events class TimeWindow

Defines a time window

Inheritance:


Public Fields

typedef ::Interval Interval
Interval type

Public Methods

TimeWindow ()
Default constructor
TimeWindow (double width)
Constructor
TimeWindow (const Interval& width)
Constructor
TimeWindow (double width, double offset)
Constructor
TimeWindow (const Interval& width, const Interval& offset)
Constructor
void SetWindow (const Interval& width, const Interval& offset)
Set window width
void SetWidth (const Interval& width)
Set window width
Interval GetWidth () const
Get window width
void SetOffset (const Interval& offset)
Set window offset
Interval GetOffset () const
Window offset
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.

typedef ::Interval Interval
Interval type

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

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

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

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

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

void SetWindow(const Interval& width, const Interval& offset)
Set window width

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

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

void SetOffset(const Interval& offset)
Set window offset

Interval GetOffset() const
Window offset

Interval 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 hierarchy of classes


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


generated by doc++