#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 |
const char * | name () const |
ToyStepParametrization () |
Definition at line 398 of file GlobalFitParameters.h.
ToyStepParametrization::ToyStepParametrization | ( | ) | [inline] |
double ToyStepParametrization::correctedJetEt | ( | TMeasurement *const | x, | |
double *const | par | |||
) | const [inline, virtual] |
Implements Parametrization.
Definition at line 425 of file GlobalFitParameters.h.
References TMeasurement::pt.
00425 { 00426 return x->pt; 00427 }
double ToyStepParametrization::correctedTowerEt | ( | TMeasurement *const | x, | |
double *const | par | |||
) | const [inline, virtual] |
Implements Parametrization.
Definition at line 403 of file GlobalFitParameters.h.
References TMeasurement::EMF, TMeasurement::HadF, TMeasurement::OutF, and HLT_VtxMuL3::result.
00403 { 00404 double result = 0.; 00405 double pt = x->HadF; 00406 00407 if(pt < 2.) result = x->EMF+x->OutF+par[ 0]*x->HadF; 00408 else if(pt < 5.) result = x->EMF+x->OutF+par[ 1]*x->HadF; 00409 else if(pt < 10.) result = x->EMF+x->OutF+par[ 2]*x->HadF; 00410 else if(pt < 20.) result = x->EMF+x->OutF+par[ 3]*x->HadF; 00411 else if(pt < 30.) result = x->EMF+x->OutF+par[ 4]*x->HadF; 00412 else if(pt < 40.) result = x->EMF+x->OutF+par[ 5]*x->HadF; 00413 else if(pt < 50.) result = x->EMF+x->OutF+par[ 6]*x->HadF; 00414 else if(pt < 60.) result = x->EMF+x->OutF+par[ 7]*x->HadF; 00415 else if(pt < 70.) result = x->EMF+x->OutF+par[ 8]*x->HadF; 00416 else if(pt < 80.) result = x->EMF+x->OutF+par[ 9]*x->HadF; 00417 else if(pt < 90.) result = x->EMF+x->OutF+par[10]*x->HadF; 00418 else if(pt < 100.) result = x->EMF+x->OutF+par[11]*x->HadF; 00419 else if(pt < 110.) result = x->EMF+x->OutF+par[12]*x->HadF; 00420 else if(pt < 120.) result = x->EMF+x->OutF+par[13]*x->HadF; 00421 else result = x->EMF+x->OutF+par[14]*x->HadF; 00422 return result; 00423 }
const char* ToyStepParametrization::name | ( | ) | const [inline, virtual] |