Fork me on GitHub

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • external/fastjet/contribs/ValenciaPlugin/ValenciaPlugin.cc

    rf319c1d 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 $
    22//
    33// Copyright (c) 2014, Marcel Vos and Ignacio Garcia
     
    6666    // E-to-the-2*beta times sin(polar angle)-to-the-2*gamma
    6767    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());
    6970  }
    7071
     
    7879                   - nz*jet->nz;
    7980
    80     if (jet->E < E)
     81    if (pow(jet->E,2*beta) < pow(E,2*beta))
    8182      dij *= 2 * pow(jet->E,2*beta);
    8283    else
Note: See TracChangeset for help on using the changeset viewer.