#include <PileupGrid2d.h>
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< Real > | grid_ |
double | rhoFactor_ |
Definition at line 19 of file PileupGrid2d.h.
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.
{}
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); }
fftjet::Grid2d<Real> fftjetcms::PileupGrid2d::grid_ [private] |
Definition at line 39 of file PileupGrid2d.h.
Referenced by operator()().
double fftjetcms::PileupGrid2d::rhoFactor_ [private] |
Definition at line 40 of file PileupGrid2d.h.
Referenced by operator()().