Feature for running a common set of functors over all selected particles in decay descriptors through FunTuple
Add a feature in FunTuple such that a given set of LoKi/ThOr functors can be run on all the initial and final state particles, emulating what LoKi_All
did in DecayTreeTuple.
tupleB.addBranches ({
"Kplus" : "[B+ -> ^K+ (J/psi(1S) -> mu+ mu-)]CC",
"Jpsi" : "[B+ -> K+ ^(J/psi(1S) -> mu+ mu-)]CC",
"muplus" : "[B+ -> K+ (J/psi(1S) -> ^mu+ mu-)]CC",
"muminus" : "[B+ -> K+ (J/psi(1S) -> mu+ ^mu-)]CC",
"Bplus" : "[B+ -> K+ J/psi(1S)]CC",
})
LoKi_All=tupleB.addTupleTool("LoKi::Hybrid::TupleTool/LoKi_All")
LoKi_All.Variables = {
'MINIPCHI2' : "MIPCHI2DV(PRIMARY)",
'MINIP' : "MIPDV(PRIMARY)",
'IPCHI2_OWNPV' : "BPVIPCHI2()",
'IP_OWNPV' : "BPVIP()"
}
Edited by Abhijit Mathad