#include <CondFormats/JetMETObjects/interface/GlobalFitParameters.h>
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 |
Definition at line 332 of file GlobalFitParameters.h.
JetMETParametrization::JetMETParametrization | ( | ) | [inline] |
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] |