Commit in hps-java/src/main/java/org/lcsim/hps/users/phansson on MAIN | |||
GlobalParameter.java | +9 | 1.2 -> 1.3 |
New set method for ders.
diff -u -r1.2 -r1.3 --- GlobalParameter.java 31 Aug 2012 02:49:46 -0000 1.2 +++ GlobalParameter.java 7 Nov 2012 20:56:28 -0000 1.3 @@ -5,6 +5,8 @@
package org.lcsim.hps.users.phansson; import hep.physics.matrix.BasicMatrix;
+import hep.physics.vec.Hep3Matrix; +import hep.physics.vec.Hep3Vector;
/** *
@@ -57,6 +59,13 @@
_dfdp = mat; }
+ public void setDfDp(Hep3Vector v) { + _dfdp = new BasicMatrix(3,1); + _dfdp.setElement(0, 0, v.x()); + _dfdp.setElement(1, 0, v.y()); + _dfdp.setElement(2, 0, v.z()); + } +
public boolean active() { return _active; }
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