CMS 3D CMS Logo

Public Member Functions | Private Attributes

fftjetcms::PileupGrid2d Class Reference

#include <PileupGrid2d.h>

Inheritance diagram for fftjetcms::PileupGrid2d:
fftjetcms::AbsPileupCalculator

List of all members.

Public Member Functions

virtual bool isPhiDependent () const
virtual double operator() (const double eta, const double phi, const reco::FFTJetPileupSummary &summary) const
 PileupGrid2d (const fftjet::Grid2d< Real > &g, const double rhoFactor)
virtual ~PileupGrid2d ()

Private Attributes

fftjet::Grid2d< Realgrid_
double rhoFactor_

Detailed Description

Definition at line 19 of file PileupGrid2d.h.


Constructor & Destructor Documentation

fftjetcms::PileupGrid2d::PileupGrid2d ( const fftjet::Grid2d< Real > &  g,
const double  rhoFactor 
) [inline, explicit]

Definition at line 22 of file PileupGrid2d.h.

            : grid_(g), rhoFactor_(rhoFactor) {}
virtual fftjetcms::PileupGrid2d::~PileupGrid2d ( ) [inline, virtual]

Definition at line 26 of file PileupGrid2d.h.

{}

Member Function Documentation

virtual bool fftjetcms::PileupGrid2d::isPhiDependent ( ) const [inline, virtual]

Implements fftjetcms::AbsPileupCalculator.

Definition at line 36 of file PileupGrid2d.h.

{return true;}
virtual double fftjetcms::PileupGrid2d::operator() ( const double  eta,
const double  phi,
const reco::FFTJetPileupSummary summary 
) const [inline, virtual]

Implements fftjetcms::AbsPileupCalculator.

Definition at line 28 of file PileupGrid2d.h.

References grid_, reco::FFTJetPileupSummary::pileupRho(), and rhoFactor_.

        {
            return rhoFactor_ * summary.pileupRho() *
                   grid_.coordValue(eta, phi);
        }

Member Data Documentation

fftjet::Grid2d<Real> fftjetcms::PileupGrid2d::grid_ [private]

Definition at line 39 of file PileupGrid2d.h.

Referenced by operator()().

Definition at line 40 of file PileupGrid2d.h.

Referenced by operator()().