Changeset 973b92a in git for external/fastjet/ClusterSequence_Delaunay.cc
- Timestamp:
- Oct 9, 2015, 2:47:38 PM (9 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 8713dee
- Parents:
- f118021
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
external/fastjet/ClusterSequence_Delaunay.cc
rf118021 r973b92a 1 1 //FJSTARTHEADER 2 // $Id: ClusterSequence_Delaunay.cc 3 475 2014-07-29 11:57:23Z salam $2 // $Id: ClusterSequence_Delaunay.cc 3918 2015-07-03 14:19:13Z salam $ 3 3 // 4 4 // Copyright (c) 2005-2014, Matteo Cacciari, Gavin P. Salam and Gregory Soyez … … 70 70 // initialise our DNN structure with the set of points 71 71 auto_ptr<DynamicNearestNeighbours> DNN; 72 bool verbose = false; 72 73 #ifndef DROP_CGAL // strategy = NlnN* are not supported if we drop CGAL... 73 bool verbose = false;74 74 bool ignore_nearest_is_mirror = (_Rparam < twopi); 75 75 if (_strategy == NlnN4pi) { … … 126 126 jet_i = SmallestDijPair.first; 127 127 jet_j = SmallestDijPair.second; 128 if (verbose) cout << "CS_Delaunay found recombination candidate: " << jet_i << " " << jet_j << " " << SmallestDij << endl; // GPS debugging 128 129 // distance is immediately removed regardless of whether or not 129 130 // it is used. … … 139 140 if (!recombine_with_beam) {Valid2 = DNN->Valid(jet_j);} 140 141 else {Valid2 = true;} 141 142 if (verbose) cout << "CS_Delaunay validities i & j: " << DNN->Valid(jet_i) << " " << Valid2 << endl; 142 143 } while ( !DNN->Valid(jet_i) || !Valid2); 143 144 … … 148 149 if (! recombine_with_beam) { 149 150 int nn; // will be index of new jet 151 if (verbose) cout << "CS_Delaunay call _do_ij_recomb: " << jet_i << " " << jet_j << " " << SmallestDij << endl; // GPS debug 150 152 _do_ij_recombination_step(jet_i, jet_j, SmallestDij, nn); 151 153 //OBS // merge the two jets, add new jet, remove old ones … … 169 171 } else { 170 172 // recombine the jet with the beam 173 if (verbose) cout << "CS_Delaunay call _do_iB_recomb: " << jet_i << " " << SmallestDij << endl; // GPS debug 171 174 _do_iB_recombination_step(jet_i, SmallestDij); 172 175 //OBS _add_step_to_history(n+i,_jets[jet_i].cluster_hist_index(),BeamJet,
Note:
See TracChangeset
for help on using the changeset viewer.