Skip to content

Commit

Permalink
Merge pull request #29432 from slava77/patch-68
Browse files Browse the repository at this point in the history
add missing initializations in pat::Muon (minimal catch up to #28212 and #29324)
  • Loading branch information
cmsbuild committed Apr 9, 2020
2 parents 977cf44 + 8210d10 commit 5b8ea24
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions DataFormats/PatCandidates/src/Muon.cc
Expand Up @@ -95,7 +95,9 @@ Muon::Muon(const edm::RefToBase<reco::Muon>& aMuonRef)
jetPtRel_(0),
mvaValue_(0),
lowptMvaValue_(0),
softMvaValue_(0) {
softMvaValue_(0),
inverseBeta_(0),
inverseBetaErr_(0) {
initImpactParameters();
initSimInfo();
}
Expand Down Expand Up @@ -124,7 +126,9 @@ Muon::Muon(const edm::Ptr<reco::Muon>& aMuonRef)
jetPtRel_(0),
mvaValue_(0),
lowptMvaValue_(0),
softMvaValue_(0) {
softMvaValue_(0),
inverseBeta_(0),
inverseBetaErr_(0) {
initImpactParameters();
initSimInfo();
}
Expand Down

0 comments on commit 5b8ea24

Please sign in to comment.