Changes in external/fastjet/ClusterSequence.cc [273e668:10e33bc] in git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
external/fastjet/ClusterSequence.cc
r273e668 r10e33bc 1 1 //FJSTARTHEADER 2 // $Id: ClusterSequence.cc 3 685 2014-09-11 20:15:00Z salam$2 // $Id: ClusterSequence.cc 3809 2015-02-20 13:05:13Z soyez $ 3 3 // 4 4 // Copyright (c) 2005-2014, Matteo Cacciari, Gavin P. Salam and Gregory Soyez … … 372 372 _plugin_activated = false; 373 373 374 } else if (_strategy == N2MHTLazy9AntiKtSeparateGhosts) { 374 375 #ifndef __FJCORE__ 375 } else if (_strategy == N2MHTLazy9AntiKtSeparateGhosts) {376 376 // attempt to use an external tiling routine -- it manipulates 377 377 // the CS history via the plugin mechanism … … 1471 1471 assert(local_step == step_number); 1472 1472 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 1473 1480 assert(parent1 >= 0); 1481 if (_history[parent1].child != Invalid){ 1482 throw InternalError("trying to recomine an object that has previsously been recombined"); 1483 } 1474 1484 _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 } 1476 1491 1477 1492 // get cross-referencing right from PseudoJets
Note:
See TracChangeset
for help on using the changeset viewer.