Fork me on GitHub

Ignore:
Timestamp:
Oct 9, 2015, 2:47:38 PM (9 years ago)
Author:
Pavel Demin <pavel.demin@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
8713dee
Parents:
f118021
Message:

update FastJet library to 3.1.3 and Nsubjettiness library to 2.2.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • external/fastjet/ClusterSequence_Delaunay.cc

    rf118021 r973b92a  
    11//FJSTARTHEADER
    2 // $Id: ClusterSequence_Delaunay.cc 3475 2014-07-29 11:57:23Z salam $
     2// $Id: ClusterSequence_Delaunay.cc 3918 2015-07-03 14:19:13Z salam $
    33//
    44// Copyright (c) 2005-2014, Matteo Cacciari, Gavin P. Salam and Gregory Soyez
     
    7070  // initialise our DNN structure with the set of points
    7171  auto_ptr<DynamicNearestNeighbours> DNN;
     72  bool verbose = false;
    7273#ifndef DROP_CGAL // strategy = NlnN* are not supported if we drop CGAL...
    73   bool verbose = false;
    7474  bool ignore_nearest_is_mirror = (_Rparam < twopi);
    7575  if (_strategy == NlnN4pi) {
     
    126126      jet_i = SmallestDijPair.first;
    127127      jet_j = SmallestDijPair.second;
     128      if (verbose) cout << "CS_Delaunay found recombination candidate: " << jet_i << " " << jet_j << " " << SmallestDij << endl; // GPS debugging
    128129      // distance is immediately removed regardless of whether or not
    129130      // it is used.
     
    139140      if (!recombine_with_beam) {Valid2 = DNN->Valid(jet_j);}
    140141      else {Valid2 = true;}
    141 
     142      if (verbose) cout << "CS_Delaunay validities i & j: " << DNN->Valid(jet_i) << " " << Valid2 << endl;
    142143    } while ( !DNN->Valid(jet_i) || !Valid2);
    143144
     
    148149    if (! recombine_with_beam) {
    149150      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
    150152      _do_ij_recombination_step(jet_i, jet_j, SmallestDij, nn);
    151153      //OBS // merge the two jets, add new jet, remove old ones
     
    169171    } else {
    170172      // recombine the jet with the beam
     173      if (verbose) cout << "CS_Delaunay call _do_iB_recomb: " << jet_i << " " << SmallestDij << endl; // GPS debug
    171174      _do_iB_recombination_step(jet_i, SmallestDij);
    172175      //OBS _add_step_to_history(n+i,_jets[jet_i].cluster_hist_index(),BeamJet,
Note: See TracChangeset for help on using the changeset viewer.