Event generator information. More...
#include <MCTruth.h>
Public Member Functions | |
MCTruth () | |
const simb::MCGeneratorInfo & | GeneratorInfo () const |
simb::Origin_t | Origin () const |
int | NParticles () const |
const simb::MCParticle & | GetParticle (int i) const |
const simb::MCNeutrino & | GetNeutrino () const |
bool | NeutrinoSet () const |
void | Add (simb::MCParticle const &part) |
void | Add (simb::MCParticle &&part) |
void | SetGeneratorInfo (simb::Generator_t generator, const std::string &genVersion, const std::unordered_map< std::string, std::string > &genConfig) |
void | SetOrigin (simb::Origin_t origin) |
void | SetNeutrino (int CCNC, int mode, int interactionType, int target, int nucleon, int quark, double w, double x, double y, double qsqr) |
Private Attributes | |
std::vector< simb::MCParticle > | fPartList |
list of particles in this event More... | |
simb::MCNeutrino | fMCNeutrino |
reference to neutrino info - null if not a neutrino More... | |
simb::Origin_t | fOrigin |
origin for this event More... | |
simb::MCGeneratorInfo | fGenInfo |
information about the generator that produced this event More... | |
bool | fNeutrinoSet |
flag for whether the neutrino information has been set More... | |
Friends | |
std::ostream & | operator<< (std::ostream &o, simb::MCTruth const &a) |
simb::MCTruth::MCTruth | ( | ) |
Definition at line 21 of file MCTruth.cxx.
|
inline |
Definition at line 80 of file MCTruth.h.
|
inline |
Definition at line 81 of file MCTruth.h.
|
inline |
Definition at line 73 of file MCTruth.h.
|
inline |
Definition at line 77 of file MCTruth.h.
|
inline |
Definition at line 76 of file MCTruth.h.
|
inline |
Definition at line 78 of file MCTruth.h.
|
inline |
Definition at line 75 of file MCTruth.h.
|
inline |
|
inline |
Definition at line 84 of file MCTruth.h.
void simb::MCTruth::SetNeutrino | ( | int | CCNC, |
int | mode, | ||
int | interactionType, | ||
int | target, | ||
int | nucleon, | ||
int | quark, | ||
double | w, | ||
double | x, | ||
double | y, | ||
double | qsqr | ||
) |
Definition at line 30 of file MCTruth.cxx.
|
inline |
Definition at line 82 of file MCTruth.h.
|
friend |
Definition at line 70 of file MCTruth.cxx.
|
private |
|
private |
|
private |
|
private |
|
private |