14 std::vector<l1t::Jet>*
jets,
17 for (std::vector<l1t::Jet>::const_iterator uncalibjet = uncalibjets->begin(); uncalibjet != uncalibjets->end();
20 const l1t::Jet& corrjets = *uncalibjet;
21 jets->push_back(corrjets);
26 int jetPt = (uncalibjet->hwPt()) * jetLSB;
27 int jetPhi = uncalibjet->hwPhi();
28 int jetEta = uncalibjet->hwEta();
29 int jetQual = uncalibjet->hwQual();
36 unsigned int corjetET = (
int)(
jpt / jetLSB);
38 ROOT::Math::LorentzVector<ROOT::Math::PxPyPzE4D<double> > jetLorentz(0, 0, 0, 0);
41 jets->push_back(corrjets);
void JetCalibration(std::vector< l1t::Jet > *uncalibjets, std::vector< double > jetCalibrationParams, std::vector< l1t::Jet > *jets, std::string jetCalibrationType, double jetLSB)