Belle II Software  release-08-01-10
SaveTreeRefiner Class Reference
Inheritance diagram for SaveTreeRefiner:
Collaboration diagram for SaveTreeRefiner:

Public Member Functions

def __init__ (self, name=None, title=None)
 
def refine (self, harvesting_module, crops, tdirectory=None, groupby_part_name=None, groupby_value=None, **kwds)
 
def add_branch (self, output_ttree, part_name, parts)
 
def __get__ (self, harvesting_module, cls=None)
 
def __call__ (self, harvesting_module, crops=None, *args, **kwds)
 
def refine (self, harvesting_module, *args, **kwds)
 

Public Attributes

 name
 cached name for this TTree
 
 title
 cached title for this TTree
 
 refiner_function
 cached copy of the instance's refiner function
 

Static Public Attributes

string default_name = "{module.id}_tree"
 default name for this TTree
 
string default_title = "Tree of {module.id}"
 default title for this TTree
 

Detailed Description

Refiner for ROOT TTrees

Definition at line 817 of file refiners.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  name = None,
  title = None 
)
Constructor for this refiner

Definition at line 825 of file refiners.py.

Member Function Documentation

◆ __call__()

def __call__ (   self,
  harvesting_module,
  crops = None,
args,
**  kwds 
)
inherited
implementation of the function-call of the Refiner instance
     r = Refiner()
     r(harvester) # decoration
     r(harvester, crops, args, keywords) # refinement

Definition at line 55 of file refiners.py.

◆ __get__()

def __get__ (   self,
  harvesting_module,
  cls = None 
)
inherited
Getter of the Refiner instance

Definition at line 42 of file refiners.py.

◆ add_branch()

def add_branch (   self,
  output_ttree,
  part_name,
  parts 
)
Add a TBranch to the TTree

Definition at line 867 of file refiners.py.

◆ refine() [1/2]

def refine (   self,
  harvesting_module,
args,
**  kwds 
)
inherited
Apply the instance's refiner function

Definition at line 69 of file refiners.py.

◆ refine() [2/2]

def refine (   self,
  harvesting_module,
  crops,
  tdirectory = None,
  groupby_part_name = None,
  groupby_value = None,
**  kwds 
)
Process the TTree

Definition at line 836 of file refiners.py.


The documentation for this class was generated from the following file: