Author: [log in to unmask]
Date: Sat Jan 3 20:17:47 2015
New Revision: 1858
Log:
Remove deprecated Redrawable interface. HPSJAVA-378
Modified:
java/trunk/monitoring-drivers/src/main/java/org/hps/monitoring/ecal/plots/EcalMonitoringPlots.java
Modified: java/trunk/monitoring-drivers/src/main/java/org/hps/monitoring/ecal/plots/EcalMonitoringPlots.java
=============================================================================
--- java/trunk/monitoring-drivers/src/main/java/org/hps/monitoring/ecal/plots/EcalMonitoringPlots.java (original)
+++ java/trunk/monitoring-drivers/src/main/java/org/hps/monitoring/ecal/plots/EcalMonitoringPlots.java Sat Jan 3 20:17:47 2015
@@ -10,7 +10,6 @@
import org.hps.recon.ecal.HPSEcalCluster;
import org.hps.recon.ecal.ECalUtils;
-import org.hps.util.Redrawable;
import org.lcsim.event.CalorimeterHit;
import org.lcsim.event.EventHeader;
import org.lcsim.geometry.Detector;
@@ -28,7 +27,7 @@
* @author Andrea Celentano
*
*/
-public class EcalMonitoringPlots extends Driver implements Redrawable {
+public class EcalMonitoringPlots extends Driver {
String inputCollection = "EcalReadoutHits";
String clusterCollection = "EcalClusters";
@@ -72,7 +71,6 @@
* @param eventRefreshRate: the refresh rate, defined as number of events to accumulate before
* refreshing the plot
*/
- @Override
public void setEventRefreshRate(int eventRefreshRate) {
this.eventRefreshRate = eventRefreshRate;
}
@@ -188,8 +186,7 @@
plotter.destroyRegions();
}
- @Override
- public void redraw() {
+ void redraw() {
hitCountDrawPlot.reset();
hitCountDrawPlot.add(hitCountFillPlot);
plotter.region(0).clear();
|