artdaq::Globals Class Reference

The artdaq::Globals class contains several variables which are useful across the entire artdaq system. More...

#include <artdaq/DAQdata/Globals.hh>

List of all members.

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.
static std::string mftrace_module_ = "DAQ"
static std::string mftrace_iteration_ = "Booted"

Detailed Description

The artdaq::Globals class contains several variables which are useful across the entire artdaq system.

Definition at line 31 of file Globals.hh.


Member Function Documentation

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.

Returns:
A random number.

Definition at line 46 of file Globals.hh.


The documentation for this class was generated from the following files:

Generated on 15 Apr 2018 for artdaq by  doxygen 1.6.1