CMS 3D CMS Logo

MyParametrization Class Reference

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

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

Inheritance diagram for MyParametrization:

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
 MyParametrization ()
const char * name () const


Detailed Description

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

Definition at line 316 of file GlobalFitParameters.h.


Constructor & Destructor Documentation

MyParametrization::MyParametrization (  )  [inline]

Definition at line 318 of file GlobalFitParameters.h.

00318 : Parametrization(3,2) {}


Member Function Documentation

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

Implements Parametrization.

Definition at line 325 of file GlobalFitParameters.h.

References TMeasurement::pt.

00325                                                                        {
00326     return par[0]*x->pt + par[1];
00327   }

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

Implements Parametrization.

Definition at line 321 of file GlobalFitParameters.h.

References TMeasurement::EMF, TMeasurement::HadF, funct::log(), and TMeasurement::pt.

00321                                                                          {
00322     return x->EMF + par[0]*x->HadF + par[1]*log(x->pt) + par[2];
00323   }

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

Implements Parametrization.

Definition at line 319 of file GlobalFitParameters.h.

00319 { return "MyParametrization";}


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