CMS 3D CMS Logo

ToyParametrization Class Reference

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

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

Inheritance diagram for ToyParametrization:

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


Detailed Description

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

Definition at line 379 of file GlobalFitParameters.h.


Constructor & Destructor Documentation

ToyParametrization::ToyParametrization (  )  [inline]

Definition at line 381 of file GlobalFitParameters.h.

00381 : Parametrization(1,0) {}


Member Function Documentation

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

Implements Parametrization.

Definition at line 390 of file GlobalFitParameters.h.

References TMeasurement::pt.

00390                                                                        {
00391     return x->pt;  
00392   }

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

Implements Parametrization.

Definition at line 384 of file GlobalFitParameters.h.

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

00384                                                                          {
00385     if( fabs(x->HadF+x->EMF+x->OutF-x->pt)>0.1){
00386       return par[0] * x->HadF + x->EMF + x->OutF;
00387     }
00388   }

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

Implements Parametrization.

Definition at line 382 of file GlobalFitParameters.h.

00382 { return "ToyParametrization";}


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