MySQL database

From Hall A Wiki
Revision as of 02:56, 29 April 2009 by Yawei (Talk | contribs) (New page: == Insert analysis information into MySQL database of QuasiFamily == # Find the script setAnalysisInfo.pl in directory: /adaqfs/home/adaq/e05102/scripts # Call command ./setAnalysisInfo.pl...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Insert analysis information into MySQL database of QuasiFamily

  1. Find the script setAnalysisInfo.pl in directory: /adaqfs/home/adaq/e05102/scripts
  2. Call command ./setAnalysisInfo.pl to run this script
    • You will see this:
    1. Connection successful: handle: DBI::db=HASH(0x8ffdd34)
    1. Need some run numbers, dude!
    1. Usage:
    2. setAnalysisInfo.pl [OPTION]
    3. Command-line options:
    4. -r, --runnum [LOW NUMBER]-[HIGH NUMBER]
    5. Specify the range of runnumbers to modify. One number will work
    6. for single run modifications.
    7. -u, --username [USERNAME]
    8. Specify the name of the person making the modification
    9. -t, --type [RUNTYPE]
    10. Specify the type of run (calibration, scan, junk)
    11. -k, --kinematic [KINEMATIC]
    12. Specify the kinematic name.
    13. -p, --production [0,1]
    14. Specify if the run is production (1) or not (0)
    15. -b, --beampol [BEAM POLARIZATION]
    16. Specify the beam polarization
    17. -h, --heTargpol [TARGET POLARIZATION]
    18. Specify the target polarization
    19. -c, --comment "[COMMENT]"
    20. Add a comment. For best results, put the entire comment in
    21. quotation marks.
    22. -v, --verbose
    23. Be verbose.
    • If a High Voltage Alarm sounds, turn the channel off and then back on
  1. Run the RHRS CODA with the setting "RightHrs"
  2. Analyzing the RHRS using do_all(run#) will analyze the neutron detector data
  3. To view just the HAND data once replayed, use the command show_all(run#)
    • It's the window where every group of histograms has labels that start with "ND"
  4. In general,
    • the ADCs should look like this:ADCs.png
    • and the TDCs should look this: TDCs.png
    • If they don't, make a HAlog entry about it