Print

Print


Author: [log in to unmask]
Date: Wed Sep 21 13:37:22 2016
New Revision: 4490

Log:
replaced tabs with spaces.  Did I mention that I hate checkstyle violations?  Especially when it deals with whitespaces that nobody looks at?  Well now I have.

Modified:
    java/trunk/ecal-recon/src/main/java/org/hps/recon/ecal/TimeDependentEcalGains2016.java

Modified: java/trunk/ecal-recon/src/main/java/org/hps/recon/ecal/TimeDependentEcalGains2016.java
 =============================================================================
--- java/trunk/ecal-recon/src/main/java/org/hps/recon/ecal/TimeDependentEcalGains2016.java	(original)
+++ java/trunk/ecal-recon/src/main/java/org/hps/recon/ecal/TimeDependentEcalGains2016.java	Wed Sep 21 13:37:22 2016
@@ -46,9 +46,9 @@
     protected double getGain(long timeStamp) {
         for(int i = 0; i<rangeStarts.length; i++){
             if(timeStamp > rangeStarts[i] && timeStamp<rangeEnds[i]){
-            	
-            	//this is from fitting the fee peak position as a function of time.  
-            	double fittedFeePeak = A[i]-B[i]*Math.exp(-(timeStamp-rangeStarts[i])/C[i]);
+                
+                //this is from fitting the fee peak position as a function of time.  
+                double fittedFeePeak = A[i]-B[i]*Math.exp(-(timeStamp-rangeStarts[i])/C[i]);
                 return beamEnergy2016/fittedFeePeak;
             }
         }