RestFrames  v1.0.1
RestFrames HEP Event Analysis Software Library
example_Wlnu.C File Reference

Detailed Description

W boson decaying to a lepton and neutrino.

Christopher Rogan (croga.nosp@m.n@ce.nosp@m.rn.ch)
2015 March

W to l nu example

The example can be found in the RestFrames package at


You can run the compiled example executable:


or run the example from the ROOT interactive command line:

root [0] .x examples/example_Wlnu.C++

For the latter, if RestFrames is not installed in an area in the default PATH then you must first load the RestFrames environmental variables with source setup_RestFrames.(c)sh.

Decay tree for a W boson decaying to a lepton and neutrino
Decay tree

Definition in file example_Wlnu.C.