Commit in lcsim/src/org/lcsim/recon/calorimetry on MAIN | |||
ResetCalorimeterHitEnergy.java | +1 | -1 | 1.2 -> 1.3 |
Fixed: did not reset total energy before summing up hit contributions
diff -u -r1.2 -r1.3 --- ResetCalorimeterHitEnergy.java 21 Aug 2012 09:38:45 -0000 1.2 +++ ResetCalorimeterHitEnergy.java 10 Oct 2012 11:41:07 -0000 1.3 @@ -50,7 +50,7 @@
List<SimCalorimeterHit> resetHits = new ArrayList<SimCalorimeterHit>(); for (SimCalorimeterHit caloHit : caloHitCollection) { long id = caloHit.getCellID();
- double totalEnergy = caloHit.getRawEnergy();
+ double totalEnergy = 0.;
double time = caloHit.getTime(); int nMCP = caloHit.getMCParticleCount(); Object[] mcparts = new Object[nMCP];
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