Fork me on GitHub

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • external/fastjet/LazyTiling9SeparateGhosts.cc

    r35cdc46 r10e33bc  
    11//FJSTARTHEADER
    2 // $Id: LazyTiling9SeparateGhosts.cc 3596 2014-08-12 15:27:19Z soyez $
     2// $Id: LazyTiling9SeparateGhosts.cc 3808 2015-02-20 11:24:53Z soyez $
    33//
    44// Copyright (c) 2005-2014, Matteo Cacciari, Gavin P. Salam and Gregory Soyez
     
    298298  for (Tile3 ** near_tile = tile.begin_tiles; near_tile != tile.end_tiles; near_tile++){
    299299    if ((*near_tile)->tagged) continue;
    300     double dist = _distance_to_tile(jet, *near_tile);
     300    // here we are not allowed to miss a tile due to some rounding
     301    // error. We therefore allow for a margin of security
     302    double dist = _distance_to_tile(jet, *near_tile) - tile_edge_security_margin;
    301303    // cout << "      max info looked at tile " << *near_tile - &_tiles[0]
    302304    //   << ", dist = " << dist << " " << (*near_tile)->max_NN_dist
Note: See TracChangeset for help on using the changeset viewer.