Fork me on GitHub

Ignore:
Timestamp:
Jun 26, 2015, 9:03:11 PM (9 years ago)
Author:
Pavel Demin <pavel.demin@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
1bc87da
Parents:
8497ac6
Message:

update FastJet library to 3.1.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • external/fastjet/ClusterSequence.cc

    r8497ac6 r10e33bc  
    11//FJSTARTHEADER
    2 // $Id: ClusterSequence.cc 3685 2014-09-11 20:15:00Z salam $
     2// $Id: ClusterSequence.cc 3809 2015-02-20 13:05:13Z soyez $
    33//
    44// Copyright (c) 2005-2014, Matteo Cacciari, Gavin P. Salam and Gregory Soyez
     
    372372    _plugin_activated = false;
    373373
     374  } else if (_strategy == N2MHTLazy9AntiKtSeparateGhosts) {
    374375#ifndef __FJCORE__
    375   } else if (_strategy == N2MHTLazy9AntiKtSeparateGhosts) {
    376376    // attempt to use an external tiling routine -- it manipulates
    377377    // the CS history via the plugin mechanism
     
    14711471  assert(local_step == step_number);
    14721472
     1473  // sanity check: make sure the particles have not already been recombined
     1474  //
     1475  // Note that good practice would make this an assert (since this is
     1476  // a serious internal issue). However, we decided to throw an
     1477  // InternalError so that the end user can decide to catch it and
     1478  // retry the clustering with a different strategy.
     1479
    14731480  assert(parent1 >= 0);
     1481  if (_history[parent1].child != Invalid){
     1482    throw InternalError("trying to recomine an object that has previsously been recombined");
     1483  }
    14741484  _history[parent1].child = local_step;
    1475   if (parent2 >= 0) {_history[parent2].child = local_step;}
     1485  if (parent2 >= 0) {
     1486    if (_history[parent2].child != Invalid){
     1487      throw InternalError("trying to recomine an object that has previsously been recombined");
     1488    }
     1489    _history[parent2].child = local_step;
     1490  }
    14761491
    14771492  // get cross-referencing right from PseudoJets
Note: See TracChangeset for help on using the changeset viewer.