MC Monitoring Tools


The Online HistDB can be used to store the display settings and configurations for all histograms and pages (see later). The database can be accessed through a web interface as well through the presenter.

Online Presenter

The Presenter is a graphical user interface to display the ROOT-based histograms published by the monitoring Algorithms. To display histograms, a "page" has to be defined. A page contains one or more histograms in a given layout and with given display settings. When the page is selected in the presenter, the page and histogram configuration are loaded from the HistDB. Then the histogram data published by the monitoring algorithm is read and the pages are displayed. As all display properties are stored in the HistDB, the presenter loads only the bins and their content from the histograms published by the algorithms. The display properties specified by the algorithm will be ignored.

How to configure the Presenter to check the MC histograms

  • get from CVS the Online/Presenter
  • edit the doc/presenter.cfg to set the editor-offline mode, change the database-credentials etc. (an example can be found here). Ask for the passwords.
  • choose a reference rootopla (to be compared with the root file you want to analyze) and place it in a directory with the same name as the Task (ex: create a "Gauss" directory in your working dir and put a Gauss reference rootopla in it). Report the "reference-path" in the doc/presenter.cfg.
  • in cmt/ do a SetupProject Online and source setup.csh before launching the Presenter
  • run the Presenter with the command: ../slc4_amd64_gcc34/presenter.exe -C ../doc/presenter.cfg
  • once the presenter is opened, from the second drop-down box, select the (Gauss) rootpla you want to check. A dialog box will pop up, where you can choose your root file. The contents should show up in the top right tree. Tick the checkbox, and use the right mouse button to declare them to the database (this step is necessary to declare the Task the first time into the DB, it is already done for Gauss and Boole so you can skip it and go to the next step).

How to create histogram Pages using the presenter

The histograms need to be organised in pages inside the HistDB. When you open the Presenter, a New Page (empty) appears in the central part of the display. You can fill at this point the Page with you histogram selection. Use case: Gauss/MCTruthMonitor/ histograms are grouped together and named 100,101,... . Suppose we want to create a more meaningful classification of the histos we could create a ParticleMomentum (Vertex,...) Page where we can group together the Momentum (Vertex, ...) related histos.

  • from the database listing menu on the bottom right, you can select the histos you want to book into the DB (tick their boxes). Add them to the page with the right mouse button.
  • you can save the page to the database (cllikking on the top left icon "Save Page to Database"; when you enter a folder name or page name that doesn't exist in the dialog box, it will automatically create a new entry (please don't forget to press enter after you have typed the name in the input line).

How to check existing histogram Pages using the presenter

You can open the presenter to check your rootopla using the already configured Pages in the DB (see previous Section).

  • choose the Page you want to visualize from the top-left menu
  • to overlap you current histogram with the reference one you need to click on the top-right icon "Overlay with reference"
  • if the plot shows a red contour box, at least one of the analysis tests (see OMAlib section) did fail. The box at the bottom of the page gives you the details of the failure.


-- SilviaMiglioranzi - 2009-09-15

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2009-09-15 - SilviaMiglioranzi
    • 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-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback