Commit in hps-java/src/main/java/org/lcsim/hps/recon/tracking on MAIN | |||
HPSSVTConstants.java | +15 | -3 | 1.3 -> 1.4 |
Added temp constants
diff -u -r1.3 -r1.4 --- HPSSVTConstants.java 24 Apr 2012 23:32:31 -0000 1.3 +++ HPSSVTConstants.java 29 Apr 2012 16:58:33 -0000 1.4 @@ -3,7 +3,7 @@
/** * * @author Omar Moreno <[log in to unmask]>
- * @version $Id: HPSSVTConstants.java,v 1.3 2012/04/24 23:32:31 meeg Exp $
+ * @version $Id: HPSSVTConstants.java,v 1.4 2012/04/29 16:58:33 omoreno Exp $
* */
@@ -22,12 +22,24 @@
public static final double SAMPLE_INTERVAL = 24.0;
- // MASK used to encode and decode the SVT data
+ // MASKs used to encode and decode the SVT data
public static final int TEMP_MASK = 0xFFFF; public static final int HYBRID_MASK = 0x3; public static final int APV_MASK = 0x7; public static final int CHANNEL_MASK = 0x7F; public static final int FPGA_MASK = 0xFFFF; public static final int SAMPLE_MASK = 0x3FFF;
-
+ + // Temperature constants + public static final double MIN_TEMP = -50; + public static final double MAX_TEMP = 150; + public static final int ADC_TEMP_COUNT = 4096; + public static final double TEMP_K0 = 273.15; + public static final double CONST_A = 0.03448533; + public static final double BETA = 3750.; + public static final double V_MAX = 2.5; + public static final double V_REF = 2.5; + public static final double R_DIV = 10000.; + public static final double TEMP_INC = 0.01; +
}
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