In file ConditionLogic.hh:
Shifted condition
Inheritance:
Public Methods
explicit | ShiftCondition (const Condition& cond, int howmuch = 1)
Constructor
|
virtual ShiftCondition* | Copy () const
Copy the event
|
virtual bool | Evaluate (const Argument& arg, bool& val) const
Evaluate
|
Public Methods
-
bool operator() (const Argument& arg, bool& val) const
-
bool operator() (const Event& event, bool& val) const
-
static const Condition& True()
-
static const Condition& False()
Protected Methods
-
Condition& operator= (const Condition&)
Documentation
Shifted condition.
explicit ShiftCondition(const Condition& cond, int howmuch = 1)
- Creates a shifted condition.
- Parameters:
- cond - Condition to be shifted
howmuch - Number of events to shift
virtual ShiftCondition* Copy() const
- 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
- Evaluate the condition.
- Parameters:
- - arg Event argument list
val - Condition value (return)
- Returns:
- True if condition could be evaluated
- This class has no child classes.
- 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