Changeset b7b836a in git for external/fastjet/contribs/RecursiveTools/SoftDrop.cc
- Timestamp:
- Jun 6, 2018, 10:05:10 PM (6 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 17d0ab8
- Parents:
- 95e6b7a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
external/fastjet/contribs/RecursiveTools/SoftDrop.cc
r95e6b7a rb7b836a 1 // $Id: SoftDrop.cc 686 2014-06-14 03:25:09Z jthaler$1 // $Id: SoftDrop.cc 1059 2017-09-07 20:48:00Z gsoyez $ 2 2 // 3 3 // Copyright (c) 2014-, Gregory Soyez, Jesse. Thaler … … 57 57 //---------------------------------------------------------------------- 58 58 double 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); 61 63 } 62 64
Note:
See TracChangeset
for help on using the changeset viewer.