Changes in external/fastjet/RectangularGrid.hh [1d208a2:554babf] in git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
external/fastjet/RectangularGrid.hh
r1d208a2 r554babf 3 3 4 4 //FJSTARTHEADER 5 // $Id: RectangularGrid.hh 4047 2016-03-03 13:21:49Z soyez$5 // $Id: RectangularGrid.hh 3771 2014-12-22 21:13:22Z salam $ 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 FASTJET_OVERRIDE{return _ntotal;}120 virtual int n_tiles() const {return _ntotal;} 121 121 122 virtual int n_good_tiles() const FASTJET_OVERRIDE{return _ngood;}122 virtual int n_good_tiles() const {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 FASTJET_OVERRIDE;126 virtual int tile_index(const PseudoJet & p) const; 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 FASTJET_OVERRIDE { 131 return _tile_selector.worker() ? _is_good[itile] : true; 132 } 130 virtual bool tile_is_good(int itile) const {return _tile_selector.worker() ? _is_good[itile] : true;} 133 131 134 132 /// returns the area of tile itile. 135 virtual double tile_area(int /* itile */) const FASTJET_OVERRIDE { 136 return mean_tile_area(); 137 } 133 virtual double tile_area(int /* itile */) const {return mean_tile_area();} 138 134 139 135 /// returns the mean area of tiles. 140 virtual double mean_tile_area() const FASTJET_OVERRIDE{return _dphi*_dy;};136 virtual double mean_tile_area() const {return _dphi*_dy;}; 141 137 142 138 /// returns a textual description of the grid 143 virtual std::string description() const FASTJET_OVERRIDE;139 virtual std::string description() const; 144 140 145 141 /// returns the minimum rapidity extent of the grid … … 153 149 154 150 /// returns true if the grid is in a suitably initialised state 155 virtual bool is_initialised() const FASTJET_OVERRIDE{return _ntotal > 0;}151 virtual bool is_initialised() const {return _ntotal > 0;} 156 152 157 153 private:
Note:
See TracChangeset
for help on using the changeset viewer.