VConditionSetFMDB


class description - source file - inheritance tree

class VConditionSetFMDB : public VConditionSet


    public:
VConditionSetFMDB VConditionSetFMDB(const VConditionSetFMDB&) VConditionSetFMDB VConditionSetFMDB(VFrameMetaDB* metadb, VConditionFormula* condf = 0, VConditionFormula* self = 0) VConditionSetFMDB VConditionSetFMDB(VFrameMetaDB* metadb, const char* condfs, const char* selfs = "0") VConditionSetFMDB VConditionSetFMDB() virtual void ~VConditionSetFMDB() static TClass* Class() virtual Double_t Eval(const char* formula) virtual Int_t GetGroup() virtual Double_t GetIntersectionEnd() virtual Double_t GetIntersectionStart() virtual Double_t GetIntersectSelectEnd() virtual Double_t GetIntersectSelectStart() virtual Double_t GetLastConditionResult() virtual Double_t GetLastSelectionResult() virtual TClass* IsA() const virtual Int_t NearestGEFormSet(Double_t time) virtual Int_t NearestGESet(Double_t time) virtual Int_t NextFormSet() virtual Int_t NextSet() virtual void SetActive(Int_t conditionnumber) virtual void SetCurCondition(Int_t conditionnumber, VFrCondition* cond) virtual void SetInactive(Int_t conditionnumber) virtual void SetSelection(Int_t conditionnumber) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members




Class Description

                                                                      
 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.               
                                                                      


Int_t NearestGESet(Double_t time)
  Jumps to the condition set that contains time "time" or the nearest
  next one. Loads the relevant conditions as current.
  returns 0 = error, 1 = OK

Int_t NearestGEFormSet(Double_t time)
  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

Int_t NextSet()
  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

Int_t NextFormSet()
  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

Double_t GetIntersectionStart()
  Returns the start time of the overlap of this set of conditions

Double_t GetIntersectionEnd()
  Returns the end time of the overlap of this set of conditions

Double_t GetIntersectSelectStart()
  Returns the start time of the overlap of this set of conditions
 including the conditions used for selection

Double_t GetIntersectSelectEnd()
  Returns the end time of the overlap of this set of conditions
 including the conditions used for selection

Int_t GetGroup()
  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.

void SetCurCondition(Int_t conditionnumber, VFrCondition* cond)
 Copies the condition cond into the internal current condition of this set
 which has number "conditionnumber"

void SetActive(Int_t conditionnumber)
 Sets the condition "conditionnumber" as active

void SetSelection(Int_t conditionnumber)
 Sets the condition "conditionnumber" as used for selection

Double_t GetLastConditionResult()
 Returns the result of the condition formula applied to the last condition set

Double_t GetLastSelectionResult()
 Returns the result of the selection formula applied to the last condition set

Double_t Eval(const char* formula)
 Evaluates the formula for the current condition set.
 Useful in case of interactive use.



Inline Functions


        VConditionSetFMDB VConditionSetFMDB()
        VConditionSetFMDB VConditionSetFMDB(VFrameMetaDB* metadb, VConditionFormula* condf = 0, VConditionFormula* self = 0)
        VConditionSetFMDB VConditionSetFMDB(VFrameMetaDB* metadb, const char* condfs, const char* selfs = "0")
                     void SetInactive(Int_t conditionnumber)
                  TClass* Class()
                  TClass* IsA() const
                     void ShowMembers(TMemberInspector& insp, char* parent)
                     void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)
        VConditionSetFMDB VConditionSetFMDB(const VConditionSetFMDB&)
                     void ~VConditionSetFMDB()
Last update: Tue Jul 1 17:27:47 2003


- 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.