• Main INDEX
  • Monthly INDEX
  • PREV
  • NEXT
    Make New Entry, Make Followup Entry

    User name pzhu

    Log entry time 23:08:04 on February 26, 2011

    Entry number 348900

    keyword=HOW TO RUN BCM DAQ AND ANALYSIS

    1. Running the DAQ
    login to apar@adaql5, password:(see counting house)
    run startcoda
    Use "CntHouse" config
    Data goes to /adaql1/data2/parity/parity11_NNN.dat
                      NNN = run number
    2.analysis
     check last run number: 
     lastrun
    
    make the analysis script:
     ssh -X apar@adaql5
     cd ~/g2p
     make clean
     make
     grep adcana newrun
    
    analysis step:
     ./newrun NNNN 50000 23 1
    for run NNNN,50K events, Roc23, Slot 1
    then will generate a root file with the name like "adc18_NNNN.root",run:
     root adc18_NNNN.root
    root[1] .x show_bpa0.C
     .x show_bpa1.C
     .x show_bpa2.C
     .x show_bpa3.C
     .x show_adc.C
    
    3.CRL Code
    CRL = CODA Readout List   (controls the VME readout)
      ~apar/devices/crl/happex3_ts.crl
    
      Compile with
    
             makelist happex3_ts.crl ppc
    
    4. VME crate
    Do "setupxterms" to bring up windows
    then run:
     telnet hatsv9 2004
     dumpRegHAPTB()
     setDACHAPTB(2,2000)
    where 2 is the delay time,2000 is the integration time
    
    


    A copy of this log entry has been emailed to: camsonne@jlab.org