Hotspot Finder for AtlasDQM Webdisplay

A python script was created for finding hotspots found in the LAr detector in Eta, Phi histograms and then finding which hotspots in other histograms were and were not affected by the LAr hotspot. For all purposes of this wiki and the python code itself, hotspots and artifacts are equivalent in usage and meaning.

Location

  • The Python script can be found in: /afs/cern.ch/user/t/tcartwri/public/atlas_dqm/artifact_correlator.py
  • Example Delta-R_Squared plots can be found in: /afs/cern.ch/user/t/tcartwri/public/atlas_dqm/

Using artifact_correlator.py

  1. Download artifact_correlator.py
  2. Execute file with either ./artifact_correlator or python artifact_correlator and arguments. Arguments:
    • -h, --help Displays a help message for the script
    • -i, --index A list of index histogram names
    • -t, --test A list of test histogram names
    • -p, --plot Plots Delta-R, off by default
    • -r, --run_number The run number

Code Structure

Currently, artifact_correlator is divided into 4 main section: Global, artifinder class, artifact class, and executor

  • The Global section is where global variables used by the script are generated such as RUN_NUM, SRC, STREAM, HISTOS, and INDEX_HISTOS
  • The artifinder class contains all of the methods used to correlate the hotspots found in INDEX_HISTOS and those found in HISTOS
  • The artifact class is a convenient object class to store the information generated by get_dqmf_all_results
  • The executor is where an instance of the artifinder class is created using information from the Global section. Methods found in the artifinder class can then be called on the object instance.

Planned Changes

  • Add support for Jets and Tile Calorimeter
Edit | Attach | Watch | Print version | History: r7 | r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r3 - 2015-07-20 - ThomasCartwright
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback