Hello Jeremy, The following bit of code appears to not work, but I don't understand why. Could you please help? String absorberName = "Absorber_" + id + "_top"; Trap absorberTrap = new Trap( absorberName, trapPdz, trapPtheta, 0, trapPdy1, trapPdx1, trapPdx2, 0, trapPdy2, trapPdx3, trapPdx4, 0); lcdd.add(absorberTrap); Volume vol = new Volume( absorberName+"_vol", absorberTrap, material); The mvn command completes OK, however when trying to run the code I get: java -jar /data/HPSlcsim/GeomConverter/target/GeomConverter-2.8-SNAPSHOT-bin.jar -o lcdd testResources/org/lcsim/geometry/subdetector/HPSMuonCalorimeter2Test.xml detector-v1pt0.lcdd Exception in thread "main" java.lang.Error: Unresolved compilation problems: The method add(Constant) in the type LCDD is not applicable for the arguments (Trap) The constructor Volume(String, Trap, Material) is undefined at org.lcsim.geometry.compact.converter.lcdd.HPSMuonCalorimeter2.addToLCDD(HPSMuonCalorimeter2.java:129) at org.lcsim.geometry.compact.converter.lcdd.LCDDDetector.writeSubdetectors(LCDDDetector.java:199) at org.lcsim.geometry.compact.converter.lcdd.LCDDDetector.writeLCDD(LCDDDetector.java:119) at org.lcsim.geometry.compact.converter.lcdd.Main.convert(Main.java:63) at org.lcsim.geometry.compact.converter.Main.run(Main.java:115) at org.lcsim.geometry.compact.converter.Main.main(Main.java:103) The java and xml files are attached. Best, Maurik ######################################################################## 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