VConditionSet
Class for managing sets of conditions, i.e. conditions
that may have overlap(s) in time.
A condition set is used as a selection and a pointer to a particular
point in time where the selection expression is verified.
It is used in sequential access of frames or vectors satisfying some
conditions. Suppose for example that one wants to access all the
frames that have triggered the condition "Trig3.amplitude>3", where
Trig3 is a condition (or trigger) defined in the frames.
If vd is a pointer to a valid info database containing
the information, one would do :
vega[] co = new VConditionSet(vd,"Trig3.amp>3")
vega[] fr = frchannel->GetNextFrame(co)
that would return him the first frame satisfying the condition.
Issueing fr = frchannel->GetNextFrame(co) repeatedly will return
sequentialy all the frames that satisfy the condition.
Jumps to the condition set that contains time "time" and satisfies recorded
formula or the nearest next one. Loads the relevant conditions as current.
returns 0 = error, 1 = OK
Jumps to the next condition set in time (with respect to current)
if a selection is present, will also require that the next set
intersects with the conditions forming the selection.
WARNING : if a selection is used, it may happen to return twice the same
set for two consecutive calls to NextSet(), in case more than one
selection is intersecting with that set.
returns 0 = error, 1 = OK
Jumps to the next condition set in time (with respect to current)
that verifies the condition formula if present.
if a selection is present, will also require that the set
intersects with the conditions forming the selection.
WARNING : if a selection is used, it may happen to return twice the same
set for two consecutive calls to NextSet(), in case more than one
selection is intersecting with that set.
returns 0 = error, 1 = OK
Returns the group number of the overlap of this set of conditions
It is the group number of the condition starting the last among
all the participating conditions.
- ROOT page - VEGA page - Class index - Top of the page This page has been automatically generated. If you have any comments or suggestions
about the page layout send a mail to
, or
contact
with any questions or problems regarding ROOT or VEGA.