LISTSERV mailing list manager LISTSERV 16.5

Help for HPS-SVN Archives


HPS-SVN Archives

HPS-SVN Archives


HPS-SVN@LISTSERV.SLAC.STANFORD.EDU


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

HPS-SVN Home

HPS-SVN Home

HPS-SVN  May 2015

HPS-SVN May 2015

Subject:

r3024 - /java/trunk/record-util/src/main/java/org/hps/record/epics/EpicsData.java

From:

[log in to unmask]

Reply-To:

Notification of commits to the hps svn repository <[log in to unmask]>

Date:

Tue, 26 May 2015 20:57:55 -0000

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (103 lines)

Author: [log in to unmask]
Date: Tue May 26 13:57:47 2015
New Revision: 3024

Log:
Change back because renaming this collection breaks things.

Modified:
    java/trunk/record-util/src/main/java/org/hps/record/epics/EpicsData.java

Modified: java/trunk/record-util/src/main/java/org/hps/record/epics/EpicsData.java
 =============================================================================
--- java/trunk/record-util/src/main/java/org/hps/record/epics/EpicsData.java	(original)
+++ java/trunk/record-util/src/main/java/org/hps/record/epics/EpicsData.java	Tue May 26 13:57:47 2015
@@ -12,9 +12,8 @@
 import org.lcsim.event.GenericObject;
 
 /**
- * This is an API for reading and writing EPICS scalar data to LCIO events, as well as parsing the scalar data from a
- * CDATA section within an EVIO string data bank. The {@link #read(EventHeader)} method should be used to create one of
- * these objects from an LCIO event.
+ * This is an API for reading and writing EPICS scalar data to LCIO events, as well as parsing the scalar data from a CDATA section within an EVIO
+ * string data bank. The {@link #read(EventHeader)} method should be used to create one of these objects from an LCIO event.
  *
  * @author <a href="mailto:[log in to unmask]">Jeremy McCormick</a>
  */
@@ -23,7 +22,7 @@
     /**
      * Default collection name in the LCSim events.
      */
-    public static final String DEFAULT_COLLECTION_NAME = "EpicsData";
+    public static final String DEFAULT_COLLECTION_NAME = "EpicsScalarData";
 
     /**
      * This map contains the list of EPICS key descriptions from the<br/>
@@ -83,8 +82,8 @@
     /**
      * Get the static list of available EPICs scalar names.
      * <p>
-     * This could be different than the variable names which were actually written into the collection header. For this,
-     * instead use the method {@link #getUsedNames()}.
+     * This could be different than the variable names which were actually written into the collection header. For this, instead use the method
+     * {@link #getUsedNames()}.
      *
      * @return the set of default EPICS scalar names
      */
@@ -105,8 +104,8 @@
      * <p>
      * Read data into this object from an LCIO event using the default collection name.
      * <p>
-     * This is the primary method for users to read the EPICS data into their Drivers in the
-     * {@link org.lcsim.util.Driver#process(EventHeader)} method.
+     * This is the primary method for users to read the EPICS data into their Drivers in the {@link org.lcsim.util.Driver#process(EventHeader)}
+     * method.
      *
      * @param event the LCIO event
      * @return the EPICS data from the event
@@ -142,8 +141,7 @@
     private final Map<String, Double> dataMap = new LinkedHashMap<String, Double>();
 
     /**
-     * Given a list of names, read the double values from the {@link org.lcsim.event.GenericObject} into the data map of
-     * this object.
+     * Given a list of names, read the double values from the {@link org.lcsim.event.GenericObject} into the data map of this object.
      *
      * @param object the <code>GenericObject</code> with the scalar values
      * @param names The list of names.
@@ -176,8 +174,7 @@
     /**
      * Get the list of used EPICS scalars in this object.
      * <p>
-     * This could potentially be different than the list of default names from {@link #getDefaultNames()} but it will
-     * usually be the same.
+     * This could potentially be different than the list of default names from {@link #getDefaultNames()} but it will usually be the same.
      *
      * @return the list of used EPICS scalar names
      */
@@ -236,13 +233,12 @@
     }
 
     /**
-     * Write this object's data into a <code>GenericObject</code> collection in the LCIO event using the default
-     * collection name.
+     * Write this object's data into a <code>GenericObject</code> collection in the LCIO event using the default collection name.
      *
      * @param event the LCIO event
      */
     public void write(final EventHeader event) {
-        write(event, DEFAULT_COLLECTION_NAME);
+        this.write(event, DEFAULT_COLLECTION_NAME);
     }
 
     /**
@@ -253,7 +249,7 @@
      */
     void write(final EventHeader event, final String collectionName) {
         final List<GenericObject> collection = new ArrayList<GenericObject>();
-        final EpicsGenericObject object = toGenericObject();
+        final EpicsGenericObject object = this.toGenericObject();
         collection.add(object);
         final Map<String, String[]> stringMap = new HashMap<String, String[]>();
         stringMap.put(EPICS_SCALAR_NAMES, object.getKeys());

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Search Archives

Search Archives


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

November 2017
August 2017
July 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013

ATOM RSS1 RSS2



LISTSERV.SLAC.STANFORD.EDU

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager

Privacy Notice, Security Notice and Terms of Use