CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
fftjetcms::PileupGrid2d Class Reference

#include <PileupGrid2d.h>

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

Public Member Functions

bool isPhiDependent () const override
 
double operator() (const double eta, const double phi, const reco::FFTJetPileupSummary &summary) const override
 
 PileupGrid2d (const fftjet::Grid2d< Real > &g, const double rhoFactor)
 
 ~PileupGrid2d () override
 
- Public Member Functions inherited from fftjetcms::AbsPileupCalculator
virtual ~AbsPileupCalculator ()
 

Private Attributes

fftjet::Grid2d< Realgrid_
 
double rhoFactor_
 

Detailed Description

Definition at line 19 of file PileupGrid2d.h.

Constructor & Destructor Documentation

◆ PileupGrid2d()

fftjetcms::PileupGrid2d::PileupGrid2d ( const fftjet::Grid2d< Real > &  g,
const double  rhoFactor 
)
inlineexplicit

Definition at line 21 of file PileupGrid2d.h.

22  : grid_(g), rhoFactor_(rhoFactor) {}

◆ ~PileupGrid2d()

fftjetcms::PileupGrid2d::~PileupGrid2d ( )
inlineoverride

Definition at line 24 of file PileupGrid2d.h.

24 {}

Member Function Documentation

◆ isPhiDependent()

bool fftjetcms::PileupGrid2d::isPhiDependent ( ) const
inlineoverridevirtual

Implements fftjetcms::AbsPileupCalculator.

Definition at line 32 of file PileupGrid2d.h.

32 { return true; }

◆ operator()()

double fftjetcms::PileupGrid2d::operator() ( const double  eta,
const double  phi,
const reco::FFTJetPileupSummary summary 
) const
inlineoverridevirtual

Implements fftjetcms::AbsPileupCalculator.

Definition at line 26 of file PileupGrid2d.h.

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

References PVValHelper::eta, grid_, rhoFactor_, and edmLumisInFiles::summary.

Member Data Documentation

◆ grid_

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

Definition at line 35 of file PileupGrid2d.h.

Referenced by operator()().

◆ rhoFactor_

double fftjetcms::PileupGrid2d::rhoFactor_
private

Definition at line 36 of file PileupGrid2d.h.

Referenced by operator()().

PVValHelper::eta
Definition: PVValidationHelpers.h:69
fftjetcms::PileupGrid2d::rhoFactor_
double rhoFactor_
Definition: PileupGrid2d.h:36
edmLumisInFiles.summary
summary
Definition: edmLumisInFiles.py:39
DDAxes::phi
fftjetcms::PileupGrid2d::grid_
fftjet::Grid2d< Real > grid_
Definition: PileupGrid2d.h:35
g
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
Definition: Activities.doc:4