Hi,
Steering files do not go into the Java source directory.
Most steering files belong here in this module:
svn://svn.freehep.org/hps/java/trunk/steering-files/
Specifically, you want to put a "user" steering file in this directory:
svn://svn.freehep.org/hps/java/trunk/steering-files/src/main/resources/org/hps/steering/users
Underneath a directory tagged with your username e.g.
svn://svn.freehep.org/hps/java/trunk/steering-files/src/main/resources/org/hps/steering/users/rafo
Makes sense?
Please move the steering file there from its current location...
(If you don't know how to do that then let me know.)
--Jeremy
-----Original Message-----
From: [log in to unmask] [mailto:[log in to unmask]] On Behalf Of [log in to unmask]
Sent: Tuesday, September 02, 2014 2:59 PM
To: hps-svn
Subject: [SVN java] Added fixed test code and steering file.
Commit in java/trunk/users/src/main/java/org/hps/users/rafo on MAIN
TestSteering.lcsim +20 added 939
test1.java +9 -24 938 -> 939
+29 -24
1 added + 1 modified, total 2 files
Added fixed test code and steering file.
________________________________
java/trunk/users/src/main/java/org/hps/users/rafo
TestSteering.lcsim added at 939
--- java/trunk/users/src/main/java/org/hps/users/rafo/TestSteering.lcsim (rev 0)
+++ java/trunk/users/src/main/java/org/hps/users/rafo/TestSteering.lcsim 2014-09-02 21:58:56 UTC (rev 939)
@@ -0,0 +1,20 @@
+<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="TestDriver"/>
+ <driver name="ClockDriver"/>
+ <driver name="CleanupDriver"/>
+ </execute>
+
+ <drivers>
+ <driver name="TestDriver" type="org.hps.users.rafo.test1">
+ <clusterID>14</clusterID>
+ </driver>
+
+ <driver name="ClockDriver" type="org.hps.readout.ecal.ClockDriver"/>
+
+ <driver name="CleanupDriver" type="org.lcsim.recon.tracking.digitization.sisim.config.ReadoutCleanupDriver">
+ <collectionNames>TrackerHits</collectionNames>
+ </driver>
+ </drivers>
+</lcsim>
+
________________________________
java/trunk/users/src/main/java/org/hps/users/rafo
test1.java 938 -> 939
--- java/trunk/users/src/main/java/org/hps/users/rafo/test1.java 2014-09-02 21:49:38 UTC (rev 938)
+++ java/trunk/users/src/main/java/org/hps/users/rafo/test1.java 2014-09-02 21:58:56 UTC (rev 939)
@@ -1,33 +1,18 @@
package org.hps.users.rafo;
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.LinkedList;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
-
-import org.lcsim.event.CalorimeterHit;
import org.lcsim.event.EventHeader;
-import org.lcsim.geometry.Detector;
-import org.lcsim.geometry.subdetector.HPSEcal3;
-import org.lcsim.geometry.subdetector.HPSEcal3.NeighborMap;
-import org.lcsim.lcio.LCIOConstants;
import org.lcsim.util.Driver;
-public class test1 extends Driver
-{
- int clusterID;
-
- public void process(EventHeader event )
- {
- System.out.println("The cluster ID = " + clusterID);
- }
+public class test1 extends Driver {
+ private int clusterID;
- public void setClusterID( int a_clusterID )
- {
- clusterID = a_clusterID;
- }
+ public void process(EventHeader event) {
+ System.out.println("The cluster ID = " + clusterID);
+ }
+
+ public void setClusterID(int clusterID) {
+ this.clusterID = clusterID;
+ }
}
SVNspam <http://www.bitpusher.com/projects/svnspam/> 0.1
########################################################################
Use REPLY-ALL to reply to list
To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1
|