This is a Java program that manages sets of elementary cell configuration parameters for use in small lab setups or beam tests. The GUI does not perform any run control or hardware configuration functions. It is always used in combination with a run control GUI such as JRichEcControl.

The basic unit of configuration is the Elementary Cell which consists of a 2-by-2 arrangement of MAPMTs labelled A, B, C and D. JRichEcConfigurator simplifies the setting of the configuration parameters by allowing selection of the channels to be configured by dragging and releasing the mouse. The program converts the xy coordinates on the EC of the selected anodes into hardware channel numbers. This mapping is stored in a lookup table and can be changed if necessary but has been set to reflect the hardware numbering of the channels as defined for the 2014 beam test hardware.

The configurator panel is started from the JRichEcControl panel: Main->Configurator..., and appears as follows:


Initial settings

A selection of Elementary Cell names have been predefined. You may wish to select one of the ones in the EC name pulldown list. Having selected your EC, choose a Preference set from the pulldown menu. Any settings you make will be associated with this set. Preference sets are global. You can associate the same preference set to any number of ECs. So if you want different preferences for different ECs, give the preference sets globally unique names. You can type in a new EC name or preference set name to create new configurations. There is no particular significance attached to the names, you can choose pretty much whatever you want. The default set behaves no differently from any other.

The next step is to assign digital boards to your EC. Each EC has one or two DBs. The hardware ids (DNA) of all known DBs were loaded from Chimaera2.xml. Select your DBs from the pulldown list. If you have only one DB, select ---- ---- as the id for the other. Note that the run control GUI JRichEcControl is DB-centric, i.e. it will try to read out all DBs that are associated with any EC. Therefore you should check that DBs are assigned only to EC names known to JRichEcConfigurator that you want to include in a data acquisition run.

When setting up multiple ECs, for example during test beam, remember to load the settings to the preference set: Set CLARO->Set selected, before moving on to a different EC.

Digital Board settings

The Settings->DB control menu allows the specific DBs to be configured. At the top of the panel, the trigger source for the DB can be chosen. To enable the trigger, both the Enable and Trigger checkboxes should be ticked. When using the trigger board the LVDS edge source is the one to use. The others should normally not be enabled.

The skip-smb checkbox should be checked when the EC is disconnected from the DB. By default, IOEx base address=66 and DAC base address=152.

Network settings

JRichEcConfigurator also manages the network configuration parameters. These settings are changed by using the Settings menu. Set the MAC address and IP address of your readout PC from the PC network submenu. For the DB MAC and IP addresses, select your DB from the DB network submenu. All MAC and IP addresses in use on your readout network must be unique. The IP address must all belong to the same sub-network. Private IP addresses should be used. Use address beginning 192.168. for example. The MAC addresses of the DBs can be chosen more or less freely. Addresses starting 02: may be preferred as that indicates a privately assigned address.

Setting front end parameters

Now the fun bit...

In order to set the front end parameters for a selected anode or group of anodes, point the mouse to the Anode selection area then press, drag and release to define the rectangular region of selected anodes. The colour will change when you release the mouse to indicate the selected anodes. You can build up complex patterns by repeating this operation. The selection is actually implemented as a toggle operation so selecting the same area again will deselect the anodes. You can create interesting effects by choosing overlapping regions.

Now you can use the Set CLARO button to choose your desired settings and apply them to all selected channels. The run control program, JRichEcControl, will use these settings when configuring the EC. The text area at the bottom will show a list of the channels that you have set.

You can use the Show selected button to show a list of the selected channels without affecting any settings.

Some settings are common to a whole front-end chip while some are channel specific. There are some restrictions on the allowed granularity for setting the common parameters. Typically front end chips conneted to a given photon detector will share the same common settings.

Rotating the display

You can change the orientation of the anode selection area using the Display menu. The current orientation is indicated next to the preference set name. The letters A, B, C & D indicate the position of the 4 photon detectors in the current view. The letters correspond to the labelling used on the EC hardware and the direction of view is looking into the photon detector entrance window. A different rotation can be associated with each EC name.

Exporting preference sets

In the File menu there are options for exporting all preference sets or just one. This is helpful if you want to duplicate your set-up under a different user account. JRichEcConfigurator stores all preferences in a subdirectory the user's home area (or in the user's area of the registry on Windows).

-- FlorisKeizer - 2015-07-24

Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r8 - 2015-09-16 - StephenWotton
    • 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