Fork me on GitHub

Ignore:
Timestamp:
Jun 8, 2018, 3:23:13 PM (6 years ago)
Author:
Michele Selvaggi <michele.selvaggi@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
e57c062
Parents:
001ee95 (diff), 17d0ab8 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of github.com:delphes/delphes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • external/fastjet/contribs/RecursiveTools/SoftDrop.cc

    r001ee95 r667a02a  
    1 // $Id: SoftDrop.cc 686 2014-06-14 03:25:09Z jthaler $
     1// $Id: SoftDrop.cc 1059 2017-09-07 20:48:00Z gsoyez $
    22//
    33// Copyright (c) 2014-, Gregory Soyez, Jesse. Thaler
     
    5757//----------------------------------------------------------------------
    5858double SoftDrop::symmetry_cut_fn(const PseudoJet & p1,
    59                                  const PseudoJet & p2) const{
    60   return _symmetry_cut * pow(p1.squared_distance(p2)/_R0sqr, 0.5*_beta);
     59                                 const PseudoJet & p2,
     60                                 void *optional_R0sqr_ptr) const{
     61  double R0sqr = (optional_R0sqr_ptr == 0) ? _R0sqr : *((double*) optional_R0sqr_ptr);
     62  return _symmetry_cut * pow(squared_geometric_distance(p1,p2)/R0sqr, 0.5*_beta);
    6163}
    6264
Note: See TracChangeset for help on using the changeset viewer.