In file ConditionLogic.hh:

class ShiftCondition

Shifted condition

Inheritance:


Public Methods

[more]explicit ShiftCondition (const Condition& cond, int howmuch = 1)
Constructor
[more]virtual ShiftCondition* Copy () const
Copy the event
[more]virtual bool Evaluate (const Argument& arg, bool& val) const
Evaluate


Inherited from Condition:

Public Methods

obool operator() (const Argument& arg, bool& val) const
obool operator() (const Event& event, bool& val) const
ostatic const Condition& True()
ostatic const Condition& False()

Protected Methods

oCondition& operator= (const Condition&)


Documentation

Shifted condition.
oexplicit ShiftCondition(const Condition& cond, int howmuch = 1)
Creates a shifted condition.
Parameters:
cond - Condition to be shifted
howmuch - Number of events to shift

ovirtual ShiftCondition* Copy() const
Returns a copy of the event condition. This method must be overriden by all descendents.
Returns:
event copy

ovirtual 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