Skip to content

Commit 743f900

Browse files
author
AdrianoDee
committed
Adding sqrt for energy mass conversion
1 parent 592c219 commit 743f900

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PhysicsTools/PatAlgos/plugins/PATLostTracks.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ void pat::PATLostTracks::produce(edm::StreamID, edm::Event& iEvent, const edm::E
211211
continue;
212212

213213
math::XYZTLorentzVector p4pi(
214-
trk->px(), trk->py(), trk->pz(), trk->momentum().mag2() + 0.01947995518); // pion mass ^2
214+
trk->px(), trk->py(), trk->pz(), sqrt(trk->momentum().mag2() + 0.01947995518)); // pion mass ^2
215215
if ((p4Lambda + p4pi).M() < xiMassCut_) { // selecting potential Xi- candidates
216216
if (trkStatus[trkIndx] == TrkStatus::NOTUSED)
217217
trkStatus[trkIndx] = TrkStatus::VTX;

0 commit comments

Comments
 (0)