26 using namespace genie;
27 using namespace genie::constants;
55 if (fXSecModel->
Id().
Name() ==
"genie::ReinSehgalCOHPiPXSec") {
58 else if ((fXSecModel->
Id().
Name() ==
"genie::BergerSehgalCOHPiPXSec2015")) {
61 else if ((fXSecModel->
Id().
Name() ==
"genie::BergerSehgalFMCOHPiPXSec2015")) {
64 else if ((fXSecModel->
Id().
Name() ==
"genie::AlvarezRusoCOHPiPXSec")) {
68 LOG(
"COHPrimaryLeptonGenerator",
pFATAL) <<
69 "ProcessEventRecord >> Cannot calculate primary lepton for " <<
void CalculatePrimaryLepton_AlvarezRuso(GHepRecord *event_rec) const
Cross Section Calculation Interface.
void ProcessEventRecord(GHepRecord *event_rec) const
virtual Interaction * Summary(void) const
Defines the EventGeneratorI interface.
Generated/set kinematical variables for an event.
COHPrimaryLeptonGenerator()
Summary information for an interaction.
const TLorentzVector & FSLeptonP4(void) const
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE...
virtual void ProcessEventRecord(GHepRecord *evrec) const
const Kinematics & Kine(void) const
Abstract class. Is used to pass common implementation to concrete implementations of the EventRecordV...
TParticlePDG * FSPrimLepton(void) const
final state primary lepton
static RunningThreadInfo * Instance(void)
virtual const AlgId & Id(void) const
Get algorithm ID.
virtual void SetPolarization(GHepRecord *ev) const
virtual const XSecAlgorithmI * CrossSectionAlg(void) const =0
~COHPrimaryLeptonGenerator()
const EventGeneratorI * RunningThread(void)
virtual void AddToEventRecord(GHepRecord *ev, int pdgc, const TLorentzVector &p4) const
GENIE's GHEP MC event record.
Keep info on the event generation thread currently on charge. This is used so that event generation m...