56 const std::unordered_map<std::string, std::string>& genConfig);
86 const std::unordered_map<std::string, std::string>& genConfig)
91 #endif //SIMB_MCTRUTH_H std::vector< simb::MCParticle > fPartList
list of particles in this event
const simb::MCNeutrino & GetNeutrino() const
void SetOrigin(simb::Origin_t origin)
simb::Origin_t Origin() const
enum simb::_ev_origin Origin_t
event origin types
_ev_origin
event origin types
enum simb::_ev_generator Generator_t
generator used to produce event, if applicable
void SetNeutrino(int CCNC, int mode, int interactionType, int target, int nucleon, int quark, double w, double x, double y, double qsqr)
simb::MCNeutrino fMCNeutrino
reference to neutrino info - null if not a neutrino
simb::MCGeneratorInfo fGenInfo
information about the generator that produced this event
single particles thrown at the detector
Base utilities and modules for event generation and detector simulation.
const simb::MCParticle & GetParticle(int i) const
simb::Origin_t fOrigin
origin for this event
friend std::ostream & operator<<(std::ostream &o, simb::MCTruth const &a)
void SetGeneratorInfo(simb::Generator_t generator, const std::string &genVersion, const std::unordered_map< std::string, std::string > &genConfig)
void Add(simb::MCParticle const &part)
Event generator information.
bool fNeutrinoSet
flag for whether the neutrino information has been set
Event generator information.
constexpr Point origin()
Returns a origin position with a point of the specified type.
const simb::MCGeneratorInfo & GeneratorInfo() const