TPySelector Class Reference

#include <TPySelector.h>

Inheritance diagram for TPySelector:

TSelector TObject TObject List of all members.

Public Member Functions

 TPySelector (TTree *=0, PyObject *self=0)
virtual ~TPySelector ()
virtual Int_t Version () const
virtual Int_t GetEntry (Long64_t entry, Int_t getall=0)
virtual Bool_t Notify ()
virtual void Init (TTree *tree)
virtual void Begin (TTree *tree=0)
virtual void SlaveBegin (TTree *tree)
virtual Bool_t Process (Long64_t entry)
virtual void SlaveTerminate ()
virtual void Terminate ()
virtual void Abort (const char *why, EAbort what=kAbortProcess)
 ClassDef (TPySelector, 1)

Public Attributes

TTreefChain

Private Member Functions

void SetupPySelf ()
PyObjectCallSelf (const char *method, PyObject *pyobject=0)

Private Attributes

PyObjectfPySelf

Detailed Description

Definition at line 29 of file TPySelector.h.


Constructor & Destructor Documentation

TPySelector::TPySelector ( TTree = 0,
PyObject self = 0 
)

Definition at line 186 of file TPySelector.cxx.

References fPySelf.

TPySelector::~TPySelector (  )  [virtual]

Definition at line 200 of file TPySelector.cxx.

References fPySelf.


Member Function Documentation

Int_t TPySelector::Version (  )  const [virtual]

Reimplemented from TSelector.

Definition at line 210 of file TPySelector.cxx.

References CallSelf(), and result().

Int_t TPySelector::GetEntry ( Long64_t  entry,
Int_t  getall = 0 
) [virtual]

Reimplemented from TSelector.

Definition at line 225 of file TPySelector.cxx.

References fChain, TTree::GetEntry(), and TTree::GetTree().

Bool_t TPySelector::Notify (  )  [virtual]

Reimplemented from TSelector.

Definition at line 254 of file TPySelector.cxx.

References Abort(), CallSelf(), kTRUE, and result().

void TPySelector::Init ( TTree tree  )  [virtual]

Reimplemented from TSelector.

Definition at line 232 of file TPySelector.cxx.

References Abort(), PyROOT::BindRootObject(), CallSelf(), fChain, and result().

Referenced by SlaveBegin().

void TPySelector::Begin ( TTree tree = 0  )  [virtual]

Reimplemented from TSelector.

Definition at line 271 of file TPySelector.cxx.

References Abort(), CallSelf(), result(), and SetupPySelf().

void TPySelector::SlaveBegin ( TTree tree  )  [virtual]

Reimplemented from TSelector.

Definition at line 287 of file TPySelector.cxx.

References Abort(), PyROOT::BindRootObject(), CallSelf(), Init(), result(), and SetupPySelf().

Bool_t TPySelector::Process ( Long64_t  entry  )  [virtual]

Reimplemented from TSelector.

Definition at line 310 of file TPySelector.cxx.

References Abort(), fPySelf, kFALSE, and result().

void TPySelector::SlaveTerminate (  )  [virtual]

Reimplemented from TSelector.

Definition at line 335 of file TPySelector.cxx.

References Abort(), CallSelf(), and result().

void TPySelector::Terminate (  )  [virtual]

Reimplemented from TSelector.

Definition at line 347 of file TPySelector.cxx.

References Abort(), CallSelf(), and result().

void TPySelector::Abort ( const char *  why,
EAbort  what = kAbortProcess 
) [virtual]

Reimplemented from TSelector.

Definition at line 359 of file TPySelector.cxx.

References TSelector::Abort(), and PyROOT_PyUnicode_AsString.

Referenced by Begin(), CallSelf(), Init(), Notify(), Process(), SlaveBegin(), SlaveTerminate(), and Terminate().

TPySelector::ClassDef ( TPySelector  ,
 
)

void TPySelector::SetupPySelf (  )  [private]

Referenced by Begin(), and SlaveBegin().

PyObject * TPySelector::CallSelf ( const char *  method,
PyObject pyobject = 0 
) [private]

Definition at line 150 of file TPySelector.cxx.

References Abort(), fPySelf, PyROOT::MethodProxy_CheckExact(), and result().

Referenced by Begin(), Init(), Notify(), SlaveBegin(), SlaveTerminate(), Terminate(), and Version().


Member Data Documentation

TTree* TPySelector::fChain

Definition at line 39 of file TPySelector.h.

Referenced by GetEntry(), and Init().

PyObject* TPySelector::fPySelf [private]

Definition at line 68 of file TPySelector.h.

Referenced by CallSelf(), Process(), TPySelector(), and ~TPySelector().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:45:37 2011 for ROOT_528-00b_version by  doxygen 1.5.1