14 #include "TDatabasePDG.h" 50 for(
unsigned int i = 1; i <
fPartList.size(); ++i){
60 CCNC, mode, interactionType,
61 target, nucleon, quark,
73 o <<
"This is a cosmic ray event" << std::endl;
75 o <<
"This is a beam neutrino event" << std::endl;
79 o <<
"This is a supernova neutrino event" << std::endl;
std::vector< simb::MCParticle > fPartList
list of particles in this event
const simb::MCNeutrino & GetNeutrino() const
cout<< "-> Edep in the target
simb::Origin_t Origin() const
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
const simb::MCParticle & GetParticle(int i) const
friend std::ostream & operator<<(std::ostream &o, simb::MCTruth const &a)
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
Event generator information.
bool fNeutrinoSet
flag for whether the neutrino information has been set
Event generator information.