30 using namespace genie;
76 const TLorentzVector & p4v = *(nu->
P4());
77 const TLorentzVector & p4e = *(el->
P4());
78 const TLorentzVector & p4l = *(l->
P4());
79 const TLorentzVector & p4 = p4v + p4e - p4l;
82 const TLorentzVector & vtx = *(nu->
X4());
84 LOG(
"DMETargetRemnant",
pINFO) <<
"Adding final state lepton from e- vtx";
100 LOG(
"DMETargetRemnant",
pDEBUG) <<
"Adding final state nucleus";
109 <<
"Initial state not a nucleus - no remnant nucleus to add";
112 int A = init_state.
Tgt().
A();
113 int Z = init_state.
Tgt().
Z();
120 <<
"Adding nucleus [A = " << A <<
", Z = " << Z
121 <<
", pdgc = " << ipdgc <<
"]";
125 ipdgc,
kIStStableFinalState, mom,-1,-1,-1, 0,0,0,mass, 0,0,0,0);
bool IsDarkMatterElectronElastic(void) const
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 IsNucleus(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...
static constexpr double A
A class encapsulating an enumeration of interaction types (EM, Weak-CC, Weak-NC) and scattering types...
virtual GHepParticle * FinalStatePrimaryLepton(void) const
virtual int HitElectronPosition(void) const
static PDGLibrary * Instance(void)
const TLorentzVector * X4(void) const
int IonPdgCode(int A, int Z)
const InitialState & InitState(void) const
virtual void AddParticle(const GHepParticle &p)
const ProcessInfo & ProcInfo(void) const
TParticlePDG * Find(int pdgc, bool must_exist=true)
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.
virtual int TargetNucleusPosition(void) const
Initial State information.