VMetaDBPlayer


class description - source file - inheritance tree

class VMetaDBPlayer : public VVirtualMetaDBPlayer


    public:
VMetaDBPlayer VMetaDBPlayer(const VMetaDBPlayer&) VMetaDBPlayer VMetaDBPlayer() virtual void ~VMetaDBPlayer() static TClass* Class() virtual Int_t Draw(const char* selexp, const char* selection, Option_t* option, Double_t start = 0, Double_t length = 0) virtual TClass* IsA() const virtual void SetFrameInfoDB(VVirtualFrameInfoDB* mdb) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
VVirtualFrameInfoDB* fMetaDB Pointer to current metadb

Class Description

                                                                      
 VMetaDBPlayer                                                        
                                                                      
 A metadatabase (of type VVirtualInfoDB) contains metadata of frame data 
 The player will allow one to draw some plots related to this         
 metadata. Currently, one draws only the selection part of            
 the metadatabase (triggers)                                          
 The metadb player is loaded only when needed by the system, it is    
 not linked at compile time with the program                          
                                                                      


VMetaDBPlayer()
*-*-*-*-*-*-*-*-*-*-*Default MeatDB player constructor*-*-*-*-*-*-*-*-*-*
*-*                  =================================

Int_t Draw(const char* selexp, const char* selection, Option_t* option, Double_t start, Double_t length)
   Draws expression selexp for conditions defined in the database
   Builds a TGraph representing selexp over time, vetoed by selection

   selexp is an expression (formula) referencing a combination of conditions
   Example:
      selexp = trig.amp   simplest case: draw a plot of amplitude of
                                          condition named trig
             = sqrt(trig.p)            : draw distribution of sqrt(trig.p)
             = x*y/z                   : where x, y and z are conditions
                                         defined in the database
   Note that selexp may contain a selection.
   example, if selexp= x*(y<0), the value plotted will be x if y<0
   and will be 0 otherwise.

   selection is an expression with a combination of the conditions.
   In a selection all the C++ operators are authorized.
   The value corresponding to the selection expression is used as a veto
   to plot the points. If it is not 0, the point is plotted.
   The value returned is not relevant, only relevant is
   (selection==0) -> point skipped or (selection!=0) -> point plotted

   Examples:
       selection1 = "x<y && sqrt(z)>3.2"
       selection2 = "(x+y)*(sqrt(z)>3.2"
   selection1 returns a value = 0 or 1
   selection2 returns a value  = x+y if sqrt(z)>3.2
              returns a value  = 0 otherwise.
   Warning : if there is no selection (selection=""), selexp itself
             will be taken as selection expression, i.e. only points where
             selexp != 0 will be plotted

   option is the drawing option
       see TGraph::Draw for the list of all drawing options.

   start is the start time of the first conditions to process
      (default is beginning of database values)
   length is the length in time of the data to process (default is all data)




Inline Functions


                 void SetFrameInfoDB(VVirtualFrameInfoDB* mdb)
              TClass* Class()
              TClass* IsA() const
                 void ShowMembers(TMemberInspector& insp, char* parent)
                 void Streamer(TBuffer& b)
                 void StreamerNVirtual(TBuffer& b)
        VMetaDBPlayer VMetaDBPlayer(const VMetaDBPlayer&)
                 void ~VMetaDBPlayer()
Last update: Tue Jul 1 17:29:12 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.