Fork me on GitHub

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • external/fastjet/tools/GridMedianBackgroundEstimator.hh

    r554babf r406b698  
    33
    44//FJSTARTHEADER
    5 // $Id: GridMedianBackgroundEstimator.hh 3778 2014-12-24 09:28:09Z salam $
     5// $Id: GridMedianBackgroundEstimator.hh 3610 2014-08-13 09:49:28Z salam $
    66//
    77// Copyright (c) 2005-2014, Matteo Cacciari, Gavin P. Salam and Gregory Soyez
     
    7777class GridMedianBackgroundEstimator : public BackgroundEstimatorBase
    7878#ifdef FASTJET_GMBGE_USEFJGRID
    79                                     , public RectangularGrid
     79                                                                    , public RectangularGrid
    8080#endif
    8181{
     
    9494    _has_particles(false), _enable_rho_m(true) {}
    9595
     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) {}
     109
    96110  //----------------------------------------------------------------
    97111  /// Constructor based on a user's fully specified RectangularGrid
     
    102116      throw Error("attempt to construct GridMedianBackgroundEstimator with uninitialised RectangularGrid");
    103117  }   
    104 
    105   //----------------------------------------------------------------
    106   /// Constructor with the explicit parameters for the underlying
    107   /// RectangularGrid
    108   ///
    109   ///  \param rapmin         the minimum rapidity extent of the grid
    110   ///  \param rapmax         the maximum rapidity extent of the grid
    111   ///  \param drap           the grid spacing in rapidity
    112   ///  \param dphi           the grid spacing in azimuth
    113   ///  \param tile_selector  optional (geometric) selector to specify
    114   ///                        which tiles are good; a tile is good if
    115   ///                        a massless 4-vector at the center of the tile passes
    116   ///                        the selection
    117   GridMedianBackgroundEstimator(double rapmin_in, double rapmax_in, double drap_in, double dphi_in,
    118                                 Selector tile_selector = Selector()) :
    119     RectangularGrid(rapmin_in, rapmax_in, drap_in, dphi_in, tile_selector),
    120     _has_particles(false), _enable_rho_m(true) {}
    121118
    122119#else  // alternative in old framework where we didn't have the rectangular grid
Note: See TracChangeset for help on using the changeset viewer.