Changeset 45e58be in git for external/fastjet/contribs/ValenciaPlugin/ValenciaPlugin.cc
- Timestamp:
- Feb 12, 2019, 8:56:12 PM (6 years ago)
- Branches:
- ImprovedOutputFile, Timing, llp, master
- Children:
- 341014c
- Parents:
- 769f65b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
external/fastjet/contribs/ValenciaPlugin/ValenciaPlugin.cc
r769f65b r45e58be 1 // $Id: ValenciaPlugin.cc 776 2015-02-24 17:53:27Z vos $1 // $Id: ValenciaPlugin.cc 1209 2018-12-05 16:18:01Z vos $ 2 2 // 3 3 // Copyright (c) 2014, Marcel Vos and Ignacio Garcia … … 66 66 // E-to-the-2*beta times sin(polar angle)-to-the-2*gamma 67 67 if (E==0. || jet.perp()==0.) diB=0.; 68 diB = pow(E,2*beta) * pow(jet.perp()/E,2*info->gamma()); 68 // modified diB in release 2.0.1 69 diB = pow(E,2*beta) * pow(jet.perp()/sqrt(jet.perp2()+jet.pz()*jet.pz()),2*info->gamma()); 69 70 } 70 71 … … 78 79 - nz*jet->nz; 79 80 80 if ( jet->E < E)81 if (pow(jet->E,2*beta) < pow(E,2*beta)) 81 82 dij *= 2 * pow(jet->E,2*beta); 82 83 else
Note:
See TracChangeset
for help on using the changeset viewer.