Fork me on GitHub

Changeset 406b698 in git for external


Ignore:
Timestamp:
Dec 21, 2014, 11:04:36 AM (10 years ago)
Author:
Pavel Demin <pavel.demin@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
1d1f6a4
Parents:
a740c66
Message:

replace map with vector< GridMedianBackgroundEstimator * >

Location:
external/fastjet
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • external/fastjet/RectangularGrid.hh

    ra740c66 r406b698  
    4242class TilingBase {
    4343public:
     44  virtual ~TilingBase() {}
     45
    4446  /// returns the index of the tile in which p is located, or -1 if p
    4547  /// is outside the tiling region
  • external/fastjet/tools/GridMedianBackgroundEstimator.hh

    ra740c66 r406b698  
    7777class GridMedianBackgroundEstimator : public BackgroundEstimatorBase
    7878#ifdef FASTJET_GMBGE_USEFJGRID
    79                                                                     , RectangularGrid
     79                                                                    , public RectangularGrid
    8080#endif
    8181{
     
    9393    RectangularGrid(ymax, requested_grid_spacing),
    9494    _has_particles(false), _enable_rho_m(true) {}
     95
     96  /// ctor with more control over initialisation
     97  ///  \param rapmin         the minimum rapidity extent of the grid
     98  ///  \param rapmax         the maximum rapidity extent of the grid
     99  ///  \param drap           the grid spacing in rapidity
     100  ///  \param dphi           the grid spacing in azimuth
     101  ///  \param tile_selector  optional (geometric) selector to specify
     102  ///                        which tiles are good; a tile is good if
     103  ///                        a massless 4-vector at the center of the tile passes
     104  ///                        the selection
     105  GridMedianBackgroundEstimator(double rapmin_in, double rapmax_in, double drap_in, double dphi_in,
     106                                Selector tile_selector = Selector()) :
     107    RectangularGrid(rapmin_in, rapmax_in, drap_in, dphi_in, tile_selector),
     108    _has_particles(false), _enable_rho_m(true) {}
    95109
    96110  //----------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.