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 intoDecayTreeTupleusing theToolListattribute.When executing, the
DecayTreeTupleruns all of itsTupleTools, 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
listofstrwith names ofTupleTools. 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'
-