Print

Print


Author: [log in to unmask]
Date: Fri Nov  7 15:15:32 2014
New Revision: 1453

Log:
Add missing event builder method which fixes run number not being set in monitoring app.

Modified:
    java/trunk/record-util/src/main/java/org/hps/record/composite/LcioEventAdapter.java

Modified: java/trunk/record-util/src/main/java/org/hps/record/composite/LcioEventAdapter.java
 =============================================================================
--- java/trunk/record-util/src/main/java/org/hps/record/composite/LcioEventAdapter.java	(original)
+++ java/trunk/record-util/src/main/java/org/hps/record/composite/LcioEventAdapter.java	Fri Nov  7 15:15:32 2014
@@ -72,6 +72,10 @@
             if (compositeRecord.getEvioEvent() != null) {
                 // Create the EVIO event.
                 EvioEvent evioEvent = compositeRecord.getEvioEvent();
+                
+                // Pre-read the event in the builder to get non-physics event information.
+                builder.readEvioEvent(evioEvent);
+                
                 // Is this a physics EvioEvent?
                 if (EventConstants.isPhysicsEvent(evioEvent)) {
                     // Use the builder to create the LCIO event.