it works! (so far...) thanks! cheers Alessandra On Tue, 1 Aug 2017, Bradley T Yale wrote: > > Sorry, I forgot to mention: > > > When doing anything with Layer0 geometry, you have to set run=1000000. > > > > __________________________________________________________________________________________ > From: [log in to unmask] <[log in to unmask]> on behalf of > Alessandra Filippi <[log in to unmask]> > Sent: Tuesday, August 1, 2017 11:00:00 AM > To: [log in to unmask] > Subject: mc generation with layer0 geometry > Hi all, > I have some problems getting some mc data to start setting up fixes in the > alignment code to include layer0. > I am running slic to produce a sample of electron tracks (particle gun) > with the following command: > > > slic -g $GEO.lcdd -m electronBeam.mac -o out.slcio > > where $GEO is HPS-Proposal2017-L0-v3-2pt3-fieldmap. Everything looks fine > at this step. I'm not not sure I have to run filtering afterwards; in > any case, when I try to run readout with the command > > > java -jar hps-current-distribution.jar EngineeringRun2015TrigPairs1_Pass2.lcsim -i > out_slic.slcio -DoutputFile=out_recon -Ddetector=$GEO -Drun=0 > > (the steering lcsim file being taken from hps-java readout directory), I > get the following error: > > > > ---------------------------------------------------------------------------- > > > 2017-08-01 16:49:08 [INFO] org.hps.detector.svt.SvtDetectorSetup > loadDefault :: loading default SVT conditions onto subdetector Tracker > 2017-08-01 16:49:08 [INFO] org.hps.detector.svt.SvtDetectorSetup > loadDefault :: setting up 44 SVT sensors > 2017-08-01 16:49:08 [INFO] org.hps.detector.svt.SvtDetectorSetup > loadDefault :: channel map has 23040 entries > 2017-08-01 16:49:08 [SEVERE] org.lcsim.job.JobControlManager run :: A > fatal error occurred when running the job. > java.lang.RuntimeException: Failed to find DAQ pair for sensor: > module_L1b_halfmodule_axial_slot_sensor0 > at > org.hps.detector.svt.SvtDetectorSetup.loadDefault(SvtDetectorSetup.java:138) > at > org.hps.detector.svt.SvtDetectorSetup.conditionsChanged(SvtDetectorSetup.java:100) > at > org.lcsim.conditions.ConditionsManagerImplementation.fireConditionsChanged(ConditionsMana > gerImplementation.java:122) > at > org.lcsim.conditions.ConditionsManagerImplementation.setConditionsReader(ConditionsManage > rImplementation.java:69) > at > org.lcsim.conditions.ConditionsManagerImplementation.setDetector(ConditionsManagerImpleme > ntation.java:53) > at > org.hps.conditions.database.DatabaseConditionsManager.initialize(DatabaseConditionsManage > r.java:706) > at > org.hps.conditions.database.DatabaseConditionsManager.setDetector(DatabaseConditionsManag > er.java:1013) > at > org.lcsim.job.DefaultConditionsSetup.setup(DefaultConditionsSetup.java:45) > at org.lcsim.job.JobControlManager.run(JobControlManager.java:949) > at org.hps.job.JobManager.main(JobManager.java:35) > > > --------------------------------------------------------------------------- > > > Any idea of what I'm doing wrong? > First, I'm not sure I understand why 44 sensors are found (shouldn't they > be just 40? 36+4?); then, I can understand that it is complaining about > "Failed to find DAQ pair for sensor: module_L1b_halfmodule_axial_slot_sensor0" > if it looks for a slot #1 sensor... > > It seems like I'm not downloading the correct DB. Should I use a different > default run number, maybe? > Also, at the beginning of the run it is listing the sensor bundles it > finds (14 in total), and I get a number of lines like > > 2017-08-01 16:49:04 [INFO] > org.lcsim.geometry.compact.converter.HPSTracker2017GeometryDefinition makeModuleBundle :: > created module bundle: > org.lcsim.geometry.compact.converter.HPSTrackerGeometryDefinition$TestRunModuleBundle > ... > -> TestRunModuleBlundle? is it correct? > > Thanks for your 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