How to control the EEmc WatchDog

  • It is assumed you have already produce ezTree from .daq files using 'siew' or by minidaq w/ daq2tree, or with miniroot.
    If you are star@eemc-sc.starp all programs are set up.

    There are two stages of data processing:
    - making 1D and 2D histos from events
    - viewing histos and performing some operation on histos


  • to process events do
     cd ezGames
     ./guiWatchDog
    
    
    
    Any white field is active. 'Enter' anywhere starts processing. 'secF/L' stands for the First and Last sector. If you choose 1-12 then about 10,000 histos will be initialized (for every tower/pre/post/smd pixel).
    This WatchDog has full access to the DB and saves two histogram files with the crate related data and pixel related data.


  • to view the crate data do
     cd ezGames
    ./guiWDcrates
    
    
    Press any crate to get the following plot

    This is a live root display so one can use mouse to zoom in, logz or save as .ps/.gif


  • to view tower, pre,post, smd pixels do
     cd ezGames
    ./guiWDpixels
    
    
    Pixel spectra are pedestal subtracted. Remember to activate sectors you want in the WatchDog GUI
    Valid tower-like pixel names are: ssabnn where: ss is sector [01,...,12]; a is [T,P,Q,R] for towers, pres1, pres2, post, respectively; b is sub-sector [A,..,E]; nn is eta-bin [01,..,12].
    Valid SMD names are ssckkk where: ss is sector [01,...,12]; s i plane orientation [U,V]; kkk is strip ID [001,...,288].


    Event rate per tower for ADC above threshold is calculated based on the accumulated spectra. One gets the ASCII values

    ...
    12TB11 x=682.0  int=0  mean=0.0 rms=0.0
    12TB12 x=683.0  int=0  mean=0.0 rms=0.0
    12TC01 x=684.0  int=4768  mean=530.0 rms=28.8
    12TC02 x=685.0  int=13  mean=428.8 rms=130.7
    12TC03 x=686.0  int=16  mean=427.8 rms=163.8
    12TC04 x=687.0  int=17  mean=466.1 rms=147.1
    12TC05 x=688.0  int=16  mean=484.1 rms=140.0
    12TC06 x=689.0  int=11  mean=569.8 rms=154.4
    12TC07 x=690.0  int=4758  mean=402.2 rms=25.2
    ...
    
    and plots of integral , mean, and RMS. Option spiral/radial allows for reordering of towers to have either the phi-index or eta-index counting the fastest.



    Hal's QA plots

    gRui: (allows to display a subset of QA histos)

    Screen dump (large):