test
CMS 3D CMS Logo

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

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 ()
 
- 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 22 of file PileupGrid2d.h.

24  : 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:39
virtual fftjetcms::PileupGrid2d::~PileupGrid2d ( )
inlinevirtual

Definition at line 26 of file PileupGrid2d.h.

26 {}

Member Function Documentation

virtual bool fftjetcms::PileupGrid2d::isPhiDependent ( ) const
inlinevirtual

Implements fftjetcms::AbsPileupCalculator.

Definition at line 36 of file PileupGrid2d.h.

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

Implements fftjetcms::AbsPileupCalculator.

Definition at line 28 of file PileupGrid2d.h.

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

31  {
32  return rhoFactor_ * summary.pileupRho() *
33  grid_.coordValue(eta, phi);
34  }
T eta() const
fftjet::Grid2d< Real > grid_
Definition: PileupGrid2d.h:39
Definition: DDAxes.h:10

Member Data Documentation

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()().