Public Types | Public Member Functions | List of all members
rndm::NuRandomServiceHelper::EventSeedInputData Class Reference

Simple data structure with data needed to extract a seed from a event. More...

#include <EventSeedInputData.h>

Public Types

using RunNumber_t = std::uint32_t
 
using SubRunNumber_t = std::uint32_t
 
using EventNumber_t = std::uint32_t
 
using TimeValue_t = std::uint64_t
 

Public Member Functions

void clear ()
 Resets all the fields. More...
 

Public Attributes

Public data members
RunNumber_t runNumber
 run number More...
 
SubRunNumber_t subRunNumber
 subrun number More...
 
EventNumber_t eventNumber
 event number More...
 
TimeValue_t time
 event time More...
 
bool isData
 whether processing real data More...
 
std::string processName
 name of the running process More...
 
std::string moduleType
 name of the class of the running module More...
 
std::string moduleLabel
 label of the running module instance More...
 
bool isTimeValid
 

Detailed Description

Simple data structure with data needed to extract a seed from a event.

Definition at line 21 of file EventSeedInputData.h.

Member Typedef Documentation

Definition at line 25 of file EventSeedInputData.h.

Definition at line 23 of file EventSeedInputData.h.

Definition at line 24 of file EventSeedInputData.h.

Definition at line 26 of file EventSeedInputData.h.

Member Function Documentation

void rndm::NuRandomServiceHelper::EventSeedInputData::clear ( void  )
inline

Resets all the fields.

Definition at line 47 of file EventSeedInputData.h.

48  {
49  runNumber = 0;
50  subRunNumber = 0;
51  eventNumber = 0;
52  time = 0;
53  isData = false;
54  processName.clear();
55  moduleType.clear();
56  moduleLabel.clear();
57  isTimeValid = false;
58  } // clear()
bool isData
whether processing real data
std::string moduleType
name of the class of the running module
std::string processName
name of the running process
std::string moduleLabel
label of the running module instance

Member Data Documentation

EventNumber_t rndm::NuRandomServiceHelper::EventSeedInputData::eventNumber

event number

Definition at line 33 of file EventSeedInputData.h.

bool rndm::NuRandomServiceHelper::EventSeedInputData::isData

whether processing real data

Definition at line 36 of file EventSeedInputData.h.

bool rndm::NuRandomServiceHelper::EventSeedInputData::isTimeValid

whether timestamp is valid

Definition at line 42 of file EventSeedInputData.h.

std::string rndm::NuRandomServiceHelper::EventSeedInputData::moduleLabel

label of the running module instance

Definition at line 40 of file EventSeedInputData.h.

std::string rndm::NuRandomServiceHelper::EventSeedInputData::moduleType

name of the class of the running module

Definition at line 39 of file EventSeedInputData.h.

std::string rndm::NuRandomServiceHelper::EventSeedInputData::processName

name of the running process

Definition at line 38 of file EventSeedInputData.h.

RunNumber_t rndm::NuRandomServiceHelper::EventSeedInputData::runNumber

run number

Definition at line 31 of file EventSeedInputData.h.

SubRunNumber_t rndm::NuRandomServiceHelper::EventSeedInputData::subRunNumber

subrun number

Definition at line 32 of file EventSeedInputData.h.

TimeValue_t rndm::NuRandomServiceHelper::EventSeedInputData::time

event time

Definition at line 34 of file EventSeedInputData.h.


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