LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
EventSeedInputData.h
Go to the documentation of this file.
1
9
#ifndef NUTOOLS_RANDOMUTILS_PROVIDERS_EVENTSEEDINPUTDATA_H
10
#define NUTOOLS_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
21
class
EventSeedInputData
{
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
31
RunNumber_t
runNumber
;
32
SubRunNumber_t
subRunNumber
;
33
EventNumber_t
eventNumber
;
34
TimeValue_t
time
;
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 // NUTOOLS_RANDOMUTILS_PROVIDERS_EVENTSEEDINPUTDATA_H
rndm::NuRandomServiceHelper::EventSeedInputData::isData
bool isData
whether processing real data
Definition:
EventSeedInputData.h:36
rndm::NuRandomServiceHelper::EventSeedInputData::moduleType
std::string moduleType
name of the class of the running module
Definition:
EventSeedInputData.h:39
rndm::NuRandomServiceHelper::EventSeedInputData::clear
void clear()
Resets all the fields.
Definition:
EventSeedInputData.h:47
rndm::NuRandomServiceHelper::EventSeedInputData::EventNumber_t
std::uint32_t EventNumber_t
Definition:
EventSeedInputData.h:25
rndm::NuRandomServiceHelper::EventSeedInputData::isTimeValid
bool isTimeValid
Definition:
EventSeedInputData.h:42
rndm::NuRandomServiceHelper::EventSeedInputData
Simple data structure with data needed to extract a seed from a event.
Definition:
EventSeedInputData.h:21
rndm::NuRandomServiceHelper::EventSeedInputData::processName
std::string processName
name of the running process
Definition:
EventSeedInputData.h:38
rndm::NuRandomServiceHelper::EventSeedInputData::RunNumber_t
std::uint32_t RunNumber_t
Definition:
EventSeedInputData.h:23
rndm::NuRandomServiceHelper::EventSeedInputData::time
TimeValue_t time
event time
Definition:
EventSeedInputData.h:34
rndm::NuRandomServiceHelper::EventSeedInputData::subRunNumber
SubRunNumber_t subRunNumber
subrun number
Definition:
EventSeedInputData.h:32
rndm::NuRandomServiceHelper::EventSeedInputData::eventNumber
EventNumber_t eventNumber
event number
Definition:
EventSeedInputData.h:33
rndm::NuRandomServiceHelper::EventSeedInputData::moduleLabel
std::string moduleLabel
label of the running module instance
Definition:
EventSeedInputData.h:40
rndm
Definition:
G4Helper.h:37
rndm::NuRandomServiceHelper::EventSeedInputData::SubRunNumber_t
std::uint32_t SubRunNumber_t
Definition:
EventSeedInputData.h:24
rndm::NuRandomServiceHelper::EventSeedInputData::runNumber
RunNumber_t runNumber
run number
Definition:
EventSeedInputData.h:31
rndm::NuRandomServiceHelper::EventSeedInputData::TimeValue_t
std::uint64_t TimeValue_t
Definition:
EventSeedInputData.h:26
nutools
RandomUtils
Providers
EventSeedInputData.h
Generated on Wed Dec 12 2018 14:43:07 for LArSoft by
1.8.11