Changes in external/fastjet/RectangularGrid.hh [554babf:1d208a2] in git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
external/fastjet/RectangularGrid.hh
r554babf r1d208a2 3 3 4 4 //FJSTARTHEADER 5 // $Id: RectangularGrid.hh 3771 2014-12-22 21:13:22Z salam$5 // $Id: RectangularGrid.hh 4047 2016-03-03 13:21:49Z soyez $ 6 6 // 7 7 // Copyright (c) 2005-2014, Matteo Cacciari, Gavin P. Salam and Gregory Soyez … … 118 118 RectangularGrid(); 119 119 120 virtual int n_tiles() const {return _ntotal;}120 virtual int n_tiles() const FASTJET_OVERRIDE {return _ntotal;} 121 121 122 virtual int n_good_tiles() const {return _ngood;}122 virtual int n_good_tiles() const FASTJET_OVERRIDE {return _ngood;} 123 123 124 124 // this was being kept inline, but it seems to make little 125 125 // difference whether it is or not (at least on Gavin's mac) 126 virtual int tile_index(const PseudoJet & p) const ;126 virtual int tile_index(const PseudoJet & p) const FASTJET_OVERRIDE; 127 127 128 128 /// returns whether a given tile is good 129 129 // tested in "issue" 2014-08-08-testing-rect-grid 130 virtual bool tile_is_good(int itile) const {return _tile_selector.worker() ? _is_good[itile] : true;} 130 virtual bool tile_is_good(int itile) const FASTJET_OVERRIDE { 131 return _tile_selector.worker() ? _is_good[itile] : true; 132 } 131 133 132 134 /// returns the area of tile itile. 133 virtual double tile_area(int /* itile */) const {return mean_tile_area();} 135 virtual double tile_area(int /* itile */) const FASTJET_OVERRIDE { 136 return mean_tile_area(); 137 } 134 138 135 139 /// returns the mean area of tiles. 136 virtual double mean_tile_area() const {return _dphi*_dy;};140 virtual double mean_tile_area() const FASTJET_OVERRIDE {return _dphi*_dy;}; 137 141 138 142 /// returns a textual description of the grid 139 virtual std::string description() const ;143 virtual std::string description() const FASTJET_OVERRIDE; 140 144 141 145 /// returns the minimum rapidity extent of the grid … … 149 153 150 154 /// returns true if the grid is in a suitably initialised state 151 virtual bool is_initialised() const {return _ntotal > 0;}155 virtual bool is_initialised() const FASTJET_OVERRIDE {return _ntotal > 0;} 152 156 153 157 private:
Note:
See TracChangeset
for help on using the changeset viewer.