Definition at line 46 of file JetPartonCorrector.cc.
References funct::abs(), EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, gather_cfg::cout, alignCSCRings::e, PVValHelper::eta, validate-o2o-wbm::f, and JetPartonNamespace::UserPartonMixture::mixt().
Referenced by Types.int32::__nonzero__(), Types.uint32::__nonzero__(), Types.int64::__nonzero__(), Types.uint64::__nonzero__(), Types.double::__nonzero__(), Types.bool::__nonzero__(), Types.string::__nonzero__(), average.Average::average(), Types.string::configValue(), Types.FileInPath::configValue(), Types.int32::insertInto(), Types.uint32::insertInto(), Types.int64::insertInto(), Types.uint64::insertInto(), Types.double::insertInto(), Types.bool::insertInto(), Types.string::insertInto(), Types.FileInPath::insertInto(), Types.vint32::insertInto(), Types.vuint32::insertInto(), Types.vint64::insertInto(), Types.vuint64::insertInto(), Types.vdouble::insertInto(), Types.vbool::insertInto(), and Types.vstring::insertInto().
55 double kjetq =
pq[0] -
pq[1] / (x -
pq[2]);
56 double kjetg =
pg[0] -
pg[1] / (x -
pg[2]);
61 if (
abs(kjetq) > 0.0001)
66 if (
abs(kjetg) > 0.0001)
71 if (
abs(kjetqcd) > 0.0001)
76 cout <<
"[Jets] JetPartonCorrector: Warning! Calibration to b-quark - does not implemented yet. Light quark "
77 "calibration is used instead "
79 if (
abs(kjetq) > 0.0001)
84 UserPartonMixture upm;
85 double f = upm.mixt(x, y);
86 double kjet = (f * kjetq + kjetg) / (f + 1);
87 if (
abs(kjet) > 0.0001)
93 cerr <<
"[Jets] JetPartonCorrector: Error! unknown parametrization type = " <<
type
94 <<
" No correction applied ..." << endl;
Abs< T >::type abs(const T &t)
std::vector< double > pqcd