CMS 3D CMS Logo

JetMETParametrization Class Reference

----------------------------------------------------------------- More...

#include <CondFormats/JetMETObjects/interface/GlobalFitParameters.h>

Inheritance diagram for JetMETParametrization:

Parametrization

List of all members.

Public Member Functions

double correctedJetEt (TMeasurement *const x, double *const par) const
double correctedTowerEt (TMeasurement *const x, double *const par) const
 JetMETParametrization ()
const char * name () const


Detailed Description

-----------------------------------------------------------------

Definition at line 332 of file GlobalFitParameters.h.


Constructor & Destructor Documentation

JetMETParametrization::JetMETParametrization (  )  [inline]

Definition at line 334 of file GlobalFitParameters.h.

00334 : Parametrization(3,5) {}


Member Function Documentation

double JetMETParametrization::correctedJetEt ( TMeasurement *const   x,
double *const   par 
) const [inline, virtual]

Implements Parametrization.

Definition at line 344 of file GlobalFitParameters.h.

References funct::log(), funct::pow(), and TMeasurement::pt.

00344                                                                        {
00345     double logx = log(x->pt);
00346     if(logx < 0) logx = 0;
00347     if(par[1] < 0) par[1] *= -1;
00348     if(par[2] < 0) par[2] *= -1;
00349     if(par[3] < 0) par[3] *= -1;
00350     if(par[4] < 0) par[4] *= -1;
00351     return (par[0] - par[1]/(pow(logx,par[2]) + par[3]) + par[4]/x->pt) * x->pt;  
00352   }

double JetMETParametrization::correctedTowerEt ( TMeasurement *const   x,
double *const   par 
) const [inline, virtual]

Implements Parametrization.

Definition at line 337 of file GlobalFitParameters.h.

References TMeasurement::EMF, TMeasurement::HadF, and TMeasurement::OutF.

00337                                                                          {
00338     if(par[0] < -10) par[0] =     -10;
00339     if(par[1] <   0) par[1] = -par[1];
00340     if(par[2] <   0) par[2] = -par[2];
00341     return par[1] * x->HadF + par[2] * x->EMF + x->OutF + par[0];
00342   }

const char* JetMETParametrization::name (  )  const [inline, virtual]

Implements Parametrization.

Definition at line 335 of file GlobalFitParameters.h.

00335 { return "JetMETParametrization";}


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:26:03 2009 for CMSSW by  doxygen 1.5.4