VSelector


class description - source file - inheritance tree

class VSelector : public TObject


    public:
VSelector VSelector(const VSelector&) VSelector VSelector() virtual void ~VSelector() virtual void Begin(VVirtualFrameChannel*) static TClass* Class() virtual const char* GetOption() const static VSelector* GetSelector(const char* filename) virtual Int_t GetStatus() const virtual void Init(VVirtualFrameChannel*) virtual TClass* IsA() const virtual Bool_t ProcessCut(FrameH*) virtual Bool_t ProcessFrame(FrameH*) virtual Bool_t ProcessVect(int, FrVect**, FrVect*) 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

VSelectorCint

Class Description

                                                                        
 A VSelector object is used by the VFrameChannel::Process to navigate   
 in a VFrameChannel and make selections.                                
                                                                        
  The following members functions are called by the VFrameChannel       
  functions.                                                            
    Init:        Attach a new VFrameChannel during the loop             
    Begin:       called everytime a loop on the channel starts.         
                 a convenient place to create your histograms / plots.  
                                                                        
    ProcessCut:  called at the beginning of each entry to return a flag 
                 true if the entry must be analyzed.                    
    ProcessFill: called in the entry loop for all entries accepted      
                 by Select.                                             
    Terminate:   called at the end of a loop in a VFrameChannel.        
                 a convenient place to draw/fit your histograms.        
                                                                        


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

    void VSelector::Begin():       called everytime a loop on the frame channel starts,
                   a convenient place to create your histograms.
    Bool_t VSelector::ProcessCut():  called at the beginning of each frame processing to return a flag,
                   true if the entry must be analyzed.
    void VSelector::ProcessFrame(): called in the frame loop for all frames accepted
                   by ProcessCut.
    void VSelector::ProcessVect(): called in the loop for specific vectors requested
    void VSelector::Terminate():   called at the end of a loop on the frame channel,
                   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 VSelector object



Inline Functions


          VSelector VSelector()
               void Init(VVirtualFrameChannel*)
               void Begin(VVirtualFrameChannel*)
        const char* GetOption() const
              Int_t GetStatus() const
             Bool_t ProcessCut(FrameH*)
             Bool_t ProcessFrame(FrameH*)
             Bool_t ProcessVect(int, FrVect**, FrVect*)
               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)
          VSelector VSelector(const VSelector&)
               void ~VSelector()
Last update: Tue Jul 1 17:29:45 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.