Commit in hps-java/src/main/java/org/lcsim/hps/recon/vertexing on MAIN | |||
BilliorVertex.java | +5 | -4 | 1.5 -> 1.6 |
bug fixes to BilliorVertexer
diff -u -r1.5 -r1.6 --- BilliorVertex.java 12 Mar 2013 23:26:00 -0000 1.5 +++ BilliorVertex.java 9 Apr 2013 22:02:39 -0000 1.6 @@ -17,7 +17,7 @@
import org.lcsim.event.Vertex; /**
- @version $Id: BilliorVertex.java,v 1.5 2013/03/12 23:26:00 mgraham Exp $
+ @version $Id: BilliorVertex.java,v 1.6 2013/04/09 22:02:39 mgraham Exp $
@version Vertex tracks using least-squares method laid out by billior etal used in the HPS Java package. */
@@ -90,7 +90,8 @@
@Override public SymmetricMatrix getCovMatrix() {
- return (SymmetricMatrix) _covVtx;
+ + return new SymmetricMatrix(_covVtx);
} @Override
@@ -98,8 +99,8 @@
Map<String, Double> pars = new HashMap<String, Double>(); pars.put("invMass", _invMass); if (!_fittedMomentum.isEmpty()) {
- Hep3Vector p1Fit = _fittedMomentum.get(1); - Hep3Vector p2Fit = _fittedMomentum.get(2);
+ Hep3Vector p1Fit = _fittedMomentum.get(0); + Hep3Vector p2Fit = _fittedMomentum.get(1);
pars.put("p1X", p1Fit.x()); pars.put("p1Y", p1Fit.y()); pars.put("p1Z", p1Fit.z());
Use REPLY-ALL to reply to list
To unsubscribe from the LCD-CVS list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCD-CVS&A=1