Commit in hps-java/src/main on MAIN
java/org/lcsim/hps/recon/ecal/HPSEcalFADCReadoutDriver.java+7-31.5 -> 1.6
resources/org/lcsim/hps/steering/ecal_fadc_bkgd.lcsim+2-21.7 -> 1.8
+9-5
2 modified files
Corrected FADC delay to 128 ns and made it configurable; set FADC threshold to final value

hps-java/src/main/java/org/lcsim/hps/recon/ecal
HPSEcalFADCReadoutDriver.java 1.5 -> 1.6
diff -u -r1.5 -r1.6
--- HPSEcalFADCReadoutDriver.java	11 Jan 2012 18:45:13 -0000	1.5
+++ HPSEcalFADCReadoutDriver.java	19 Jan 2012 17:07:14 -0000	1.6
@@ -18,7 +18,7 @@
  * Simulates time evolution of preamp output pulse.
  *
  * @author Sho Uemura <[log in to unmask]>
- * @version $Id: HPSEcalFADCReadoutDriver.java,v 1.5 2012/01/11 18:45:13 meeg Exp $
+ * @version $Id: HPSEcalFADCReadoutDriver.java,v 1.6 2012/01/19 17:07:14 meeg Exp $
  */
 public class HPSEcalFADCReadoutDriver extends HPSEcalReadoutDriver<RawCalorimeterHit> {
 	//buffer for deposited energy
@@ -35,7 +35,7 @@
 	//shaper time constant in ns; negative values generate square pulses of the given width
 	double t0 = 18.0;
 	//delay (number of readout periods) between start of summing window and output of hit to clusterer
-	int delay0 = 128;
+	int delay0 = 64;
 	HPSEcalConverter converter = null;
 	//output buffer for hits
 	LinkedList<HPSFADCCalorimeterHit> buffer = new LinkedList<HPSFADCCalorimeterHit>();
@@ -66,6 +66,10 @@
 		this.t0 = t0;
 	}
 
+	public void setDelay0(int delay0) {
+		this.delay0 = delay0;
+	}
+
 	public void setBufferLength(int bufferLength) {
 		this.bufferLength = bufferLength;
 		eDepMap = new HashMap<Long, RingBuffer>();
@@ -142,4 +146,4 @@
 				return 0.0;
 		}
 	}
-}
\ No newline at end of file
+}

hps-java/src/main/resources/org/lcsim/hps/steering
ecal_fadc_bkgd.lcsim 1.7 -> 1.8
diff -u -r1.7 -r1.8
--- ecal_fadc_bkgd.lcsim	12 Jan 2012 00:26:16 -0000	1.7
+++ ecal_fadc_bkgd.lcsim	19 Jan 2012 17:07:15 -0000	1.8
@@ -1,7 +1,7 @@
 <!--
     Example LCSim steering file to run simple HPS ECal clustering and analysis.
     @author Sho Uemura <[log in to unmask]>
-    @version $Id: ecal_fadc_bkgd.lcsim,v 1.7 2012/01/12 00:26:16 meeg Exp $
+    @version $Id: ecal_fadc_bkgd.lcsim,v 1.8 2012/01/19 17:07:15 meeg Exp $
 -->
 <lcsim xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
        xs:noNamespaceSchemaLocation="http://www.lcsim.org/schemas/lcsim/1.0/lcsim.xsd">
@@ -41,7 +41,7 @@
 			<ecalName>Ecal</ecalName>
 			<ecalCollectionName>EcalHits</ecalCollectionName>
 			<ecalRawCollectionName>EcalRawHits</ecalRawCollectionName>
-			<threshold>0.005</threshold>
+			<threshold>0.05</threshold>
 			<scale>0.08</scale>
 		</driver>
 		<driver name="EcalConverter"
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