CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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

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) {}
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
fftjet::Grid2d< Real > grid_
Definition: PileupGrid2d.h:35
fftjetcms::PileupGrid2d::~PileupGrid2d ( )
inlineoverride

Definition at line 24 of file PileupGrid2d.h.

24 {}

Member Function Documentation

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

Implements fftjetcms::AbsPileupCalculator.

Definition at line 32 of file PileupGrid2d.h.

32 { return true; }
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.

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

28  {
29  return rhoFactor_ * summary.pileupRho() * grid_.coordValue(eta, phi);
30  }
fftjet::Grid2d< Real > grid_
Definition: PileupGrid2d.h:35

Member Data Documentation

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

Definition at line 35 of file PileupGrid2d.h.

Referenced by operator()().

double fftjetcms::PileupGrid2d::rhoFactor_
private

Definition at line 36 of file PileupGrid2d.h.

Referenced by operator()().