Skip to content

Commit

Permalink
Merge pull request #34056 from slava77/patch-93
Browse files Browse the repository at this point in the history
initialize all of pat Muon sim info
  • Loading branch information
cmsbuild committed Jun 9, 2021
2 parents a1b3193 + 0ca5060 commit 643b4c9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions DataFormats/PatCandidates/src/Muon.cc
Expand Up @@ -164,11 +164,13 @@ void Muon::initSimInfo() {
simPdgId_ = 0;
simMotherPdgId_ = 0;
simBX_ = 999;
simTpEvent_ = 0;
simProdRho_ = 0.0;
simProdZ_ = 0.0;
simPt_ = 0.0;
simEta_ = 0.0;
simPhi_ = 0.0;
simMatchQuality_ = 0.0;
}

/// reference to Track reconstructed in the tracker only (reimplemented from reco::Muon)
Expand Down

0 comments on commit 643b4c9

Please sign in to comment.