You need to build detector-data and hps-distribution so your new detectors appear in hps-java. Easiest way is to do a "mvn clean install" in your trunk. Explanation: SLIC only uses the LCDD file, it doesn't care about the detector.properties or anything. hps-java doesn't use the LCDD file, it needs the information in the detector.properties to set up conditions. On Tue, 9 Sep 2014, Alessandra Filippi wrote: > Hi Pelle, all, > >> did you verify it works with an old geometry, like the original v8 or e.g. >> v7? Also make sure you are uptodate on all the packages. I just tried and >> things work fine for v8. > > yes, version v8 works fine > >> Did you rename the compact or does it have the same name? The name inside >> the detector.properties need to be the same as in the compact. This is >> what?s in test run v8 for me: >> >> name: HPS-TestRun-v8 >> ConditionsReader: org.hps.conditions.deprecated.TestRunConditionsReader > > yes. I created some new geometries, replicating the v8 folder. I created one > folder each, changing the name in compact.xml (+some alignment mess), > detector.properties, I created the lcdd file with the new name, and also > the taglist.txt file in the detector_data folder (right place?) where I > listed the names (enough?) of the new geometries, one per line. > Should I do something more/else? > slic is happy with the new geometry, reads the data and produced slcio files. > When I run java reconstruction, I get this error: > > .... > Opened input file > /nfs/slac/g/hps3/users/afilippi/hps/SCRATCH/OUT_11101/egs_5.5gev_0.016x0_500mb_90na_all_09.slcio > Exception in thread "main" java.lang.RuntimeException: > org.lcsim.conditions.ConditionsManager$ConditionsNotFoundException: > Conditions not found for detector HPS-TestAli-v8_11101 > at org.lcsim.event.base.BaseLCSimEvent.<init>(BaseLCSimEvent.java:54) > at org.lcsim.lcio.LCIOEvent.<init>(LCIOEvent.java:62) > at org.lcsim.lcio.LCIOEvent.<init>(LCIOEvent.java:25) > at org.lcsim.lcio.LCIOReader.read(LCIOReader.java:59) > at org.hps.users.meeg.FilterMCBunches.main(FilterMCBunches.java:173) > Caused by: > org.lcsim.conditions.ConditionsManager$ConditionsNotFoundException: C > onditions not found for detector HPS-TestAli-v8_11101 > at > org.lcsim.conditions.ConditionsReader.create(ConditionsReader.java:19 > 7) > at > org.lcsim.conditions.ConditionsReader.create(ConditionsReader.java:21 > 4) > at > org.lcsim.conditions.ConditionsManagerImplementation.setDetector(Cond > itionsManagerImplementation.java:41) > at org.lcsim.event.base.BaseLCSimEvent.<init>(BaseLCSimEvent.java:52) > ... 4 more > No input files in XML file. > > > ...what am I doing wrong? I feel I just miss something stupid. > thanks, cheers > Alessandra > > > > > >> /Pelle >> >> >> On Sep 7, 2014, at 5:50 AM, Alessandra Filippi <[log in to unmask]> wrote: >> >> Hi all, >> sorry for the silly question, probably I'm missing something >> very >> trivial: I'm trying to reconstruct mc events with hand made >> geometries, >> and it looks like the reconstruction is not able to find anymore >> the >> TestRunConditionsReader I provide in the detector.properties >> file (which >> is a copy of geometry v8). Was it moved? where is it now? >> thanks for any help, >> cheers >> Alessandra >> >> ######################################################################## >> 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 >> >> >> > > ######################################################################## > 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