1 from PhysicsTools.Heppy.analyzers.TreeAnalyzerNumpy
import TreeAnalyzerNumpy
3 def var( tree, varName, type=float ):
4 tree.var(varName, type)
6 def fill( tree, varName, value ):
7 tree.fill( varName, value )
25 fill( tr,
'u1', event.u1)
26 fill( tr,
'u2', event.u2)
27 fill( tr,
'met', event.met.pt())
28 fill( tr,
'sumet', event.met.sumEt())
29 fill( tr,
'zpt', event.diLepton.pt())
30 fill( tr,
'zeta', event.diLepton.eta())
31 fill( tr,
'weight', event.vertexWeight)