LISTSERV mailing list manager LISTSERV 16.5

Help for HPS-SOFTWARE Archives


HPS-SOFTWARE Archives

HPS-SOFTWARE Archives


HPS-SOFTWARE@LISTSERV.SLAC.STANFORD.EDU


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

HPS-SOFTWARE Home

HPS-SOFTWARE Home

HPS-SOFTWARE  May 2019

HPS-SOFTWARE May 2019

Subject:

Re: Analysis of 2019 LED data with hps-java: errors with conditions system

From:

Nathan Baltzell <[log in to unmask]>

Reply-To:

Software for the Heavy Photon Search Experiment <[log in to unmask]>

Date:

Thu, 9 May 2019 13:04:29 +0000

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (1 lines)

Hmmm, missing ti_time_offsets table.  If I’m looking correctly, looks like it’s only used by rundb/datacat stuff.  And it doesn’t have any entries in the “conditions” table like normal conditions, but a separate entry for every run.  Jeremy, do you know what this is?



> On May 9, 2019, at 08:31, Andrea Celentano <[log in to unmask]> wrote:
> 
> Dear all,
> Nathan just took new data, with run number 9004
> 
> You can find this at JLab: /work/hallb/hps/data/led/evio/
> 
> The command I use is:
> 
> java -cp /local/celentano/eclipse_workspace/hps/distribution/target/hps-distribution-4.4-SNAPSHOT-bin.jar org.hps.evio.EvioToLcio -d HPS-ECalCommissioning -r -x /org/hps/steering/monitoring/EcalLedSequenceStandalone.lcsim led_data/hpsecal_009004.evio.0000* -b -DoutputFile=009004.histo
> 
> 
> I get now a new error:
> 
> 
> Exception in thread "main" java.lang.RuntimeException: No TiTimeOffset condition exists for run 9004
>     at org.hps.conditions.trigger.TiTimeOffsetConverter.getData(TiTimeOffsetConverter.java:24)
>     at org.hps.conditions.trigger.TiTimeOffsetConverter.getData(TiTimeOffsetConverter.java:11)
>     at org.lcsim.conditions.CachedConditionsImplementation.getCachedData(CachedConditionsImplementation.java:20)
>     at org.hps.evio.LCSimEngRunEventBuilder.conditionsChanged(LCSimEngRunEventBuilder.java:104)
>     at org.lcsim.conditions.ConditionsManagerImplementation.fireConditionsChanged(ConditionsManagerImplementation.java:122)
>     at org.lcsim.conditions.ConditionsManagerImplementation.setConditionsReader(ConditionsManagerImplementation.java:69)
>     at org.lcsim.conditions.ConditionsManagerImplementation.setDetector(ConditionsManagerImplementation.java:53)
>     at org.hps.conditions.database.DatabaseConditionsManager.setDetector(DatabaseConditionsManager.java:801)
>     at org.hps.evio.EvioToLcio.checkConditions(EvioToLcio.java:229)
>     at org.hps.evio.EvioToLcio.bufferEvents(EvioToLcio.java:202)
>     at org.hps.evio.EvioToLcio.run(EvioToLcio.java:514)
>     at org.hps.evio.EvioToLcio.main(EvioToLcio.java:92)
> 
> The error also appears If I use as detector: HPS-PhysicsRun2016-Pass2
> 
> Thanks
> 
> Andrea
> 
> On 5/7/19 1:32 PM, Andrea Celentano wrote:
>> Hi,
>> I am ignoring the output redirecting to /dev/null. It seems the output data is correct - however, it looks like the code is extremely lower than how it was when I used it in 2016. Maybe related to this error?
>> I was not yet able to analyze the data of a full run due to this speed issue, I run it on a single evio file (and it took ~ 45 minutes!). I am running over the full evio fileset (6 files) of run 81 now, I’ll be able to report later on this (not today, probably).
>> 
>> Andrea
>> 
>>> On May 7, 2019, at 12:42, Maurik Holtrop <[log in to unmask]> wrote:
>>> 
>>> Hi Andrea,
>>> 
>>> If you ignore those errors, do you still get useful output?
>>> This is why I suggested to pipe all the error output to /dev/null
>>> 
>>> Best,
>>>           Maurik
>>> 
>>> -----------------------------------------------
>>> 
>>> On May 7, 2019, at 3:40 AM, Andrea Celentano <[log in to unmask]> wrote:
>>> 
>>>> Dear all,
>>>> If I set run 8000, errors I reported before are no longer present. During reconstruction, I get an error reported once per event:
>>>> 
>>>> 
>>>> 019-05-07 09:39:41 [SEVERE] org.hps.evio.LCSimTestRunEventBuilder getTriggerData :: null
>>>> java.lang.reflect.InvocationTargetException
>>>>     at sun.reflect.GeneratedConstructorAccessor19.newInstance(Unknown Source)
>>>>     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>>>>     at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
>>>>     at org.hps.evio.LCSimTestRunEventBuilder.getTriggerData(LCSimTestRunEventBuilder.java:173)
>>>>     at org.hps.evio.LCSimTestRunEventBuilder.getEventData(LCSimTestRunEventBuilder.java:115)
>>>>     at org.hps.evio.LCSimEngRunEventBuilder.makeLCSimEvent(LCSimEngRunEventBuilder.java:143)
>>>>     at org.hps.evio.EvioToLcio.run(EvioToLcio.java:608)
>>>>     at org.hps.evio.EvioToLcio.main(EvioToLcio.java:92)
>>>> Caused by: java.lang.RuntimeException: Invalid Data Length:  6
>>>>     at org.hps.record.triggerbank.HeadBankData.decodeData(HeadBankData.java:76)
>>>>     at org.hps.record.triggerbank.HeadBankData.<init>(HeadBankData.java:23)
>>>>     ... 8 more
>>>> 
>>>> This is not causing the reconstruction to crash, however.
>>>> 
>>>> 
>>>> Talk to you about this at today's meeting.
>>>> 
>>>> Bests,
>>>> Andrea
>>>> 
>>>> 
>>>> On 5/6/19 11:30 PM, maurik wrote:
>>>>> Hello Andrea,
>>>>> 
>>>>> There seem to be multiple issues with running this analysis.
>>>>> 
>>>>> The first one is that there are errors in the conditions manager that are triggered when you have a run number that is in the “test run range”. I don’t know exactly where the bounds are, but 81 and 82 are definitely in the test run range. You can specify a higher run number on the command line with say, -R 8000, and now the conditions database is happy. 
>>>>> 
>>>>> When I do that, the code gets a lot further but start spitting out an insane number of errors that getTriggerData() is null.
>>>>> 
>>>>> What works temporarily is:
>>>>> 
>>>>> java -cp $HPSJAVAdev org.hps.evio.EvioToLcio -d HPS-PhysicsRun2016-Pass2 -r -x /org/hps/steering/monitoring/EcalLedSequenceStandalone.lcsim  hpsecal_000081.evio.00000 -b -DoutputFile=000081.histo -R 8000 2> /dev/null
>>>>> 
>>>>> I have this running now and will see if I get a histogram file at the end. :-)
>>>>> 
>>>>> I will look into what is happening at the getTriggerData() part.
>>>>> 
>>>>> 
>>>>> Best,
>>>>> 	Maurik
>>>>> 
>>>>>> On May 6, 2019, at 4:50 PM, Andrea Celentano <[log in to unmask]> wrote:
>>>>>> 
>>>>>> Hi Maurik,
>>>>>> EVIO files from runs n. 81 and 82 at JLab are located here:
>>>>>> 
>>>>>> /work/hallb/hps/data/cosmic/evio
>>>>>> 
>>>>>> Bests,
>>>>>> Andrea
>>>>>>> On May 6, 2019, at 22:37, maurik <[log in to unmask]> wrote:
>>>>>>> 
>>>>>>> Hello Andrea,
>>>>>>> 
>>>>>>> To be able to do any testing of this it would be very useful to know where the data file resides. Could you please email us the path of the two evio files?
>>>>>>> 
>>>>>>> Thanks,
>>>>>>> 	Maurik
>>>>>>> 
>>>>>>> 
>>>>>>>> On May 6, 2019, at 12:16 PM, Andrea Celentano <[log in to unmask]> wrote:
>>>>>>>> 
>>>>>>>> Dear all,
>>>>>>>> I'd like to use HPS-java to analyze LED data just taken. The two run numbers are: 81 and 82.
>>>>>>>> 
>>>>>>>>  In the past (2016 run), the command I used to perform this task was:
>>>>>>>> 
>>>>>>>> java -cp /path/to/hps-distribution-VERSION-SNAPSHOT-bin.jar org.hps.evio.EvioToLcio -d DETECTOR_NAME -r -x /org/hps/steering/monitoring/EcalLedSequenceStandalone.lcsim led_data/hpsecal_000081.evio.00000 -b -DoutputFile=000081.histo
>>>>>>>> 
>>>>>>>> * As DETECTOR_NAME, I always used HPS-ECalCommissioning. 
>>>>>>>> 
>>>>>>>> I get the following condition-system related errors.
>>>>>>>> 
>>>>>>>> 1) If I use hps-distribution-4.1-SNAPSHOT-bin.jar, the error is:
>>>>>>>> 
>>>>>>>> [...]
>>>>>>>> 2019-05-06 18:12:36 [CONFIG] org.hps.conditions.database.DatabaseConditionsManager setDetector ::                                                     Initializing conditions system with detector 'HPS-ECalCommissioning'                                                     and run 81
>>>>>>>> 2019-05-06 18:12:36 [INFO] org.hps.conditions.database.DatabaseConditionsManager openConnection :: Opening connection ... 
>>>>>>>> connection: jdbc:mysql://hpsdb.jlab.org:3306/
>>>>>>>> host: hpsdb.jlab.org
>>>>>>>> port: 3306
>>>>>>>> user: hpsuser
>>>>>>>> database: hps_conditions
>>>>>>>> [...]
>>>>>>>> 2019-05-06 18:12:44 [INFO] org.hps.detector.svt.SvtDetectorSetup loadTestRun :: loading Test Run SVT conditions onto subdetector Tracker
>>>>>>>> 2019-05-06 18:12:44 [INFO] org.hps.detector.svt.SvtDetectorSetup loadTestRun :: setting up 36 SVT sensors
>>>>>>>> 2019-05-06 18:12:44 [INFO] org.hps.detector.svt.SvtDetectorSetup loadTestRun :: channel map has 12800 entries
>>>>>>>> Exception in thread "main" java.lang.ClassCastException: org.lcsim.detector.tracker.silicon.HpsSiSensor cannot be cast to org.lcsim.detector.tracker.silicon.HpsTestRunSiSensor
>>>>>>>>     at org.hps.detector.svt.SvtDetectorSetup.loadTestRun(SvtDetectorSetup.java:233)
>>>>>>>>     at org.hps.detector.svt.SvtDetectorSetup.conditionsChanged(SvtDetectorSetup.java:95)
>>>>>>>>     at org.lcsim.conditions.ConditionsManagerImplementation.fireConditionsChanged(ConditionsManagerImplementation.java:122)
>>>>>>>>     at org.lcsim.conditions.ConditionsManagerImplementation.setConditionsReader(ConditionsManagerImplementation.java:69)
>>>>>>>>     at org.lcsim.conditions.ConditionsManagerImplementation.setDetector(ConditionsManagerImplementation.java:53)
>>>>>>>>     at org.hps.conditions.database.DatabaseConditionsManager.setDetector(DatabaseConditionsManager.java:712)
>>>>>>>>     at org.hps.evio.EvioToLcio.checkConditions(EvioToLcio.java:229)
>>>>>>>>     at org.hps.evio.EvioToLcio.bufferEvents(EvioToLcio.java:202)
>>>>>>>>     at org.hps.evio.EvioToLcio.run(EvioToLcio.java:514)
>>>>>>>>     at org.hps.evio.EvioToLcio.main(EvioToLcio.java:92)
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 2) If I use hps-distribution-4.4-SNAPSHOT-bin.jar, the error is:
>>>>>>>> 
>>>>>>>> [...]
>>>>>>>> 2019-05-06 18:03:29 [CONFIG] org.hps.conditions.database.DatabaseConditionsManager setDetector ::                                                     Initializing conditions system with detector 'HPS-ECalCommissioning'                                                     and run 81
>>>>>>>> Exception in thread "main" java.lang.NullPointerException
>>>>>>>>     at org.lcsim.conditions.ConditionsManagerImplementation.registerConditionsConverter(ConditionsManagerImplementation.java:78)
>>>>>>>>     at org.hps.conditions.database.DatabaseConditionsManager.registerConverters(DatabaseConditionsManager.java:748)
>>>>>>>>     at org.hps.conditions.database.DatabaseConditionsManager.setDetector(DatabaseConditionsManager.java:791)
>>>>>>>>     at org.hps.evio.EvioToLcio.checkConditions(EvioToLcio.java:229)
>>>>>>>>     at org.hps.evio.EvioToLcio.bufferEvents(EvioToLcio.java:202)
>>>>>>>>     at org.hps.evio.EvioToLcio.run(EvioToLcio.java:514)
>>>>>>>>     at org.hps.evio.EvioToLcio.main(EvioToLcio.java:92)
>>>>>>>> 
>>>>>>>> I also tried to change the detector to the one used in 2016 pass-0 (HPS-PhysicsRun2016-Nominal-v4-4-fieldmap), I get same errors as before.
>>>>>>>> 
>>>>>>>> Thanks in advance,
>>>>>>>> Bests,
>>>>>>>> Andrea
>>>>>>>> 
>>>>>>>> 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
> 


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

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Search Archives

Search Archives


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

April 2024
March 2024
February 2024
January 2024
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
December 2022
November 2022
October 2022
September 2022
August 2022
June 2022
April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011

ATOM RSS1 RSS2



LISTSERV.SLAC.STANFORD.EDU

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager

Privacy Notice, Security Notice and Terms of Use