class TSelectorEntries: public TSelector

Function Members (Methods)

public:
TSelectorEntries(const char* selection)
TSelectorEntries(TTree* tree = 0, const char* selection = 0)
virtual~TSelectorEntries()
virtual voidTSelector::Abort(const char* why, TSelector::EAbort what = kAbortProcess)
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidBegin(TTree* tree)
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual TSelector::EAbortTSelector::GetAbort() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual Int_tGetEntry(Long64_t entry, Int_t getall = 0)
virtual const char*TObject::GetIconName() const
virtual const char*TObject::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual const char*TSelector::GetOption() const
virtual TList*GetOutputList() const
virtual Long64_tGetSelectedRows() const
static TSelector*TSelector::GetSelector(const char* filename)
virtual Long64_tTSelector::GetStatus() const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidInit(TTree* tree)
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
static Bool_tTSelector::IsStandardDraw(const char* selec)
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tNotify()
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
TObject&TObject::operator=(const TObject& rhs)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTObject::Print(Option_t* option = "") const
virtual Bool_tProcess(Long64_t entry)
virtual Bool_tTSelector::ProcessCut(Long64_t)
virtual voidTSelector::ProcessFill(Long64_t)
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
virtual voidTSelector::SetInputList(TList* input)
virtual voidSetObject(TObject* obj)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidSetOption(const char* option)
virtual voidSetSelection(const char* selection)
virtual voidTSelector::SetStatus(Long64_t status)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidSlaveBegin(TTree* tree)
virtual voidSlaveTerminate()
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
virtual voidTerminate()
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual Int_tVersion() const
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

public:
enum TSelector::EAbort { kContinue
kAbortProcess
kAbortFile
};
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
public:
TTree*fChain! pointer to the analyzed TTree or TChain
TTreeFormula*fSelectPointer to selection formula
Bool_tfSelectMultipletrue if selection has a variable index
Long64_tfSelectedRowsNumber of selected entries
protected:
TSelector::EAbortTSelector::fAbortabort status
TList*TSelector::fInputlist of objects available during processing
TObject*TSelector::fObjectcurrent object if processing object (vs. TTree)
TStringTSelector::fOptionoption given to TTree::Process
TSelectorList*TSelector::fOutputlist of objects created during processing
Long64_tTSelector::fStatusselector status

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TSelectorEntries(TTree* tree = 0, const char* selection = 0)
 Default, constructor.
TSelectorEntries(const char* selection)
 Constructor.
~TSelectorEntries()
 Destructor.
void Begin(TTree* tree)
 The Begin() function is called at the start of the query.
 When running with PROOF Begin() is only called on the client.
 The tree argument is deprecated (on PROOF 0 is passed).
void SlaveBegin(TTree* tree)
 The SlaveBegin() function is called after the Begin() function.
 When running with PROOF SlaveBegin() is called on each slave server.
 The tree argument is deprecated (on PROOF 0 is passed).
Int_t GetEntry(Long64_t entry, Int_t getall = 0)
read entry
void Init(TTree* tree)
 The Init() function is called when the selector needs to initialize
 a new tree or chain. Typically here the branch addresses and branch
 pointers of the tree will be set.
 It is normaly not necessary to make changes to the generated
 code, but the routine can be extended by the user if needed.
 Init() will be called many times when running on PROOF
 (once per file to be processed).
Bool_t Notify()
 This function is called at the first entry of a new tree in a chain.
Bool_t Process(Long64_t entry)
 The Process() function is called for each entry in the tree (or possibly
 keyed object in the case of PROOF) to be processed. The entry argument
 specifies which entry in the currently loaded tree is to be processed.
 It can be passed to either TSelectorEntries::GetEntry() or TBranch::GetEntry()
 to read either all or the required parts of the data. When processing
 keyed objects with PROOF, the object is already loaded and is available
 via the fObject pointer.

 This function should contain the "body" of the analysis. It can contain
 simple or elaborate selection criteria, run algorithms on the data
 of the event and typically fill histograms.

 The processing can be stopped by calling Abort().

 Use fStatus to set the return value of TTree::Process().

 The return value is currently not used.
void SetSelection(const char* selection)
set the selection expression
void SlaveTerminate()
 The SlaveTerminate() function is called after all entries or objects
 have been processed. When running with PROOF SlaveTerminate() is called
 on each slave server.
void Terminate()
 The Terminate() function is the last function to be called during
 a query. It always runs on the client, it can be used to present
 the results graphically or save the results to file.
Int_t Version()
{ return 2; }
Long64_t GetSelectedRows()
{ return fSelectedRows; }
void SetOption(const char* option)
{ fOption = option; }
void SetObject(TObject* obj)
{ fObject = obj; }
TList * GetOutputList()
{ return fOutput; }

Author: Philippe Canal 09/06/2006
Last change: root/treeplayer:$Id: TSelectorEntries.h 20882 2007-11-19 11:31:26Z rdm $
Last generated: 2008-06-25 08:52
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *

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.