Print

Print


I'll try to upload a copy of this jar. I was using one from April 1st. Perhaps that's already too old. 

On Fri, Apr 3, 2015 at 3:33 PM, McCormick, Jeremy I. <[log in to unmask]> wrote:
Hi, Holly.

I don’t see this problem when I run this command similar to yours…

java -jar ~/.m2/repository/org/hps/hps-distribution/3.2-SNAPSHOT/hps-distribution-3.2-SNAPSHOT-bin.jar -r /org/hps/steering/production/DataQuality.lcsim -i /work/data/hps/debug/egsv3-triv2-g4v1_s2d6_HPS-ECalCommissioning-v3_1.slcio

I see that the SVT detector conditions setup is being disabled automatically….

Fri Apr 03 12:28:21 PDT 2015 org.hps.conditions.svt.SvtDetectorSetup conditionsChanged
WARNING: no SVT detector was found so SvtDetectorSetup was NOT activated

And I get some end of job print outs from the DQM….

Read 83952 events
EcalHits (SimCalorimeterHit): 1.000000 of events had this collection, with an average of 3.013877 elements
MCParticle (MCParticle): 1.000000 of events had this collection, with an average of 17.722234 elements
MCParticleEndPointEnergy (GenericObject): 1.000000 of events had this collection, with an average of 17.722234 elements
TrackerHitsECal (SimTrackerHit): 1.000000 of events had this collection, with an average of 1.147072 elements
TrackerHitsFieldDef (SimTrackerHit): 1.000000 of events had this collection, with an average of 3.168287 elements

Perhaps the HPS Java jar you are using on Auger is old.  Some of this stuff relating to SVT conditions config did change recently and some error trapping was added when the SVT is not in the detector model, so you may need the latest snapshot for this job to work.
 
—Jeremy

On Apr 3, 2015, at 12:17 PM, Holly Vance <[log in to unmask]> wrote:

Thanks Jeremy,

Everything is included in that xml file I initially pointed to (commands, jar file, file locations) if there is any other lack of clarity. You could probably run that script to repoduce the problem.

Please let me know if there is anything else that needs to be more clear.



On Fri, Apr 3, 2015 at 3:10 PM, McCormick, Jeremy I. <[log in to unmask]> wrote:
Thanks, I will look into this.

For future reference always include in initial bug/problem reports.....

-full error trace back 

-exact command being run

-locations of data inputs 

-jar version (if not current snapshot)

This ensures others can help by being able to reproduce the problem.

On Apr 3, 2015, at 12:07 PM, Holly Vance <[log in to unmask]> wrote:

The file is here:
/work/hallb/hps/holly/debug/beam-tri/1pt92/egsv3-triv2-g4v1_s2d6_HPS-ECalCommissioning-v3_1.slcio

On Fri, Apr 3, 2015 at 3:03 PM, McCormick, Jeremy I. <[log in to unmask]> wrote:
Ok, can you put the lcio file someplace accessible like /work or /volatile and send the full path to it?  I can try to reproduce then.  It might be a simple conditions system misconfig that can be easily fixed.

On Apr 3, 2015, at 11:58 AM, Holly Vance <[log in to unmask]> wrote:

I'm running the following script:
/u/group/hps/production/mc/auger/temp.xml

The relevant lines are toward the bottom of the command section in the file. I have never gotten this to work in the past two weeks, but it seems there is some issue with SVT (perhaps because it is not in this detector? or being readout?). 

The exact command is :
java -jar $jarfile -r /org/hps/steering/production/DataQuality.lcsim -i out.slcio

-Holly


On Fri, Apr 3, 2015 at 2:54 PM, McCormick, Jeremy I. <[log in to unmask]> wrote:
What's the exact command you are running?  And can you give full path to the input data file?

On Apr 3, 2015, at 10:56 AM, Holly Vance <[log in to unmask]> wrote:

Hi,

When I try to run the DataQuality.lcsim on an output file from slic, I get the following error:

java.lang.NullPointerException

        at org.hps.conditions.svt.SvtDetectorSetup.loadDefault(SvtDetectorSetup.java:80)

        at org.hps.conditions.svt.SvtDetectorSetup.conditionsChanged(SvtDetectorSetup.java:65)

        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.initialize(DatabaseConditionsManager.java:742)

        at org.hps.conditions.database.DatabaseConditionsManager.setDetector(DatabaseConditionsManager.java:279)

        at org.lcsim.event.base.BaseLCSimEvent.<init>(BaseLCSimEvent.java:52)

        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.lcsim.util.loop.LCIOEventSource.next(LCIOEventSource.java:129)

        at org.freehep.record.loop.DefaultRecordLoop.fetchRecord(DefaultRecordLoop.java:809)

        at org.freehep.record.loop.DefaultRecordLoop.loop(DefaultRecordLoop.java:648)

        at org.freehep.record.loop.DefaultRecordLoop.execute(DefaultRecordLoop.java:566)

        at org.lcsim.util.loop.LCSimLoop.loop(LCSimLoop.java:151)

        at org.lcsim.job.JobControlManager.run(JobControlManager.java:427)

        at org.hps.job.JobManager.run(JobManager.java:34)

        at org.lcsim.job.JobControlManager.run(JobControlManager.java:185)

        at org.hps.job.JobManager.main(JobManager.java:19)

grep: data_quality.txt: No such file or directory


I think I will go ahead and process our slic monte carlo without this, but I was curious as to why this error exists. 

-Holly



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


NOTE: This message was trained as non-spam. If this is wrong, please correct the training as soon as possible.
Spam
Not spam
Forget previous vote


NOTE: This message was trained as non-spam. If this is wrong, please correct the training as soon as possible.
Spam
Not spam
Forget previous vote


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



NOTE: This message was trained as non-spam. If this is wrong, please correct the training as soon as possible.
Spam
Not spam
Forget previous vote



NOTE: This message was trained as non-spam. If this is wrong, please correct the training as soon as possible.
Spam
Not spam
Forget previous vote



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