lcsim/src/org/lcsim/digisim
diff -u -r1.4 -r1.5
--- RandomNoise.java 28 Jun 2005 21:55:39 -0000 1.4
+++ RandomNoise.java 18 Jan 2006 00:25:52 -0000 1.5
@@ -11,7 +11,7 @@
* class.
*
* @author Guilherme Lima
- * @version $Id: RandomNoise.java,v 1.4 2005/06/28 21:55:39 lima Exp $
+ * @version $Id: RandomNoise.java,v 1.5 2006/01/18 00:25:52 lima Exp $
*/
abstract class RandomNoise extends AbstractCalHitModifier {
@@ -76,7 +76,7 @@
if(temp+noise>0) {
ihit.addContribution( _noiseID, noise, time );
- if(_debug>0) {
+ if(_debug>2) {
System.out.println(" add to existing hit: noise="+noise
+", cellid="+ cellid
+", energy="+ temp
@@ -86,7 +86,7 @@
else {
// we might decide to remove these hits, even without a threshold
ihit.addContribution( _noiseID, noise, time );
- if(_debug>0) {
+ if(_debug>1) {
System.out.println(" Hit became negative with noise!"
+" noise="+noise
+", cellid="+ cellid
@@ -137,7 +137,7 @@
}
// create new hit and add it to hitmap
- if(_debug>1) {
+ if(_debug>2) {
System.out.println("RandomNoise: Creating noise only cells"
+", cellid="+ Long.toHexString(chanid)
+", noise="+ noise+", time="+time);