Totem Monitor: User manual

This manual describes version 4.5.

Using the GUI

The GUI consists of three windows: main window, open dialog and canvas layout dialog. When the Monitor is launched, an empty main window appears. In order to open and analyze a data file, click on Open button and invoke the open dialog. The detailed usage of all three windows is described in the following sections.

Main window

The main window consits of the control panel in the bottom of the window and the canvas area with custom plots. The canvas is formed by a grid of pads, each pad shows one plot. To change number of rows and columns in the canvas grid, use buttons in the layout section of the control panel. To change plot displayed by a pad, double click (or alternatively click while holding ctrl key) on the desired pad. The canvas layout dialog opens and you can select the desired plot. For more details consult the dedicated section.

Open dialog

Hardware setup file describes the hardware setup of the run, e.g. which VFATs were present, mappings of VFATs to detectors, etc. For more details, see section of hardware setup file.

Data source information group

Type specifies type of the run. Possible values are listed in the following table

offline for data taking (not for scans), possible to analyze single events
online not yet implemented
generic scan for threshold, pulse, latency and other scans
TrimDAC scan for TrimDAC scan and analysis
no data (DCU) no data are processed, useful for showing DCU graphs, etc.

Data file is the file with raw data (.dat for binary format, .txt for ASCII format).

I2C configuration (only for scans) is file with VFAT registers as they change during scan.

Cycles per configuration and events per cycles (only for scans) are parameters for synchronization of data and I2C configurations. If you enter wrong value, Monitor is likely to issue a warning or an error in the end of processing.

Setup container group

Source directory is the directory with setup information other than I2C configuration. At the moment it is used only for DCU information. You need not fill this field in unless you want to use DCU information. The DCU information is chached by the Monitor run (it is not read again and again from files) and thus if you change a DCU file, you must check Reset box to reset the cache. Alternatively you can switch off and on the whole Monitor program.

TTP test group

This group provides convenient controls to perform VFAT production tests with TTP. Choose a test from the list load settings for test and the program will automatically fill in all the important fields. You can manually set the name of protocol file.

Canvas layout dialog

The left column displays the list (tree) of hardware elements (see the section on hardware configuration file). First, select the element you are interested in. Then, the right column shows list of plots available for the selected hardware element. Select the desired plot and click on OK button (or alternatively double click on your chosen plot).

Hardware setup (XML) file

This file describes the hardware setup as a tree. For example one Roman Pot contains 10 planes (hybrids), each plane has 4 VFAT chips and each VFAT has 128 channels. The tree is written in XML language and everything must be put in between <top> ... </top> tags. Each object (RP plane, VFAT, etc) is represented by a tag and for each tag there is a certain list of histograms available in the Monitor. Any tag can take a list of attributes, each tag must take parameter id which corresponds to the ID of the object and is shown in the Monitor. The ID can be specified in decimal or in hexadecimal (with 0x prefix). All available tags are summarized in the TotemRawData documentation.

VFAT tags

object tag parameters
(data) VFAT vfat mask_channels, verbose, iid, DAQ position parameters
test_vfat as above plus scurvefit
Trigger VFAT trigger_vfat

The usage of DAQ position parameters is explained in TotemRawData documentation.

mask_channels E.g. value of "12,13,56" means to exclude channels 12, 13 and 56 from later analysis.

verbose parameter influences the level of warnings and errors printed. Value 0 means no output, value 255 full output. Use 0 unless you have some suspicion.

By iid parameter one specifies the internal ID (position) of the VFAT within detector. It is used only if the chip is connected to a GEM. The value ranges from 0 to 16 for GEM.

The parameter scurvefit sets the fit options for S-curve fitting. Its value is composed of two parts. No separator is needed, but I suggest a comma though. One part specifies fit range, possible values are full (for full range) or 10\% (for range starting at 10\% of maximum). Second part determines fit option. Possible values are optl, optw and optww. If any part is omitted (or whole scurvefit parameter is not present), the defaults (full,optl) are used. The defaults can be invoked also by scurvefit="default".

RP tags

object tag parameters
one arm arm  
one station station  
one silicon detector rp_plane z, orientation
a set of silicon detectors rp_detector_set doCorrelations

z gives the z (perpendicular to the Si detectors) position of the plane, in mm.

orientation gives the orientation of the strips. Possible values are u and v.

doCorrelations controls whether the correlation plots (among planes) are built. They occupy a large portion of memory. The possible values are 0 (not built) and 1 (built).

T1 tags

T2 tags

object tag parameters
one GEM t2_detector  
a set of GEMs t2_detector_set CluFileName, SaveClusters

If SaveClusters is set to 1, a ROOT file called CluFileName with T2 clusterization results will be saved.

Monitor configuration file

The Monitor uses a configuration file ~/.qt/totemonitorrc. Most parameters are related to the GUI and thus will not be documented. The parameters of user's interest are



The readMoreNumberOfEvents gives the number of events to be read when the "read more" button is pressed (defaults to 100). The outputFilePrefix is a string prepended to the filename when "Save to ROOT file" button is clicked. It defaults to "output_", that means that the files will be saved in the current working directory. If you want to save the output files to, for example /tmp directory, you may use prefix /tmp/output_.

The TTP/configFile gives path to the TTP configuration file.

-- JanKaspar - 19 Aug 2008

Topic attachments
I Attachment History Action Size Date Who Comment
PNGpng CanvasLayout.png r1 manage 10.3 K 2008-08-19 - 16:56 JanKaspar  
PNGpng MainWindow.png r1 manage 53.1 K 2008-08-19 - 16:55 JanKaspar  
PNGpng OpenDialog.png r1 manage 17.1 K 2008-08-19 - 16:55 JanKaspar  
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r3 - 2010-04-08 - JanKaspar
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    TOTEM 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