The artdaq::Globals class contains several variables which are useful across the entire artdaq system. More...
#include <artdaq/DAQdata/Globals.hh>
Static Public Member Functions | |
static uint32_t | seedAndRandom_ () |
Seed the C random number generator with the current time (if that has not been done already) and generate a random value. | |
Static Public Attributes | |
static int | my_rank_ = -1 |
The rank of the current application. | |
static MetricManager * | metricMan_ = nullptr |
A handle to MetricManager. | |
static std::string | app_name_ = "" |
The name of the current application, to be used in logging and metrics. |
The artdaq::Globals class contains several variables which are useful across the entire artdaq system.
Definition at line 26 of file Globals.hh.
static uint32_t artdaq::Globals::seedAndRandom_ | ( | ) | [inline, static] |
Seed the C random number generator with the current time (if that has not been done already) and generate a random value.
Definition at line 37 of file Globals.hh.