TWiki> LHCb Web>WebPreferences>TbUT (revision 2)EditAttachPDF

TbUT analysis software

This page is about TbUT package. The software is a part of the Kepler project. The main aim of this software is to perform whole processing of the testbeam data using Gaudi framework.

Contact persons

Adam Dendek Mail

Setup

To setup the TbUT you just need to:

  • setup project and get source code from LHCb's SVN repository:
    SetupProject Kepler v3r0   
    SetupProject Kepler v3r0 --build-env 
    
    getpack Tb/TbUT
    getpack Tb/TbEvent
    getpack Tb/TbKernel
    getpack Tb/Kepler
     
  • compile the source code
    cd Tb/TbUT
    cd cmt
    cmt br cmt make -j8
     

Running the TbUT

The TbUT software can be run in two modes Pedestal and Run. The below description contain instruction how to work with TbUT in standalone mode (no other Kepler stuffs).

Pedestal training

  • To aim of execution of the pedestal training is to calculate the pedestals values, that will be used in run mode to be subtracted from the raw data during execution of the Pedestal Subtraction algorithm.
  • In this mode only 2 algorithms are executed : Raw Data Reader and Pedestal Subtractor for more detailed description of this algorithms look to the developers section.
  • Preparation of the options. You just need to modify the file ( Tb/TbUT/options/TbUTPedestal.py ):
    option name brief description
    app.inputData type of string, contains path to the input data
    app.eventMax type of integer, number of event to process
    app.app.pedestaOutputData type of string, contains path to the output file ( contains pedestal values)

  • Run the TbUT in Pedestal mode:
    go to Tb/TbUT
    gaudirun.py options/TbUTPedestal.py
         
  • After the execution of the application the file contains pedestal values, one number per channel, have to be created. The name of the file is specified in options file ( line app.pedestalOutputData )

Run mode

  • In run mode the TbUT is able to perform the whole processing of testbeam data.
  • In this mode all processing algorithms are executed.
    algorithm brief description
    Raw Data Reader Reads mamba data and saves output into TES
    Pedestal Subtrator Gets data raw data from TES, removes before calculated pedestals and put output into TES
    Common Mode Subtractor Gets data after Pedestal Subtraction, removes single (mean value) and save output into TES
    Cluster Creator Gets data after CMS, create clusters and saves it into TES

Beyond the listed algorithms, the set of corresponding monitoring algorithms has been implemented. The detailed descriptions of processing and monitoring algorithms see developers section.

  • Preparation of the options. You just need to modify the file ( Tb/TbUT/options/TbUTRun.py ):
    option name brief description
    app.inputData type of string, contains path to the input data
    app.eventMax type of integer, number of event to process
    app.app.pedestalInputData type of string, contains path to pedestal file (created during execution TbUT in Pedestal mode)
    app.eventNumberDisplay type of integer, informs how many event snapshots will be saved (see section exemplary outputs )

  • Run the TbUT in Run mode:
    go to Tb/TbUT
    gaudirun.py options/TbUTRun.py
         

Exemplary outputs

GUI

Developers section

-- AdamMateuszDendek - 2015-08-03

Edit | Attach | Watch | Print version | History: r25 | r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r2 - 2015-08-03 - AdamMateuszDendek
 
    • 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