Print

Print


Hello Alessandra,
 You are incorrect in your assumption that " lcsim/trunk == hps_trunk "
Although it IS true that the lcsim dependencies are bundled in the 
binary HPS jar files, the HPS detector-data directory has no default
executable class. It is just a repository for the detector descriptions.

You CAN create an LCDD file from a compact.xml file using the HPS jar file
by setting the classpath and running the converter class as follows from the
hps trunk directory:

java -cp distribution/target/hps-distribution-3.0.2-SNAPSHOT-bin.jar org.lcsim.geometry.compact.converter.Main

If you are going to be doing this a lot, or need cutting-edge functionality
then you should check out and build the lcsim trunk and follow the instructions 
I pointed to earlier.
I will modify the HPS confluence page to mention this.
Norman 

-----Original Message-----
From: Alessandra Filippi [mailto:[log in to unmask]] 
Sent: Tuesday, April 29, 2014 9:25 AM
To: Graf, Norman A.
Cc: hps-software
Subject: Re: converting compact.xml to lcdd

Hi Norman,
thank you for the fast reply.
Yes, unfortunately I still have an issue. Assuming that lcsim/trunk == hps_trunk upon checkout (am I wrong in this assumption? isn't lcsim coming bundled in the hps_trunk?), after compilation in hps_trunk I can find the file detector-data/target/hps-detector-data-3.0.2-SNAPSHOT.jar
that I suppose is the jar file I need. But when I run it, from hps_trunk, I always get the same unfriendly message:

$ java -jar ./detector-data/target/hps-detector-data-3.0.2-SNAPSHOT.jar
no main manifest attribute, in ./detector-data/target/hps-detector-data-3.0.2-SNAPSHOT.jar

same problem if I rum mvn in the detector-data directory. Am I missing something somewhere?
Also, the confluence page tells that the detectors/taglist.txt file needs ri be modified. Where is it? Is this instruction still valid?
Thanks, cheers
      Alessandra




On Tue, 29 Apr 2014, Graf, Norman A. wrote:

> Hello Alessandra,
> Thanks for pointing this out. I have modified the instructions on confluence to point to:
>
> http://www.lcsim.org/sites/lcsim/lcsim-detector-framework/usage.html
>
> Please let us know if you encounter any difficulties.
> Norman
>
>

########################################################################
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