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
TupleTool
s, which have to be configured separately. These are plugged intoDecayTreeTuple
using theToolList
attribute.When executing, the
DecayTreeTuple
runs all of itsTupleTool
s, 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
ofstr
with names ofTupleTool
s. Each of these will later be executed by theDecayTreeTuple
-
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'
-