Features
Table of Contents
QCG
is using CCDB as storage service. When storing an object, the user can also store information on how an object should be plotted via the metadata
field in CCDB. QualityControl documentation on how this can be achieved can be found here
drawOptions
: semi-colon separated drawing options; e.g. lcolz;colz
displayHints
: semi-colon separated hints; e.g. AP;APB
Display a QC non-standard ROOT object in QCG
QCG
is able to display non-standard ROOT objects with the help of QC. More information can be found here
Export a layout as JSON
In order to facilitate the transition from one environment (e.g. TST) to another (e.g. PROD) while at the same time updating it, an export feature is provided.
- Open the layout that you wish to export
- Click on the top right second (from left to right) button which on hover shall display:
Export layout skeleton as JSON file
- Following that, QCG will automatically generate a JSON file and store it in your default download location.
Import a layout from JSON
Once a layout is exported and modified as needed or created from scratch, one can import it into QCG as such:
- On the left sidebar, click on the small button (icon represented as cloud with arrow up) which is in line with
MY LAYOUTS
label.
- A pop-up will open which will allow you to paste your JSON structure.
- The pop-up will validate that the pasted value is a valid JSON.
- Click on
Import
button.
- If successful, a new page will be opened with your imported layout in edit mode
- If there is an issue, a red line with an error message will be displayed above the Import button
- Click
Save
Layout from the top right corner button.
AutoTransitioning Tabs within Layouts
To easily follow the progress of a RUN, layouts can automatically transition through the displayed tabs every few seconds. To configure:
- Open desired layout
- Click on the
pencil icon
button to start editing the layout
- On the left sidebar, configure the field
Tab Auto-Change(sec): 0 (OFF), 10-600 (ON)
with the desired numerical value
- Save
Filters
Filters allow users to refine the displayed objects within a layout, ensuring only relevant data is shown. If an object does not match the selected filters, a “Not Found” status is displayed for that object.
Available Filters
- Run Number: Filter objects by their associated run number.
- Run Type: Filter objects by the type of run.
- Period Name: Filter objects by the period name.
- Pass Name: Filter objects by the pass name.
Only objects in the layout that match the selected filters will be displayed.
Actions
Users can perform the following actions within the layout editor:
- Duplicate Layout: Quickly create a copy of the layout for modifications without altering the original.
- Share Layout: Download the layout skeleton as a JSON file for sharing or backup purposes.
Edit a Layout
For advanced users, layouts can be edited directly by modifying the JSON code. This method provides greater flexibility and control over the layout configuration.
1. Via GUI
The GUI provides an intuitive and user-friendly way for layout creators to edit and customize their layouts without needing to write code.
- Change Layout Name: Modify the name of the layout.
- Modify Tabs: Rename tabs, change their order, and even delete or add tabs as needed.
- Adjust Number of Columns per Tab: Customize the number of columns within each tab.
- Edit Layout Description: Update the description of the layout.
- Auto-Switch Time for Tabs: Set the auto-switch time between tabs (default is 0).
- Drag & Move Objects: Rearrange objects within the layout.
2. Via JSON
- Open the layout you wish to edit.
- Click on the
pencil icon
button to start editing the layout.
- Click the
Edit JSON
button.
- A popup will appear, displaying the layout’s current configuration in plain JSON text format.
- The system validates the JSON structure to ensure it is correctly formatted.
- Certain fields, such as the
ID
, cannot be set manually.
- Make the necessary changes and click
Save
.