In file Condition.hh:
Defines an event condition
Inheritance:
Public Methods
| Condition ()
Default constructor
|
virtual | ~Condition ()
Destructor
|
virtual Condition* | Copy () const
Copy the event
|
virtual bool | Evaluate (const Argument& arg, bool& val) const
Evaluate
|
bool | operator() (const Argument& arg, bool& val) const
() operator
|
bool | operator() (const Event& event, bool& val) const
() operator
|
static const Condition& | True ()
True
|
static const Condition& | False ()
False
|
Documentation
Event condition. Event conditions can be evaluated on one, two
(coincidence) or three (triple-coincidence) events.
Condition()
- Creates an event condition which is always false.
virtual ~Condition()
- Destructs the event condition.
virtual Condition* Copy() const = 0
- Returns a copy of the event condition. This method must be
overriden by all descendents.
- Returns:
- event copy
virtual bool Evaluate(const Argument& arg, bool& val) const = 0
- Evaluate the condition. This function must be overriden
by descendents.
- Parameters:
- - arg Event argument list
val - Condition value (return)
- Returns:
- True if condition could be evaluated
bool operator() (const Argument& arg, bool& val) const
- Condition call operator. Returns the same as evaluate
(should not be overriden).
- Parameters:
- event - Event upon condition is evaluated
val - Condition value (return)
- Returns:
- True if condition could be evaluated
bool operator() (const Event& event, bool& val) const
- Condition call operator. Evaluates a condition on a single
event (should not be overriden).
- Parameters:
- - arg Event argument list
val - Value (return)
- Returns:
- True if function could be evaluated
static const Condition& True()
- Returns a condition which yields always true.
static const Condition& False()
- A condition which yields always false.
Condition(const Condition&)
- Copy constructor. This is almost never intended, so just
disable it from the outside.
Condition& operator= (const Condition&)
- Assignment operator. This is almost never intended, so just
disable it from the outside.
- Direct child classes:
- Veto
ShiftCondition
IfoSet
Filter
ConditionLogic
Comparison
Cluster
- Author:
- Written June 2001 by Masahiro Ito and Daniel Sigg
- Version:
- 1.0
Alphabetic index HTML hierarchy of classes or Java
Please send questions and comments to
zweizig_j@ligo-wa.caltech.edu