Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Using run log and MYA archiver

Input

...

files (in /java/sandbox/biascrawling/crawler)

CSV file of run stats - parsed.csv (generated by ./parse_crawler.awk crawleroutput.txt; crawleroutput.txt is from running "java -jar hps-distribution-bin.jar org.hps.evio.BasicEvioFileReader -qcst <evio files>" on first and last files of all runs)

MYA files - biasdump, motordump, fcupdump (SVN has .gz files; gunzip before using), these were generated using the shell scripts (bias_dump.sh, etc.)

Look at ranges (display plots of run ranges, calculate run efficiencies)

java -cp hps-distribution-3.4.0-SNAPSHOT-bin.jar org.hps.conditions.svt.SvtBiasConditionsLoader -tc parsed.csv -dm biasdump -p motordump -b fcupdump -s

CSV file 

MYA file

Load to DB

Development DB

java -Dorg.hps.conditions.connection.file=dev.prop -cp hps-distribution-3.34.30-SNAPSHOT-bin.jar org.hps.conditions.svt.SvtBiasConditionsLoader -c HPS_Runs_2015-SVT_timing_guesses_for_Jeremy.csv -m SVT:bias:bot:20:v_sens.mya tc parsed.csv -dm biasdump -p motordump -g

where dev.prop is a text file containing:

...

This will run over a evio file, read run ranges from cdv and MYA files (settable paths), the conditions DB and also the epics bank inside the data stream. 

java  -cp hps-distribution-3.3.3-SNAPSHOT-bin.jar org.hps.evio.EvioToLcio -x steering-files/src/main/resources/org/hps/steering/production/SampleZeroMonitoring.lcsim -DoutputFile=whatever hps_005796.evio.0 -d HPS-EngRun2015-Nominal-v1

...