33 TLorentzVector pnu(0,0,8,8);
44 LOG(
"test",
pINFO) <<
"Printing an interaction object";
63 LOG(
"test",
pINFO) <<
"Printing initial state after setting struck nucl/qrk";
68 LOG(
"test",
pINFO) <<
"Printing target after setting struck nucl/qrk";
78 LOG(
"test",
pINFO) <<
"Printing target after changing struck nucl";
89 LOG(
"test",
pINFO) <<
"Printing kinematics after setting x,y,Q2";
97 LOG(
"test",
pINFO) <<
"Printing kinematics after modifying x,y and adding W";
98 LOG(
"test",
pINFO) <<
"\n" << *wkine;
101 wkine->
Setx(0.25,
true);
102 wkine->
Sety(0.21,
true);
103 wkine->
SetW(2.89,
true);
105 LOG(
"test",
pINFO) <<
"Printing kinematics after setting 'selected'";
106 LOG(
"test",
pINFO) <<
"\n" << *wkine;
111 LOG(
"test",
pINFO) <<
"Printing kinematics after deleting 'running'";
112 LOG(
"test",
pINFO) <<
"\n" << *wkine;
117 LOG(
"test",
pINFO) <<
"Printing kinematics after copying 'selected'";
118 LOG(
"test",
pINFO) <<
"\n" << *wkine;
122 LOG(
"test",
pINFO) <<
"Printing the interaction object after all changes";
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE,...
Most commonly used PDG codes. A set of utility functions to handle PDG codes is provided in PDGUtils.
Initial State information.
const Target & Tgt(void) const
void SetProbeP4(const TLorentzVector &P4)
Target * TgtPtr(void) const
Summary information for an interaction.
InitialState * InitStatePtr(void) const
const InitialState & InitState(void) const
Kinematics * KinePtr(void) const
Generated/set kinematical variables for an event.
void Setx(double x, bool selected=false)
void SetQ2(double Q2, bool selected=false)
void ClearRunningValues(void)
void Sety(double y, bool selected=false)
void SetW(double W, bool selected=false)
void UseSelectedKinematics(void)
A class encapsulating an enumeration of interaction types (EM, Weak-CC, Weak-NC) and scattering types...
A Neutrino Interaction Target. Is a transparent encapsulation of quite different physical systems suc...
void SetHitNucP4(const TLorentzVector &p4)
void SetHitQrkPdg(int pdgc)
void SetHitNucPdg(int pdgc)
static const double kNucleonMass
THE MAIN GENIE PROJECT NAMESPACE