LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
simb::MCGeneratorInfo Struct Reference

#include "MCGeneratorInfo.h"

Public Member Functions

 MCGeneratorInfo (Generator_t gen=Generator_t::kUnknown, const std::string ver="", const std::unordered_map< std::string, std::string > config={})
 

Public Attributes

simb::Generator_t generator
 event generator that generated this event More...
 
std::string generatorVersion
 event generator version More...
 
std::unordered_map< std::string, std::string > generatorConfig
 free-form field that can be used to keep track of generator configuration (e.g. GENIE tune) More...
 

Detailed Description

Definition at line 32 of file MCGeneratorInfo.h.

Constructor & Destructor Documentation

simb::MCGeneratorInfo::MCGeneratorInfo ( Generator_t  gen = Generator_t::kUnknown,
const std::string  ver = "",
const std::unordered_map< std::string, std::string >  config = {} 
)
inline

Definition at line 38 of file MCGeneratorInfo.h.

40  {})
41  : generator(gen), generatorVersion(ver), generatorConfig(config)
42  {}
simb::Generator_t generator
event generator that generated this event
std::string generatorVersion
event generator version
std::unordered_map< std::string, std::string > generatorConfig
free-form field that can be used to keep track of generator configuration (e.g. GENIE tune) ...

Member Data Documentation

simb::Generator_t simb::MCGeneratorInfo::generator

event generator that generated this event

Definition at line 34 of file MCGeneratorInfo.h.

Referenced by sim::dump::DumpMCTruth().

std::unordered_map<std::string, std::string> simb::MCGeneratorInfo::generatorConfig

free-form field that can be used to keep track of generator configuration (e.g. GENIE tune)

Definition at line 36 of file MCGeneratorInfo.h.

std::string simb::MCGeneratorInfo::generatorVersion

event generator version

Definition at line 35 of file MCGeneratorInfo.h.


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