VViewerSelector


class description - source file - inheritance tree

class VViewerSelector : public TObject


    public:
VViewerSelector VViewerSelector(const VViewerSelector&) VViewerSelector VViewerSelector() virtual void ~VViewerSelector() virtual void Begin() static TClass* Class() virtual const char* GetOption() const static VViewerSelector* GetSelector(const char* filename) virtual Int_t GetStatus() const virtual const char* GetViewerClassName() const virtual void Init() virtual TClass* IsA() const virtual Bool_t ProcessCut(FrameH*) virtual Bool_t ProcessVect(int, FrVect**, FrVect*, double*) virtual void SetObject(TObject* obj) virtual void SetOption(const char* option) virtual void SetStatus(Int_t status) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) virtual void Terminate()

Data Members


    protected:
Int_t mStatus Selector status TString mOption option given to VFrameChannel::Process TObject* mObject current object if processing object (vs. VFrameChannel)


See also

VViewerSelectorCint

Class Description

                                                                        
 A VViewerSelector object is used by the viewer to process              
 set of frames and make selections.                                     
                                                                        
  The following members functions are called :                          
                                                                        
    Init:        called once per viewer session                         
    Begin:       called everytime a viewer loop on the data starts.     
                 a convenient place to create your histograms / plots.  
    ProcessVect: called in the viewer loop for all vectors that should  
                 be analyzed.                                           
    Terminate:   called at the end of a viewer loop.                    
                 a convenient place to draw/fit your histograms.        
                                                                        


VViewerSelector* GetSelector(const char *filename)
   The code in filename is loaded (interpreted or compiled , see below)
   filename must contain a valid class implementation derived from VViewerSelector.
   where VViewerSelector has the following member functions:

    void VViewerSelector::Init():        called once per viewer session
    void VViewerSelector::Begin():       called everytime a viewer loop on the data starts.
                                         a convenient place to create your histograms.
    void VViewerSelector::ProcessVect(): called in the viewer loop for all vectors that should
                                         be analyzed.
    void VViewerSelector::Terminate():   called at the end of a viewer loop.
                                         a convenient place to draw/fit your histograms.

   if filename is of the form file.C, the file will be interpreted.
   if filename is of the form file.C++, the file file.C will be compiled
      and dynamically loaded. The corresponding binary file and shared library
      will be deleted at the end of the function.
   if filename is of the form file.C+, the file file.C will be compiled
      and dynamically loaded. At next call, if file.C is older than file.o
      and file.so, the file.C is not compiled, only file.so is loaded.

   The static function returns a pointer to a VViewerSelector object



Inline Functions


        VViewerSelector VViewerSelector()
                   void Init()
                   void Begin()
            const char* GetOption() const
                  Int_t GetStatus() const
            const char* GetViewerClassName() const
                 Bool_t ProcessCut(FrameH*)
                 Bool_t ProcessVect(int, FrVect**, FrVect*, double*)
                   void SetOption(const char* option)
                   void SetObject(TObject* obj)
                   void SetStatus(Int_t status)
                   void Terminate()
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)
        VViewerSelector VViewerSelector(const VViewerSelector&)
                   void ~VViewerSelector()
Last update: Tue Jul 1 17:29:58 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.