-- MariannaFontana - 10 Aug 2009


This wiki describes how to use MoniGUI that is a graphical user interface for the offline alignment monitoring which can be found in Quality under the LHCB software project and based on the original version of GUI developed for VELO.

To start MoniGUI

On lxplus using your account

Login to any lxplus machine.

Get and set up the package:

  • getpack Quality/MoniGUI v0r0

  • cd Quality/MoniGUI/cmt

  • cmt config

  • source setup.csh

Now go into the root directory and open root. To run the tool load and execute the macro:


A graphical interface appears with several tabs (one for the PV and one for each subdetector) and buttons.

To close MoniGUI

Click in the menu Data, then Exit .

How to visualize the monitoring plots

To have a view of the plots for the alignment a .root file has to be open

Click in the menu Data, then Open ROOT file .

Once the file is open choose the tab:

  • Tab for Primary Vertex:

    • Difference between PV evaluated with tracks reconstructed in the left or in the right half of Velo

    • x, y, z coordinates of PV

  • Tab for VELO:

    • Misalignment:

      • Distribution of fit parameter significances and Distribution of fit parameter significances above alarm threshold.

    • green-red buttons show more details:

      • Profile histogram with residuals vs phi for each sensor.

For the other subdetector there is the possibility to monitor the alignment plotting few histograms. The package provides root macro for each subdetector (ex. drawVeloPlots, drawITPlots ext.).

How to Add new plots

To add or change plots open the root macro and simply modify the method "draw" that draws a page with a canvas that contains the histograms. It is possible to visualize histograms produced by any standard Brunel job.

How to Add new tabs

It is possible to add new tabs for other subdetectors. Open AlignMoniGUI.C:

1. Define the new tab in Constructor;

2. Clear canvases in the tab with the ClearCanvases method;

3. Describe the contents of the tab with a new method (ex. ContentsTabNewTab);

4. Display documentation on the monitoring available in a tab;

5. Handle the buttons in the tab.

Edit | Attach | Watch | Print version | History: r6 | r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r2 - 2009-08-11 - MariannaFontana
    • 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