Slice Test - Data analysis

Please find general instructions concerning the analysis with Vetra v5r1 here.

Vetra

  1. Log on to the analysis PC plus01 on the online network.
  2. Set up Vetra by executing "setenvVetra v5r1".
  3. Run the setup script in the Vetra installation group directory: "source $User_release_area/Vetra_v5r1/Velo/Vetra/v5r1/cmt/setup.sh"
  4. Go to the Vetra scripts directory: "cd $VETRAROOT/scripts". In here you find all the a couple of shell scripts to run the different Vetra jobs:
    • slicetestDelayscan.sh: digitisation delay scan
    • slicetestCabletest.sh: cable test
    • slicetestSnapshot.sh: standard data taking with and without test pulses
  5. For the cable test and the standard data taking the scripts are executed with the following syntax:
    ./scriptName.sh filepath/filename.dat
    (e.g. ./slicetestCabletest.sh /data/velo/slicetest/slicetest_slot_VL05_CT_tell1_207_cabletest_080208_1040.dat).
  6. Wait for Vetra to finish.
  7. The Root output file is written to the corresponding directory in /group/velo/slicetest
    (e.g. /group/velo/slicetest/cabletest/slicetest_slot_VL05_CT_tell1_207_cabletest_080208_1040.root).

Root

If you start a new session instead of continuing with the same session that you used for VETRA, please repeat steps 1-3 of the Vetra section to set up the environment properly.

Delay scan

  1. Change to the directory to /group/velo/slicetest/delayscan
  2. Start root.
  3. Load the analysis macro via ".L ../macros/slicetestDelayscan.C"
  4. The macro has 4 arguments: slicetestDelayscan(rootFilename, tell1SerialNumber, print=true, quit=false)
    • The name of the root file has to be given in double quotes without the extension ".root".
    • The TELL1 serial number has to be provided as an integer.
    • The boolean print determines whether the plots are saved as ps/png files. The default is true.
    • The boolean quit determines whether Root is quit after the macro execution. This option is useful when the analysis is performed in bath mode via shell script. The default is false. 1 The text file rootFilename_optimaldelay.txt contains the phase an cycle delays to be set for each PP-FPGA.

Cable test

  1. Change to the directory to /group/velo/slicetest/cabletest
  2. Start root.
  3. Load the analysis macro via ".L ../macros/slicetestCabletest.C"
  4. The macro has 4 arguments: slicetestCabletest(rootFilename, tell1SerialNumber, print=true, quit=false)
    • The name of the root file has to be given in double quotes without the extension ".root".
    • The TELL1 serial number has to be provided as an integer.
    • The boolean print determines whether the plots are saved as ps/png files. The default is true.
    • The boolean quit determines whether Root is quit after the macro execution. This option is useful when the analysis is performed in bath mode via shell script. The default is false.

Noise and Pedestals before and after CM suppression

  1. Change to the directory to /group/velo/slicetest/snapshot
  2. For this analysis a python script is used.
  3. Invoke the script via python -i ../macros/SensorSnapshot.py
  4. Wait for PYTHON to start.
  5. Call the analysis macro at the command prompt (>>>) via SensorSnapshot(rootFilename)
    • The name of the root file has to be given in double quotes with or without the extension ".root". Both versions work.
    • The TELL1 serial number will be automatically detected from the contents of the file.

-- OlafBehrendt - 08 Feb 2008

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r6 - 2008-02-14 - ArasPapadelis
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LHCb All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback