Commit in lcsim/src/org/lcsim/recon/util on MAIN
PfoSelector.java+1-11.2 -> 1.3
Added missing abs() in calculation of cos(theta)

lcsim/src/org/lcsim/recon/util
PfoSelector.java 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- PfoSelector.java	5 May 2011 17:24:23 -0000	1.2
+++ PfoSelector.java	18 May 2013 14:27:40 -0000	1.3
@@ -171,7 +171,7 @@
 			SpaceVector momentum = new SpaceVector(pfo.getMomentum());
 			double pT = momentum.rxy();
 			double p = momentum.rxyz();
-			double cosTheta = momentum.cosTheta();
+			double cosTheta = Math.abs(momentum.cosTheta());
 			double energy = pfo.getEnergy();
 			eTotalInput += energy;
 			List<Cluster> clusters = pfo.getClusters();
CVSspam 0.2.12


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