lcfiplus / LCFIPlus

Flavor tagging code for ILC detectors
https://confluence.slac.stanford.edu/display/ilc/LCFIPlus
GNU General Public License v3.0
6 stars 19 forks source link

Valencia Jet Algorithm updated definition on JetClustering #29

Closed nachogargar closed 6 years ago

nachogargar commented 6 years ago

Valencia jet algorithm as implemented within LCFIPlus in JetFinder.cc is outdated. It has been improved since its first release to the public. It should be changed to the last definition found in the contrib of FastJet http://fastjet.hepforge.org/svn/contrib/contribs/ValenciaPlugin/tags/2.0.0/

Changes in this fork:

1. Adding a missing factor 2 in the inter-particle distance definition -> d_ij = 2min(Ei^2, Ej^2 )(1 - cos(theta_ij))/R^2

2. Particle-to-beam distance modified to -> *d_iB = Ei^2betasin(theta_iB)^2gamma** as found in http://cds.cern.ch/record/2270264/files/CLICdp-Pub-2017-002.pdf

3. Added the second extra parameter gamma to jet configuration (jetCfg.gammaParameter = _gammaParameter;)

I have personally checked that everything works properly after those changes

If someone else wants to do a crosscheck, I might provide the code for that.

jstrube commented 6 years ago

Thanks very much for updating this!