TSelector
class description - source file - inheritance tree
public:
TSelector TSelector()
TSelector TSelector(Text_t* name, Text_t* title)
TSelector TSelector(TSelector&)
virtual void ~TSelector()
virtual void BeginFile()
TClass* Class()
virtual void EndFile()
virtual void Execute(TTree* tree, Int_t event)
virtual void Execute(Text_t* method, Text_t* params)
virtual void Execute(TMethod* method, TObjArray* params)
virtual void Finish(Option_t* option)
virtual void Init(TTree* tree, Option_t* option)
virtual TClass* IsA()
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Start(Option_t* option)
virtual void Streamer(TBuffer& b)
protected:
TTree* fTree Pointer to current TTree
A TSelector object is used by the TTree::Draw, TTree::Scan,
TTree::Loop to navigate in a TTree and make selections.
The following members functions are called by the TTree functions.
Init: to initialize the selector
Start: called everytime a loop on the tree starts.
a convenient place to create your histograms.
Finish: called at the end of a loop on a TTree.
a convenient place to draw/fit your histograms.
BeginFile: called when a TChain is processed at the begining of
of a new file.
EndFile: called when a TChain is processed at the end of a file.//
Execute: called for each selected entry.
TSelector(): TNamed()
Default constructor for a Selector.
TSelector(const Text_t *name, const Text_t *title)
:TNamed(name,title)
Create a Selector.
~TSelector()
Destructor for a Selector.
void BeginFile()
Called by TTree::Loop when a new file begins in a TChain.
void EndFile()
Called by TTree::Loop when a file ends in a TChain.
void Execute(TTree *tree, Int_t entry)
Process entry number entry.
void Finish(Option_t *)
Called at the end of TTree::Loop.
void Init(TTree *tree, Option_t *)
Called to initialize/reinitialize the selector.
void Start(Option_t *)
Called at the begining of TTree::Loop.
Inline Functions
void Execute(Text_t* method, Text_t* params)
void Execute(TMethod* method, TObjArray* params)
TClass* Class()
TClass* IsA()
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
TSelector TSelector(TSelector&)
Author: Rene Brun 05/02/97
Last update: 2.22/01 26/04/99 11.51.22 by Rene Brun
Copyright (c) 1995-1999, The ROOT System, All rights reserved. *
ROOT 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 ROOT support, or contact the developers with any questions or problems regarding ROOT.