20 using namespace genie;
66 const TLorentzVector & p4v = *(nu->
P4());
67 const TLorentzVector & p4e = *(el->
P4());
68 const TLorentzVector & p4l = *(l->
P4());
69 const TLorentzVector & p4 = p4v + p4e - p4l;
72 const TLorentzVector & vtx = *(nu->
X4());
74 LOG(
"NuETargetRemnant",
pINFO) <<
"Adding final state lepton from e- vtx";
92 LOG(
"NuETargetRemnant",
pDEBUG) <<
"Adding final state nucleus";
101 <<
"Initial state not a nucleus - no remnant nucleus to add";
104 int A = init_state.
Tgt().
A();
105 int Z = init_state.
Tgt().
Z();
112 <<
"Adding nucleus [A = " << A <<
", Z = " << Z
113 <<
", pdgc = " << ipdgc <<
"]";
117 ipdgc,
kIStStableFinalState, mom,-1,-1,-1, 0,0,0,mass, 0,0,0,0);
THE MAIN GENIE PROJECT NAMESPACE
virtual GHepParticle * HitElectron(void) const
virtual Interaction * Summary(void) const
const TLorentzVector * P4(void) const
Defines the EventRecordVisitorI interface. Concrete implementations of this interface use the 'Visito...
bool IsInverseMuDecay(void) const
bool IsNucleus(void) const
bool IsIMDAnnihilation(void) const
virtual GHepParticle * Probe(void) const
Summary information for an interaction.
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE...
bool IsNuElectronElastic(void) const
A class encapsulating an enumeration of interaction types (EM, Weak-CC, Weak-NC) and scattering types...
void AddTargetNucleusRemnant(GHepRecord *evrec) const
virtual GHepParticle * FinalStatePrimaryLepton(void) const
virtual int HitElectronPosition(void) const
static PDGLibrary * Instance(void)
NuETargetRemnantGenerator()
const TLorentzVector * X4(void) const
int IonPdgCode(int A, int Z)
void ProcessEventRecord(GHepRecord *evrec) const
void AddElectronNeutrino(GHepRecord *evrec) const
virtual void AddParticle(const GHepParticle &p)
const InitialState & InitState(void) const
const ProcessInfo & ProcInfo(void) const
TParticlePDG * Find(int pdgc, bool must_exist=true)
const Target & Tgt(void) const
~NuETargetRemnantGenerator()
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.
virtual int TargetNucleusPosition(void) const
Initial State information.