Configurables

TODO: What are configurables?

class DecayTreeTuple

Allows you to save event data in the NTuple (ROOT TTree) format.

The data is saved using individual TupleTools, which have to be configured separately. These are plugged into DecayTreeTuple using the ToolList attribute.

When executing, the DecayTreeTuple runs all of its TupleTools, each of which saves entries to certain branches.

__init__(name)
Parameters:name (str) – The name to use for this instance of the DecayTreeTuple Algorithm. This also defines the name of the tree inside the ROOT file.
ToolList

A list of str with names of TupleTools. Each of these will later be executed by the DecayTreeTuple

TupleName

The name of the directory that the DecayTreeTuple will save data to in your ROOT file.

Example:
from Configurables import DecayTreeTuple

tuple = DecayTreeTuple('B2KstMuMu')
tuple.Decay = 'B0 -> ^pi+ ^pi-'
tuple.TupleName = 'out'