Fork me on GitHub

Changeset d69dfe4 in git for external/fastjet/internal


Ignore:
Timestamp:
Nov 20, 2013, 9:52:59 PM (11 years ago)
Author:
pavel <pavel@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
fc39685
Parents:
88a9b72
Message:

upgrade fastjet to 3.0.6

Location:
external/fastjet/internal
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • external/fastjet/internal/ClusterSequence_N2.icc

    r88a9b72 rd69dfe4  
    11// -*- C++ -*-
    2 #ifndef __CLUSTERQUENCE_N2_ICC__
    3 #define __CLUSTERQUENCE_N2_ICC__
     2#ifndef __FASTJET_CLUSTERQUENCE_N2_ICC__
     3#define __FASTJET_CLUSTERQUENCE_N2_ICC__
    44#include "fastjet/ClusterSequence.hh"
    55
     
    196196FASTJET_END_NAMESPACE
    197197
    198 #endif // __CLUSTERQUENCE_N2_ICC__
    199 
    200 
     198#endif // __FASTJET_CLUSTERQUENCE_N2_ICC__
     199
     200
  • external/fastjet/internal/IsBase.hh

    r88a9b72 rd69dfe4  
    11//STARTHEADER
    2 // $Id: IsBase.hh 2622 2011-10-05 22:13:23Z soyez $
     2// $Id: IsBase.hh 3071 2013-04-01 12:52:46Z cacciari $
    33//
    44// Copyright (c) 2005-2011, Matteo Cacciari, Gavin P. Salam and Gregory Soyez
     
    163163template<class B, class D>
    164164B* cast_if_derived(D* d){
    165   return IsBaseAndDerived<B,D>::value ? (B*)(d) : NULL;
     165  return IsBaseAndDerived<B,D>::value ? (B*)(d) : 0;
    166166}
    167167
  • external/fastjet/internal/SearchTree.hh

    r88a9b72 rd69dfe4  
    11//STARTHEADER
    2 // $Id: SearchTree.hh 2577 2011-09-13 15:11:38Z salam $
     2// $Id: SearchTree.hh 3107 2013-05-03 15:47:47Z salam $
    33//
    44// Copyright (c) 2005-2011, Matteo Cacciari, Gavin P. Salam and Gregory Soyez
     
    8989  // tracking the depth may have some speed overhead -- so leave it
    9090  // out for the time being...
    91 #ifdef TRACK_DEPTH
     91#ifdef __FASTJET_SEARCHTREE_TRACK_DEPTH
    9292  /// the max depth the tree has ever reached
    9393  inline unsigned int max_depth() const {return _max_depth;};
     
    129129
    130130 
    131 #ifdef TRACK_DEPTH
     131#ifdef __FASTJET_SEARCHTREE_TRACK_DEPTH
    132132  unsigned int _max_depth;
    133133#endif
     
    189189
    190190  // so that it can access out _node object;
    191   friend class SearchTree<T>::const_circulator;
     191  // note: "class U" needed for clang (v1.1 branches/release_27) compilation
     192  template<class U> friend class SearchTree<U>::const_circulator;
    192193  friend class SearchTree<T>;
    193194
     
    340341  //_available_nodes.reserve();
    341342
    342 #ifdef TRACK_DEPTH
     343#ifdef __FASTJET_SEARCHTREE_TRACK_DEPTH
    343344  _max_depth     = 0;
    344345#endif
     
    390391                                         ) {
    391392
    392 #ifdef TRACK_DEPTH
     393#ifdef __FASTJET_SEARCHTREE_TRACK_DEPTH
    393394  // keep track of tree depth for checking things stay reasonable...
    394395  _max_depth = max(depth, _max_depth);
     
    565566  bool             on_left = true; // (init not needed -- but soothes g++4)
    566567  // work through tree until we reach its end
    567 #ifdef TRACK_DEPTH
     568#ifdef __FASTJET_SEARCHTREE_TRACK_DEPTH
    568569  unsigned int depth = 0;
    569570#endif
    570571  while(location != NULL) {
    571 #ifdef TRACK_DEPTH
     572#ifdef __FASTJET_SEARCHTREE_TRACK_DEPTH
    572573    depth++;
    573574#endif
     
    577578    else {location = location->right;}
    578579  }
    579 #ifdef TRACK_DEPTH
     580#ifdef __FASTJET_SEARCHTREE_TRACK_DEPTH
    580581  _max_depth = max(depth, _max_depth);
    581582#endif
Note: See TracChangeset for help on using the changeset viewer.