Skip to content

Commit

Permalink
Merge pull request #2373 from rappoccio/rappoccio_JEC_L1_Accessors
Browse files Browse the repository at this point in the history
AT updates -- Adding accessors for setting either pt or e in correctors
  • Loading branch information
ktf committed Feb 12, 2014
2 parents d8f044d + a89d1a1 commit 6d49765
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions JetMETCorrections/Algorithms/src/L1FastjetCorrector.cc
Expand Up @@ -69,6 +69,7 @@ double L1FastjetCorrector::correction(const reco::Jet& fJet,
double result(1.0);
mCorrector->setJetEta(fJet.eta());
mCorrector->setJetPt(fJet.pt());
mCorrector->setJetE(fJet.energy());
mCorrector->setJetA(fJet.jetArea());
mCorrector->setRho(*rho);
result = mCorrector->getCorrection();
Expand Down
1 change: 1 addition & 0 deletions JetMETCorrections/Algorithms/src/L1OffsetCorrector.cc
Expand Up @@ -73,6 +73,7 @@ double L1OffsetCorrector::correction(const reco::Jet& fJet,
if (NPV > 0) {
mCorrector->setJetEta(fJet.eta());
mCorrector->setJetPt(fJet.pt());
mCorrector->setJetE(fJet.energy());
mCorrector->setNPV(NPV);
result = mCorrector->getCorrection();
}
Expand Down

0 comments on commit 6d49765

Please sign in to comment.