Commit in hps-java/src/main/java/org/lcsim/hps/recon/tracking on MAIN | |||
MapDAQCellID.java | +21 | -2 | 1.1 -> 1.2 |
read map on detector change
diff -u -r1.1 -r1.2 --- MapDAQCellID.java 28 Mar 2012 16:03:48 -0000 1.1 +++ MapDAQCellID.java 28 Mar 2012 16:13:17 -0000 1.2 @@ -18,7 +18,11 @@
import java.io.IOException; import java.io.StreamTokenizer;
-public class MapDAQCellID {
+import org.lcsim.geometry.Detector; +import org.lcsim.util.Driver; + + +public class MapDAQCellID extends Driver {
// List<cellmap> SVTCellMap = new ArrayList<cellmap>(); // List<cellmap> ECALCellMap = new ArrayList<cellmap>();
@@ -70,4 +74,19 @@
return (SVTCellMap.get(DAQCellID_)); } // System.out.println("this LCSimCellID(=" + LCSimCellID_ + ") was found for DAQCellID(=" + DAQCellID_ + ")");
-}
+ + /** + * + * @param detector + */ + @Override + public void detectorChanged(Detector detector) { + // Call the sub-Driver's detectorChanged methods. + super.detectorChanged(detector); + + // Map sensors to + fillSVTCellMap(); + + } + +}
\ No newline at end of file
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