This package contains several utilities to start up the DAQ,
archive run parameters to COOL, send commands to the Run Control,
calculate the data taking efficiency, etc.
In addition this
package contains the run control and data taking efficiency plugins
for the web based monitoring (WMI).
The rc_ctp_emulator binary, which acts as master trigger and dispatches the commands to all active L2SVs (for DAQ partitions without a CTP/RoIB), can also be used as dummy master trigger in the absence of L2SVs. It will publish into IS the luminosity structure (as published by the CTP) that is used e.g. by LUCID.
The PAUSED state has been removed from all utilities according to che change of the Run Control FSM.
The setup_daq script now creates all log files indexed by partition name. Additional command line options have been created: -ne disables the creation of elog windows in the IGUI; -nc disables the pop-up message that the IGUI shows when the run control reaches the CONNECTED state (suggesting to check the run parameters). The obsolete parameters -newgui and -use_old_gui have been removed.
The reason for stopping the run is now archived into COOL for the ATLAS partition (folder /TDAQ/RunCtrl/StopReason in ATLAS_COOLONL_TDAQ, COMP200 database), for the purpose of a better analysis of data taking inefficiency sources.
The DAQ efficiency tools include options for evaluation of daily efficiency, for display of the reason for stopping the run and for evaluation of Simple and Complex dead time.
setup_daq <-h>: script to launch the DAQ.
rc_ctp_emulator <-h>: acts as a master trigger in partitions
without the CTP and broadcasts the trigger commands to the active
L2SVs in the partition.
rc_sound_player <-h>: a simple ERS
subscriber which plays configurable sounds on
callbacks.
rc_clocksetting <-h>: switches the source of the
clock used in the ATLAS partition.
rc_ready4recovery <-h>:
issues a ERS message that triggers the stop-less recovery of detector
channels (TDAQ_PARTITION and ERS streams have to be set in the
environment).
rc_pixel_ready_reactor <-h>: simple utility
which emulates the behavior of the expert system to bring the pixel
preamps up/down.
rc_print_partition_env <-h>: extracts the
main partition environment from a database. It also constructs the
environment necessary to launch the Root Controller. From within a
bash script the function get_partition_env ${TDAQ_PARTITION}
can be used after having sourced the file
${TDAQ_INST_PATH}/share/bin/setup_functions: this function
requires ${TDAQ_DB_DATA} to be set.
rc_commander: simple graphical
tool to send commands to a Controller.
rc_sendcommand <-h>:
sends commands to a Controller.
rc_isread <-h>: reads the RC
state of a controller from IS.
rc_waitstate <-h>: waits for
a controller to reach a particular RC state.
rc_timetest <-h>:
sends a series of commands to a Controller and measures the duration
of each transition.
rc_decode_detectormask <-h> : decodes a
numerical detector mask into human readable TTC partition
names.
rc_encode_detectormask <-h> : encodes a detector mask
into a bit coded number.
rc_print_root <-h>: prints the name
of the root controller and the top segment.
rc_print_tree <-h>:
prints the tree of controllers for a partition.
rc_getrunnumber
<-h>: gets the current run number for a partition from
IS.
rc_checkapps <-h>: dumps a tabular view of the
applications in a partition with their basic
properties.
rc_print_partition_env <-h>: extracts form the
database the basic environment for the partition.
rc_is2cool_archive
<-h>: inserts basic run information into COOL.
run_eff_display
<-h>: script to launch a display of run and beam information as
stored in /tmp/run.log.
rc_get_running_time <-h>: reads
information about running time from COOL database.
rc_get_efficiency
<-h>: reads efficiency information from COOL database.
eff_make_csv_file <-h>: creates a csv file with efficiency
information.
eff_make_combined_graphs <-h>: generates ROOT files
with DAQ efficiency information.
No APIs.
None.