namespace events class Filter : public Condition Defines an event filter
| | matchtype matching criterium
|
| | Filter () Constructs an empty event filter |
| | Filter (const char* pattern) Constructors an event filter |
| | Filter (const char* pattern, int index) Constructors an event filter |
| | Filter (const std::string& pattern, int index) Constructors an event filter |
| | Copy () const Copy the event |
| | IsValid () const Is valid? |
| | operator== (const Filter& filter) const Equality operator |
| | operator!= (const Filter& filter) const Inequality operator |
| | Evaluate (const Argument& arg, bool& val) const Evaluate |
| | SetIndex (int index = -1) Set event index |
| | GetIndex () const Get event index |
| | GetPattern () const Get event pattern |
| | SetPattern (const char* pattern) Set event pattern |
| | SetPattern (const std::string& pattern) Set event pattern |
| | Match (const Event* event) const Match event against pattern |
An event filter uses the type information to select events. It supports wildcards and an event index.Example:
Filter ("burst::*")selects all burst events. If a filter is specified without an index it gets applied to all event indices. Wildcards in form of "*" (asterix) and "?" (question mark) can be used.An event index can be explicitly specified as part of the string or as a separate argument. Examples:
Filter ("burst::*[0]") && Filter ("trigger::*", 1)selects burst events from the first event stream and DMT triggers from the second one.As with the column class a filter set can also be specified for events stored as event columns. The same notation applies. For example:
Filter ("Event(1).burst::*") Filter ("burst::*(1)")selects events which contain a burst event at column "Event(1)".
explicit Filter(const char* pattern)
explicit Filter(const char* pattern, int index)
explicit Filter(const std::string& pattern, int index)
virtual Filter* Copy() const
bool IsValid() const
bool operator== (const Filter& filter) const
bool operator!= (const Filter& filter) const
virtual bool Evaluate(const Argument& arg, bool& val) const
val - Condition value (return)
void SetIndex(int index = -1)
int GetIndex() const
const char* GetPattern() const
bool SetPattern(const char* pattern)
bool SetPattern(const std::string& pattern)
bool Match(const Event* event) const
alphabetic index hierarchy of classes
Please send questions and comments to sigg_d@ligo-wa.caltech.edu
generated by doc++