Skip to content
Snippets Groups Projects
Select Git revision
  • 9a7851383d0704a4c41ca907c095272fa64d7f2e
  • master default protected
  • 12-revise-part5-with-new-data-model-eic-to-eicd-etc
  • gatsby-update
  • npm-install-deps-fix
  • fix
  • oops
  • readme_2
8 results

src

  • Clone with SSH
  • Clone with HTTPS
  • This script runs over a scaler tree (TSH) and save bcm current values
    for BCM1, BCM2, (BCM4a, BCM4b, BCM17) as well as the event number 
    for each scaler event.
    
    How to make a parameter file for the average BCM current information
    
    - Use ROOT version 6.08 to use R__LOAD_LIBRARY
    - Do this once to make shared libraries (or after modifying the marco)
    > root -b
    root [0] .L ScalerCalib.C+
    
    To run a script:
    > roob -b
    root [0] .x run.C("/path/Scaler root output file");
    
    It prints out 
          # of scaler read, 
          average bcm current values for each bcm
          corresponding event number for each scaler event