Skip to content

Commit

Permalink
Move MuonBeamspotConstraintValueMapProducer to RecoMuon/GlobalTrackin…
Browse files Browse the repository at this point in the history
…gTools
  • Loading branch information
namapane committed Sep 14, 2023
1 parent 1f02346 commit 16412d5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion PhysicsTools/NanoAOD/plugins/BuildFile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
<use name="PhysicsTools/PatAlgos"/>
<use name="RecoVertex/VertexPrimitives"/>
<use name="RecoVertex/VertexTools"/>
<use name="RecoVertex/KalmanVertexFit"/>
<library file="*.cc" name="PhysicsToolsNanoAODPlugins">
<flags EDM_PLUGIN="1"/>
</library>
1 change: 1 addition & 0 deletions RecoMuon/GlobalTrackingTools/plugins/BuildFile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<use name="Geometry/Records"/>
<use name="RecoMuon/TrackingTools"/>
<use name="RecoMuon/GlobalTrackingTools"/>
<use name="RecoVertex/KalmanVertexFit"/>
<use name="boost_regex"/>
<flags EDM_PLUGIN="1"/>
</library>
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ class MuonBeamspotConstraintValueMapProducer : public edm::global::EDProducer<>

SingleTrackVertexConstraint::BTFtuple btft = stvc.constrain(ttkb->build(muon.muonBestTrack()), pvs);
if (std::get<0>(btft)) {
// chi2 = std::get<2>(btft)); // should apply a cut, or store this as well?
const reco::Track& trkBS = std::get<1>(btft).track();
pts.push_back(trkBS.pt());
ptErrs.push_back(trkBS.ptError());
Expand Down

0 comments on commit 16412d5

Please sign in to comment.