Skip to content

Commit

Permalink
Updated docs for remotescripts
Browse files Browse the repository at this point in the history
  • Loading branch information
nothingface0 committed Aug 1, 2022
1 parent a4a361f commit cb0a5cc
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 42 deletions.
Binary file added docs/images/remotescripts-list.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/remotescripts-trackermaps-running.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
93 changes: 51 additions & 42 deletions docs/user-manual.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
.. role:: green
.. role:: yellow

User manual
===========
=============
User manual
=============

Roles
-----
=====

The Certhelper distinguishes between 3 different Roles

Expand All @@ -19,7 +20,7 @@ Each role has their set of rights which are explained in the following
chapters.

Login
-----
=====

The first thing a user has to do in order to be able to modify data is
to login. The recommended way of logging is using CERN Single
Expand All @@ -33,7 +34,7 @@ credentials and clicking on "Sign in".


Privileges from e-groups
~~~~~~~~~~~~~~~~~~~~~~~~
------------------------

Logging in with CERN updates the user privileges automatically, such
that shift leaders are detected by the e-groups the user is a member of.
Expand All @@ -54,10 +55,10 @@ Experts must be subscribed to:
- ``cms-dqm-certification-experts``

Shifter
-------
=======

Certification
~~~~~~~~~~~~~~~~~~~
-------------

Adding a new run certification can be done by clicking the accessing the Certification tile button on the main page.

Expand Down Expand Up @@ -116,7 +117,7 @@ Assuming the are no problems with the run the shifter has to fill the Reference
The Submit won't let you complete the action if the form is not filled correctly.

Checklists
^^^^^^^^^^
~~~~~~~~~~

The "Checklists" have to be checked to be
able to submit a new run certification. The checklists consist of
Expand All @@ -134,7 +135,7 @@ wants to edit a certified run, he can do so by clicking on the "Edit"
button in the list of certified runs.

List Runs
~~~~~~~~~~~~~~~~~~~
---------
Seeing the certified runs can be done by clicking the List Runs tile button on the main page.

.. image:: images/listruns-tile.png
Expand All @@ -146,7 +147,7 @@ Here the shiftleader or shifter could see all the certified runs he/she has cert
This page contains a table with all the certified runs that defaults for those certified in the current day and a filter where you can choose different day ranges, run numbers ranges and many more for precisely listing the desired runs.

Daily Shift Report
~~~~~~~~~~~~~~~~~~~
------------------

Clicking the Daily Shift Report tile button take you to the shifter report.

Expand All @@ -156,38 +157,46 @@ Once pressed, a daily shift report is generated automatically and can be used by

.. image:: images/daily-shift-report.png

Generate Tracker Maps
~~~~~~~~~~~~~~~~~~~~~
Remote Scripts
--------------

By using the Tracker Maps tile button you can access the page where you can generate tracker maps.
By using the Remote Scripts tile button you can access the page where you can generate tracker maps.

.. image:: images/tracker-maps-tile.png
.. image:: images/remotescripts-tile.png

In this page, a Shifter or Shift Leader can generate tracker maps for specific runs.
All they have to do is add the run number list (either comma or space separated
values) and select the type.
Once that is done, pressing the :guilabel:`Generate Tracker Maps` button will
start the process. The Shifter or Shift Leader can follow the process in real time by observing the logs of
the generating script.
From this page, a Shifter or Shift Leader can select to run scripts
(such as **Tracker Maps generation**) which can retrieve extre information
which can help during certification.

.. image:: images/tracker-maps.png
A list of currently available scripts can be seen below:

.. image:: images/remotescripts-list.png


.. note::

If multiple users visit the page, they will all be updated with execution logs of the
If multiple users try to use the same script at the same time,
they will all be updated with execution logs of the
running scripts at the same time.


Tracker Maps Generation
~~~~~~~~~~~~~~~~~~~~~~~

.. warning::
This script accepts the following arguments:

- The **type** (i.e. :guilabel:`StreamExpress`, :guilabel:`ZeroBias`, :guilabel:`StreamExpressCosmics` or
:guilabel:`Cosmics`)
- A **Run number list** (either comma or space separated values) and

