26 using namespace genie;
76 if(is_nucleus) res_pos = 4;
80 const TLorentzVector & x4 = *(res->
X4());
89 double mass[2] = { mnuc, mpi };
91 TLorentzVector * p4 = res->
GetP4();
104 TLorentzVector vdummy(0,0,0,0);
110 evrec->
AddParticle(nuc_pdgc, ist, mom,-1,-1,-1, p4_nuc, x4);
111 evrec->
AddParticle(pi_pdgc, ist, mom,-1,-1,-1, p4_pi, x4);
void AddResonanceDecayProducts(GHepRecord *event_rec) const
static SppChannel_t FromInteraction(const Interaction *interaction)
virtual GHepParticle * Particle(int position) const
RSPPHadronicSystemGenerator()
THE MAIN GENIE PROJECT NAMESPACE
virtual Interaction * Summary(void) const
bool IsNucleus(void) const
static int FinStateNucleon(SppChannel_t channel)
string P4AsString(const TLorentzVector *p)
double Mass(Resonance_t res)
resonance mass (GeV)
enum genie::ESppChannel SppChannel_t
Summary information for an interaction.
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE...
TGenPhaseSpace fPhaseSpaceGenerator
TLorentzVector * GetP4(void) const
static int FinStatePion(SppChannel_t channel)
void ProcessEventRecord(GHepRecord *event_rec) const
static PDGLibrary * Instance(void)
const TLorentzVector * X4(void) const
void SetStatus(GHepStatus_t s)
~RSPPHadronicSystemGenerator()
virtual void AddParticle(const GHepParticle &p)
const InitialState & InitState(void) const
Abstract class. Is used to pass some commonly recurring methods to all concrete implementations of th...
const Target & Tgt(void) const
GENIE's GHEP MC event record.
Most commonly used PDG codes. A set of utility functions to handle PDG codes is provided in PDGUtils...
STDHEP-like event record entry that can fit a particle or a nucleus.
enum genie::EGHepStatus GHepStatus_t
Initial State information.