Commit in hps-java/src/main on MAIN | |||
java/org/lcsim/hps/monitoring/ConnectionStatus.java | +31 | added 1.1 | |
resources/org/lcsim/hps/steering/MCMonitoring.lcsim | +22 | added 1.1 | |
+53 |
add missing class; add monitoring steering file for old EVIO MC format used for testing
diff -N ConnectionStatus.java --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ ConnectionStatus.java 8 Apr 2012 23:53:40 -0000 1.1 @@ -0,0 +1,31 @@
+package org.lcsim.hps.monitoring; + +final public class ConnectionStatus +{ + static final int DISCONNECTED = 0; + static final int CONNECTED = 1; + static final int CONNECTING = 2; + static final int TIMED_OUT = 3; + static final int SLEEPING = 4; + static final int DISCONNECTING = 5; + static final int ERROR = 6; + static final int CONNECTION_REQUESTED = 7; + static final int DISCONNECT_REQUESTED = 8; + + private static final String[] statuses = { + "DISCONNECTED", + "CONNECTED", + "CONNECTING", + "TIMED OUT", + "SLEEPING", + "DISCONNECTING", + "ERROR", + "CONNECTION REQUESTED", + "DISCONNECT REQUESTED" }; + + static final int NUMBER_STATUSES = statuses.length; + + static String toString(int status) { + return statuses[status].toUpperCase(); + } +}
diff -N MCMonitoring.lcsim --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ MCMonitoring.lcsim 8 Apr 2012 23:53:40 -0000 1.1 @@ -0,0 +1,22 @@
+<lcsim xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" + xs:noNamespaceSchemaLocation="http://www.lcsim.org/schemas/lcsim/1.0/lcsim.xsd"> + <execute> + <driver name="EventMarkerDriver"/> + <driver name="SVTSetupDriver"/> + <driver name="OccupancyPlots"/> + <driver name="EcalMonitoringPlots"/> + </execute> + <drivers> + <driver name="EventMarkerDriver" + type="org.lcsim.job.EventMarkerDriver"> + <eventInterval>1000</eventInterval> + </driver> + <driver name="SVTSetupDriver" + type="org.lcsim.hps.recon.tracking.HPSSVTSensorSetup"> + </driver> + <driver name="OccupancyPlots" type="org.lcsim.hps.monitoring.SensorOccupancyPlotsDriver"> + <eventRefreshRate>1000</eventRefreshRate> + </driver> + <driver name="EcalMonitoringPlots" type="org.lcsim.hps.monitoring.EcalMonitoringPlots"/> + </drivers> +</lcsim>
\ 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