class Veto |
Defines an veto condition
| Veto () Default constructor | |
| Veto (const Interval& duration, const Interval& offset) Constructor | |
| Veto (const TimeWindow& window) Constructor | |
| Veto (const Condition& cond, const Interval& duration, const Interval& offset) Constructor | |
| Veto (const Condition& cond, const TimeWindow& window) Constructor | |
| Copy () const Copy the event | |
| Evaluate (const Argument& arg, bool& val) const Evaluate | |
| GetCondition () const Get event condition | |
| 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 |
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.
Alphabetic index HTML hierarchy of classes or Java
Please send questions and comments to zweizig_j@ligo-wa.caltech.edu