Linear Collider Forum

Home » Software Tools » org.lcsim » Failing to run tutorial: Processing Data in Batch Mode using LCSim XML
Re: Now how do I run a driver that I created in the contrib area? [message #1842 is a reply to message #1841] Fri, 21 August 2009 15:05 Go to previous messageGo to previous message
Messages: 25
Registered: February 2007
Location: Fermilab
It looks like I am very close to what I want to do. Now what I really want to do is to run my own driver in batch mode:

I followed the instructions in ver+using+Netbeans

and created my own driver in org.lcim.contrib.HansWenzel.DualReadout

called AnalyzedualCaloHits

How would I proceed getting this driver to work in batch mode. I tried something like that:

cp ~/NetBeansProjects/lcsim-contrib/target/lcsim-contrib-1.2-SN APSHOT.jar .

created the following xml file:
<file>/media/disk-1/wenzel/qgsp/pi-_1GeV_QGSP_BERT_r130.slcio </file>
<driver name="AnalyzedualCaloHits"/>
<driver name="AnalyzedualCaloHits"

but that naive approach only produces:
wenzel@nara:~/batch$ java -jar ./lib/lcsim-1.11.jar ./myJob.xml
---- org.lcsim version ----
application.artifactId: lcsim org.lcsim
application.version: 1.11
application.description: A Java-based reconstruction and analysis system for ILC detectors.
build.user: wenzel Fri Aug 21 11:40:07 CDT 2009
java.version: 1.6
os.arch: i386 Linux
os.version: 2.6.24-24-generic
---- End org.lcsim version ----

Exception in thread "main" java.lang.RuntimeException: The Driver class org.lcsim.contrib.HansWenzel.DualReadout could not be created. Check that the name and package is correct in your xml file.
at org.lcsim.job.JobControlManager.setupDrivers(JobControlManag
at org.lcsim.job.JobControlManager.setup( :221)
at org.lcsim.job.JobControlManager.setup( :199)
at org.lcsim.job.JobControlManager.setup( :175)
at org.lcsim.job.JobControlManager.main( 96)
Caused by: java.lang.ClassNotFoundException: org.lcsim.contrib.HansWenzel.DualReadout
at Method)
at java.lang.ClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
at org.lcsim.job.JobControlManager.setupDrivers(JobControlManag
... 4 more
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:lcsim release
Next Topic:How can I access the current input file from within the lcsim
Goto Forum:

Current Time: Fri Feb 28 22:25:48 Pacific Standard Time 2020
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.1.
Copyright ©2001-2010 FUDforum Bulletin Board Software