LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
EventSeedInputData.h
Go to the documentation of this file.
1 
9 #ifndef NURANDOM_RANDOMUTILS_PROVIDERS_EVENTSEEDINPUTDATA_H
10 #define NURANDOM_RANDOMUTILS_PROVIDERS_EVENTSEEDINPUTDATA_H 1
11 
12 // C/C++ standard libraries
13 #include <cstdint> // std::uint32_t
14 #include <string>
15 
16 
17 namespace rndm {
18  namespace NuRandomServiceHelper {
19 
22  public:
23  using RunNumber_t = std::uint32_t;
24  using SubRunNumber_t = std::uint32_t;
25  using EventNumber_t = std::uint32_t;
26  using TimeValue_t = std::uint64_t;
27 
30 
35 
36  bool isData;
37 
38  std::string processName;
39  std::string moduleType;
40  std::string moduleLabel;
41 
42  bool isTimeValid;
43 
45 
47  void clear()
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()
59 
60  }; // class EventSeedInputData
61  } // namespace NuRandomServiceHelper
62 } // namespace rndm
63 
64 
65 #endif // NURANDOM_RANDOMUTILS_PROVIDERS_EVENTSEEDINPUTDATA_H
bool isData
whether processing real data
std::string moduleType
name of the class of the running module
Simple data structure with data needed to extract a seed from a event.
std::string processName
name of the running process
std::string moduleLabel
label of the running module instance