In file ConditionLogic.hh:

class ShiftCondition : public Condition

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

Inherited from Condition:

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.
Returns:
True if condition could be evaluated
Parameters:
arg - Event argument list
val - Condition value (return)


This class has no child classes.
Author:
Written June 2001 by Masahiro Ito and Daniel Sigg
Version:
1.0

alphabetic index hierarchy of classes


Please send questions and comments to sigg_d@ligo-wa.caltech.edu


generated by doc++