Hello Luca,
I would recommend that you update your svn installation, clean and install the build, then
try running using the canonical jar location, viz.:
> svn up
> mvn clean install -DskipTests
> java -cp ~/.m2/repository/org/hps/hps-distribution/3.1-SNAPSHOT/hps-distribution-3.1-SNAPSHOT-bin.jar org.hps.evio.EvioToLcio -x ../../../svn/hps_trunk/steering-files/src/main/resources/org/hps/steering/recon/EngineeringRun2014ECalRecon.lcsim -d HPS-ECalCommissioning -n 1000000 hps_003207.evio.1 -DoutputFile=recon-3207 -R 3207
I just did this and am able to run this command. However, there is a problem with the steering file, since
neither EcalHitPlots nor EcalClusterPlots has a setHide method. Here is the output of the above command:
Mon Dec 15 09:53:41 PST 2014 :: EvioToLcio :: CONFIG :: initializing EVIO to LCIO converter
Mon Dec 15 09:53:41 PST 2014 :: EvioToLcio :: CONFIG :: using steering file ../../../svn/hps_trunk/steering-files/src/main/resources/org/hps/steering/recon/EngineeringRun2014ECalRecon.lcsim
Mon Dec 15 09:53:41 PST 2014 :: EvioToLcio :: CONFIG :: set max events to 1000000
Mon Dec 15 09:53:41 PST 2014 :: EvioToLcio :: CONFIG :: set steering variable: outputFile=recon-3207
Exception in thread "main" java.lang.RuntimeException: Set method was not found: EcalHitPlots.hide
at org.lcsim.job.JobControlManager.setupDrivers(JobControlManager.java:773)
at org.lcsim.job.JobControlManager.setup(JobControlManager.java:562)
at org.lcsim.job.JobControlManager.setup(JobControlManager.java:512)
at org.hps.evio.EvioToLcio.run(EvioToLcio.java:243)
at org.hps.evio.EvioToLcio.main(EvioToLcio.java:99)
However, once I comment out the
<hide>true</hide>
snippets in a local copy of the steering file, I am able to run.
I do encounter a number of IndexOutOfBoundsExceptions along the way,
SEVERE: Error making ECal hits
java.lang.IndexOutOfBoundsException
But that's another issue.
Norman
-----Original Message-----
From: [log in to unmask] [mailto:[log in to unmask]] On Behalf Of Luca Colaneri
Sent: Monday, December 15, 2014 9:00 AM
To: McCormick, Jeremy I.
Cc: hps-software
Subject: error in running reconstruction
Hello Jeremy and everybody,
I'm here with Matt trying to make conversion work on my laptot.
Everything looks fine but I always get the same error: it can find the main class EvioToLcio
this is the command I run:
java -cp $jarfile org.hps.evio.EvioToLcio -x /Users/mac/HPS/hps_trunk/steering-files/src/main/resources/org/hps/steering/recon/EngineeringRun2014ECalRecon.lcsim
-d HPS-ECalCommissioning -n 1000000 hps_003207.evio.1
-DoutputFile=recon-3207 -R 3207
(the $jarfile links to the proper jar, we checked)
Cheers
L.
--
Luca Colaneri
Dipartimento di Fisica
Universita' degli Studi di Roma Tor Vergata Via della Ricerca Scientifica s.n.c. 00133 Roma
+39 06 72594560
########################################################################
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
########################################################################
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
|