Skip to content

Commit

Permalink
Merge pull request #100 from robervalwalsh/develop
Browse files Browse the repository at this point in the history
Fixed JER correction
  • Loading branch information
robervalwalsh authored Jun 17, 2020
2 parents 0eb8d17 + e042ec0 commit 7cc9a6b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Jet.cc
Original file line number Diff line number Diff line change
Expand Up @@ -213,11 +213,7 @@ void Jet::jerInfo(const JetResolutionInfo & jerinfo, const float & drmin)
void Jet::applyJER(const JetResolutionInfo & jerinfo, const float & drmin)
{
this -> jerInfo(jerinfo,drmin);
float pt = p4_.Pt()*this->jerCorrection();
float eta = p4_.Eta();
float phi = p4_.Phi();
float e = p4_.E();
p4_.SetPtEtaPhiE(pt,eta,phi,e);
p4_ = p4_ *this->jerCorrection();
}


Expand Down

0 comments on commit 7cc9a6b

Please sign in to comment.