Once that is done, pressing the :guilabel:`Submit` button will
start the process. The Shifter or Shift Leader can follow the process in real time by observing the logs of
the generating script.

.. image:: images/remotescripts-trackermaps-running.png

Currently, a user can execute the tracker map generation script multiple times. This
can overload the ``vocms066`` machine, so please wait for previous map generation to complete
before invoking the script again.


Shift Leader
------------
============

Once a shift leader logs in via CERN SSO, the website automatically
detects the shift leader status by the e-groups the user is associated
Expand All @@ -204,7 +213,7 @@ the ones used by Shifters.
.. image:: images/main-page.png

Add Reference Run
~~~~~~~~~~~~~~~~~
-----------------

A new reference run can be added by clicking on the :guilabel:`Add Reference Run` tile.

Expand Down Expand Up @@ -233,7 +242,7 @@ has not been certified yet will prompt the user to certify the run first.


Shift Leader View
~~~~~~~~~~~~~~~~~
-----------------

In the Shift Leader View, a Shift Leader receives information about all
the certified runs for the current week. The page consists of multiple
Expand All @@ -243,7 +252,7 @@ reports. This page can be accessed through the Shift Leader Report tile button.
.. image:: images/shiftleader-report.png

Filter
~~~~~~
------

At the top of the page, the shift leader can filter the certified runs
by his needs. If no filters were specified, then the current week is
Expand All @@ -257,7 +266,7 @@ whole shift leader page gets updated according to the specified
criteria.

Certified Runs tab
~~~~~~~~~~~~~~~~~~
------------------

In the "Certified Runs" tab a tabular list of all the certified runs for
the current week (or specified filter criteria) is shown. The shift
Expand All @@ -268,7 +277,7 @@ of certified runs correct in order to generate accurate shift leader reports.
.. image:: images/shiftleader-list-of-certified-runs.png

Run Registry Comparison tab
~~~~~~~~~~~~~~~~~~~~~~~~~~~
---------------------------

In the "Run Registry Comparison" tab, the shifter can verify that the
runs in the Certification helper match with the entries in the Run
Expand All @@ -279,35 +288,35 @@ accordingly.
.. image:: images/shiftleader-comparison.png

Overview tab
~~~~~~~~~~~~
------------

In the "Overview" tab a quick overview of the certified runs can be
seen. It also consists of the list of shifters for that week.

.. image:: images/shiftleader-overview.png

Delete Certifications
~~~~~~~~~~~~~~~~~~~~~
---------------------

If a run gets deleted by shift leader it can still be restored in the
"Deleted Certifications" tab. If the shift leader wishes he can also
irrevocably delete the certification of the run there.

Summary tab
~~~~~~~~~~~
-----------

In the "Summary" tab the shift leader can generate the same kind of
summary report that the shifters submit to the ELOG. It is just a
textual version of all the certifications.

Shift Leader Report tab
~~~~~~~~~~~~~~~~~~~~~~~
-----------------------

The most useful tab for shift leaders is the "Shift leader Report" tab.
It automatically generates slides for the weekly shift leader report.

List of LHC Fills
^^^^^^^^^^^^^^^^^
~~~~~~~~~~~~~~~~~

This page lists all the LHC fills that were part in a certification that
week. The LHC fill number is taken from the Run Registry via the resthub
Expand All @@ -316,7 +325,7 @@ API.
.. image:: images/shiftleader-report-fills.png

Weekly Certification
^^^^^^^^^^^^^^^^^^^^
~~~~~~~~~~~~~~~~~~~~

This tab generates the slide called "Weekly certification". It sums up
the number of certified runs for each type and the corresponding
Expand All @@ -325,14 +334,14 @@ integrated luminosity.
.. image:: images/shiftleader-report-weekly.png

Day by Day
^^^^^^^^^^
~~~~~~~~~~

The "Day by day" notes give a quick overview for each day of the week.

.. image:: images/shiftleader-report-day-by-day-menu.png

List of runs
^^^^^^^^^^^^
~~~~~~~~~~~~

This page list all the run numbers of runs certified that were certified
that week, grouped by reconstruction type and day. The run numbers are
Expand Down

0 comments on commit cb0a5cc

Please sign in to comment.