class Window Defines an event window
| | value_type Value type |
| | pointer Pointer type |
| | const_pointer Const pointer type |
| | reference Reference type |
| | const_reference Const reference type |
| | iterator Iterator type |
| | const_iterator Const iterator type |
| | list List of event pointers |
| | current List of current event pointers |
| | Window (const TimeWindow& window = TimeWindow (1.0), int order = 1) Constructor |
| | Window (const Interval& width, const Interval& offset, int order = 1) Constructor |
| | Window (pointer event) Constructor |
| | Window (pointer e1, pointer e2) Constructor |
| | operator== (const Window& win) const Equality operator |
| | operator!= (const Window& win) const Inequality operator |
| | GetTimeFirst () const Time of first event |
| | GetTimeLast () const Time of last event |
| | GetTime () const Time of current events |
| | GetStartTime () const Window start time |
| | GetStopTime () const Window stop time |
| | SetWindow (const TimeWindow& window) Set time window |
| | SetWindow (const Interval& width, const Interval& offset) Set time window |
| | SetOffset (const Interval& offset) Set time offset |
| | GetOffset () const Get time offset |
| | SetWidth (const Interval& duration) Set time duration |
| | GetWidth () const Get time duration |
| | SetOrder (int n) Set window order |
| | GetOrder () const Window order |
| | operator) (int n) Current event access |
| | operator) (int n) const Current event access |
| | Current (int n = 0) Current event access |
| | Current (int n = 0) const Current event access |
| | SetCurrent (int n, pointer current) Set current event |
| | GetCurrentList () Get current event list |
| | GetCurrentList () const Get current event list |
| | Front () First |
| | Front () const First |
| | Back () Last |
| | Back () const Last |
| | Begin () Begin |
| | Begin () const Begin |
| | End () End |
| | End () const End |
| | operator[] (int n) List access |
| | operator[] (int n) const List access |
| | At (int n) List access |
| | At (int n) const List access |
| | Size () const List size |
| | Empty () const List empty? |
| | PushBack (pointer event) Add an element |
| | PushFront (pointer event) Add an element |
| | PopBack () Remove an element |
| | PopFront () Remove an element |
| | Clear () Clear list |
An event window is a utility class which manages a set of events which fall within a time window. The idea is that an analysis program will defined a maximum duration within to look for events. During the analysis this time window is moved through the series of events until all events are porcessed. An event window can be any coincidence order. An order of one means that the window refernces one current event and the list of events with in the time window. An order of two means that two events are currently selected for a concidence analysis. A triple coincidence would have an order of three, and so on.An event window provides iterators to go through the list of events in the window.
typedef Event* pointer
typedef const Event* const_pointer
typedef Event& reference
typedef const Event& const_reference
typedef Iterator iterator
typedef ConstIterator const_iterator
typedef std::deque <pointer> list
typedef std::vector <pointer> current
explicit Window(const TimeWindow& window = TimeWindow (1.0), int order = 1)
order - Coincidence order
Window(const Interval& width, const Interval& offset, int order = 1)
offset - Window offset
order - Coincidence order
explicit Window(pointer event)
Window(pointer e1, pointer e2)
bool operator== (const Window& win) const
bool operator!= (const Window& win) const
Time GetTimeFirst() const
Time GetTimeLast() const
Time GetTime() const
Time GetStartTime() const
Time GetStopTime() const
void SetWindow(const TimeWindow& window)
void SetWindow(const Interval& width, const Interval& offset)
offset - Window offset
void SetOffset(const Interval& offset)
Interval GetOffset() const
void SetWidth(const Interval& duration)
Interval GetWidth() const
void SetOrder(int n)
int GetOrder() const
reference operator) (int n)
const_reference operator) (int n) const
reference Current(int n = 0)
const_reference Current(int n = 0) const
void SetCurrent(int n, pointer current)
current& GetCurrentList()
const current& GetCurrentList() const
reference Front()
const_reference Front() const
reference Back()
const_reference Back() const
iterator Begin()
const_iterator Begin() const
iterator End()
const_iterator End() const
reference operator[] (int n)
const_reference operator[] (int n) const
reference At(int n)
const_reference At(int n) const
int Size() const
bool Empty() const
void PushBack(pointer event)
void PushFront(pointer event)
void PopBack()
alphabetic index hierarchy of classes
Please send questions and comments to sigg_d@ligo-wa.caltech.edu
generated by doc++