Print

Print


Commit in java/branches/ecal-recon_HPSJAVA-93/src/main/java/org/hps/recon/ecal on MAIN
EcalRawConverterDriver.java+7-5553 -> 554
EcalRawConverterDriver now uses the new conditions, tested

java/branches/ecal-recon_HPSJAVA-93/src/main/java/org/hps/recon/ecal
EcalRawConverterDriver.java 553 -> 554
--- java/branches/ecal-recon_HPSJAVA-93/src/main/java/org/hps/recon/ecal/EcalRawConverterDriver.java	2014-05-06 13:21:53 UTC (rev 553)
+++ java/branches/ecal-recon_HPSJAVA-93/src/main/java/org/hps/recon/ecal/EcalRawConverterDriver.java	2014-05-06 14:07:57 UTC (rev 554)
@@ -111,10 +111,12 @@
         
         // ID helper.
         helper = detector.getSubdetector("Ecal").getDetectorElement().getIdentifierHelper();
+        
+        System.out.println("You are now using the database conditions for EcalRawConverterDriver.");
     }
     /**
-     * Returns false if the channel is a good one, true if it is a bad one
-     * argument is CalorimeterHit
+     * @return false if the channel is a good one, true if it is a bad one
+     * @param CalorimeterHit
      */
     public static boolean isBadCrystal(CalorimeterHit hit) {
     	
@@ -125,8 +127,8 @@
     }
     
     /**
-     * Returns false if the FADC is a good one, true if it is a bad one
-     * argument is CalorimeterHit
+     * @return false if the ADC is a good one, true if it is a bad one
+     * @param CalorimeterHit
      */
     public boolean isBadFADC(CalorimeterHit hit) {    	
         return (getCrate(hit.getCellID()) == 1 && getSlot(hit.getCellID()) == 3);
@@ -261,7 +263,7 @@
     }
     
     // Return crate number from cellID
-    public int getCrate(long cellID) {
+    private int getCrate(long cellID) {
         
         EcalConditionsUtil util = new EcalConditionsUtil();
 
SVNspam 0.1