Defines an veto condition
Veto () Default constructor | |
Veto (const Interval& duration, const Interval& offset) Constructor | |
explicit | Veto (const TimeWindow& window) Constructor |
Veto (const Condition& cond, const Interval& duration, const Interval& offset) Constructor | |
Veto (const Condition& cond, const TimeWindow& window) Constructor | |
virtual Veto* | Copy () const Copy the event |
virtual bool | Evaluate (const Argument& arg, bool& val) const Evaluate |
const ConditionPtr& | GetCondition () const Get event condition |
void | SetWindow (const TimeWindow& window) Set time window |
void | SetWindow (const Interval& width, const Interval& offset) Set time window |
void | SetOffset (const Interval& offset) Set time offset |
Interval | GetOffset () const Get time offset |
void | SetWidth (const Interval& duration) Set time duration |
Interval | GetWidth () const Get time duration |
Describes an event veto. An event veto consists of a condition and a time window around the event time. The veto conditions yields true if an event which fullfills the condition falls within the veto window around the analysed event. This means a condition which wants to rejects events which are close to a veto event has to be specified something likeFilter ("burst::*") && !Veto (Filter ("glitch::psl"), 0.1, -0.05)The time window is defined relative to the time of the first current event. Current events are ignored in the veto condition and none of them is checked against the veto condition. The veto condition is called with same event list as the veto class, but with a single current event which is set to the event test for.
A veto condition can also be used to specify a coincidence condition! The following example demonstrates this:
Filter ("burst::*") && Veto (Filter ("burst::*"), 0.1)looks for two burst events which fall within 100ms. To avoid the confusion this example may create, the alias Coincide is defined which makes the example more readable, but otherwise behaves like the veto condition:Filter ("burst::*") && Coincide (Filter ("burst::*"), 0.1)yields the same result as the previous example.Basically, the terms veto and conicide do not describe different outcomes of a condition, but rather how the occurance of a close-by second event is treated in the analysis.
duration - Duration of veto window
offset - Time offset for veto start (relative to event)
duration - Duration of veto window
offset - Time offset for veto start (relative to event)
duration - Duration of veto window
duration - Duration of veto window
val - Condition value (return)
offset - Window offset
alphabetic index hierarchy of classes
Please send questions and comments to sigg_d@ligo-wa.caltech.edu
generated by doc++