Fork me on GitHub

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • external/fastjet/CircularRange.hh

    r1d208a2 r35cdc46  
    11//FJSTARTHEADER
    2 // $Id: CircularRange.hh 4074 2016-03-08 09:09:25Z soyez $
     2// $Id: CircularRange.hh 3433 2014-07-23 08:17:03Z salam $
    33//
    44// Copyright (c) 2005-2014, Matteo Cacciari, Gavin P. Salam and Gregory Soyez
     
    3535#include "fastjet/RangeDefinition.hh"
    3636#include "fastjet/Error.hh"
    37 #include "fastjet/internal/deprecated.hh"
    3837
    3938// for backwards compatibility: one should now use SelectorCircle,
     
    5150public:
    5251  /// constructor
    53   FASTJET_DEPRECATED_MSG("CircularRange is deprecated since FastJet 3.0. Use SelectorCircle instead")
    5452  CircularRange() {_set_invalid_rapphi();}
    5553 
    5654  /// initialise CircularRange with a jet
    57   FASTJET_DEPRECATED_MSG("CircularRange is deprecated since FastJet 3.0. Use SelectorCircle instead")
    5855  CircularRange(const fastjet::PseudoJet & jet, double distance) {
    5956                _distance = distance;
     
    6360
    6461  /// initialise CircularRange with a (rap,phi) point
    65   FASTJET_DEPRECATED_MSG("CircularRange is deprecated since FastJet 3.0. Use SelectorCircle instead")
    6662  CircularRange(double rap, double phi, double distance) {
    6763                _distance = distance;
     
    7167
    7268  /// initialise CircularRange with just the radius parameter
    73   FASTJET_DEPRECATED_MSG("CircularRange is deprecated since FastJet 3.0. Use SelectorCircle instead")
    7469  CircularRange(double distance) {
    7570                _set_invalid_rapphi();
     
    8176 
    8277  /// return description of range
    83   virtual inline std::string description() const FASTJET_OVERRIDE {
     78  virtual inline std::string description() const {
    8479    std::ostringstream ostr;
    8580    ostr << "CircularRange: within distance "<< _distance << " of given jet or point." ;
     
    8883  /// returns true since this range is localizable (i.e. set_position
    8984  /// does something meaningful)
    90   virtual inline bool is_localizable() const FASTJET_OVERRIDE { return true; }
     85  virtual inline bool is_localizable() const { return true; }
    9186 
    9287  /// return bool according to whether (rap,phi) is in range
    93   virtual inline bool is_in_range(double rap, double phi) const FASTJET_OVERRIDE {
     88  virtual inline bool is_in_range(double rap, double phi) const {
    9489     if (! _rapphi_are_valid()) {
    9590       throw Error("Circular range used without a center having being defined (use set_position())");
     
    10398
    10499  /// return the minimal and maximal rapidity of this range
    105   virtual inline void get_rap_limits(double & rapmin, double & rapmax) const FASTJET_OVERRIDE {
     100  virtual inline void get_rap_limits(double & rapmin, double & rapmax) const {
    106101     rapmin = _rapjet - _distance;
    107102     rapmax = _rapjet + _distance; }
Note: See TracChangeset for help on using the changeset viewer.