lhcb / starterkit-lessons

Lessons taught at the Starterkit workshops.
https://lhcb.github.io/starterkit-lessons/
Other
35 stars 91 forks source link

Improve the LoKi functors lesson #38

Open vlisovsk opened 7 years ago

vlisovsk commented 7 years ago

From Vanya:

In LoKi functors lesson, one probably can avoid a long paragraph with discussions on VFASPF, there are functors CHI2VX and CHI2VXNDOF that get particle as an argument and evaluate corresponding chi2_VX ( or chi2_VX/ndf). I think it could simplify a bit the material.

Though, we would like to keep the VFASPF discussion since it's widely used in the stripping lines. Just a brief update on the CHI2VX and CHI2VXNDOF should be useful.

(Migrated from first-analysis-steps #231)

alexpearce commented 7 years ago

I agree. Another reason for keeping VFASPF is that it shows how functors can return functors.

apuignav commented 7 years ago

+1