ROOT » TREE » TREEPLAYER » TSelectorEntries

class TSelectorEntries: public TSelector

Function Members (Methods)

public:
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 TList*TSelector::GetInputList() 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()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
voidTObject::operator delete(void* ptr)
voidTObject::operator delete(void* ptr, void* vp)
voidTObject::operator delete[](void* ptr)
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)
TSelectorEntries&operator=(const TSelectorEntries&)
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)
virtual voidTSelector::ResetAbort()
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& 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) const
virtual voidSlaveBegin(TTree* tree)
virtual voidSlaveTerminate()
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_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
TSelectorEntries(const char* selection)
TSelectorEntries(const TSelectorEntries&)
TSelectorEntries(TTree* tree = 0, const char* selection = 0)
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:
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
static TSelector::EAbortTSelector::kAbortFile
static TSelector::EAbortTSelector::kAbortProcess
static TObject::<anonymous>TObject::kBitMask
static TObject::EStatusBitsTObject::kCanDelete
static TObject::EStatusBitsTObject::kCannotPick
static TSelector::EAbortTSelector::kContinue
static TObject::EStatusBitsTObject::kHasUUID
static TObject::EStatusBitsTObject::kInvalidObject
static TObject::<anonymous>TObject::kIsOnHeap
static TObject::EStatusBitsTObject::kIsReferenced
static TObject::EStatusBitsTObject::kMustCleanup
static TObject::EStatusBitsTObject::kNoContextMenu
static TObject::<anonymous>TObject::kNotDeleted
static TObject::EStatusBitsTObject::kObjInCanvas
static TObject::<anonymous>TObject::kOverwrite
static TObject::<anonymous>TObject::kSingleKey
static TObject::<anonymous>TObject::kWriteDelete
static TObject::<anonymous>TObject::kZombie
protected:
TSelector::EAbortTSelector::fAbortAbort status
TList*TSelector::fInputList of objects available during processing
TObject*TSelector::fObject!Current object if processing object (vs. TTree)
TStringTSelector::fOptionOption given to TTree::Process
TSelectorList*TSelector::fOutput!List 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.
TSelectorEntries(TTree* tree = 0, const char* selection = 0)
Int_t Version() const
{ return 2; }
Long64_t GetSelectedRows() const
{ return fSelectedRows; }
void SetOption(const char* option)
{ fOption = option; }
void SetObject(TObject* obj)
{ fObject = obj; }
TList * GetOutputList() const
{ return fOutput; }