GENIE Event Generation Driver. A minimalist user interface object for generating neutrino interactions. Each such object is configured for a given initial state and it drives all relevant GENIE neutrino interaction physics simulation code for that state. To set-up MC jobs involving a multitude of possible initial states, including arbitrarily complex neutrino flux and detector geometry descriptions, see the GMCJDriver object. More...
#include <GEVGDriver.h>
Public Member Functions | |
GEVGDriver () | |
~GEVGDriver () | |
void | UseSplines (void) |
void | SetEventGeneratorList (string listname) |
void | SetUnphysEventMask (const TBits &mask) |
void | Configure (int nu_pdgc, int Z, int A) |
void | Configure (const InitialState &init_state) |
EventRecord * | GenerateEvent (const TLorentzVector &nu4p) |
const InteractionList * | Interactions (void) const |
const EventGeneratorList * | EventGenerators (void) const |
const EventGeneratorI * | FindGenerator (const Interaction *interaction) const |
const Spline * | XSecSumSpline (void) const |
const Spline * | XSecSpline (const Interaction *interaction) const |
void | CreateSplines (int nknots=-1, double emax=-1, bool inLogE=true) |
double | XSecSum (const TLorentzVector &nup4) |
void | CreateXSecSumSpline (int nk, double Emin, double Emax, bool inlogE=true) |
Range1D_t | ValidEnergyRange (void) const |
void | Reset (void) |
void | Print (ostream &stream) const |
Private Member Functions | |
void | Init (void) |
void | CleanUp (void) |
void | BuildInitialState (const InitialState &init_state) |
void | BuildGeneratorList (void) |
void | BuildInteractionGeneratorMap (void) |
void | BuildInteractionSelector (void) |
void | AssertIsValidInitState (void) const |
Private Attributes | |
InitialState * | fInitState |
initial state information for driver instance More... | |
EventRecord * | fCurrentRecord |
ptr to the event record being processed More... | |
EventGeneratorList * | fEvGenList |
all Event Generators available at this job More... | |
InteractionSelectorI * | fIntSelector |
interaction selector More... | |
InteractionGeneratorMap * | fIntGenMap |
interaction -> generator assosiative container More... | |
TBits * | fUnphysEventMask |
controls whether unphysical events are returned More... | |
bool | fUseSplines |
controls whether xsecs are computed or interpolated More... | |
Spline * | fXSecSumSpl |
sum{xsec(all interactions | this init state)} More... | |
unsigned int | fNRecLevel |
recursive mode depth counter More... | |
string | fEventGenList |
list of event generators loaded by this driver (what used to be the $GEVGL setting) More... | |
Friends | |
ostream & | operator<< (ostream &stream, const GEVGDriver &driver) |
GENIE Event Generation Driver. A minimalist user interface object for generating neutrino interactions. Each such object is configured for a given initial state and it drives all relevant GENIE neutrino interaction physics simulation code for that state. To set-up MC jobs involving a multitude of possible initial states, including arbitrarily complex neutrino flux and detector geometry descriptions, see the GMCJDriver object.
August 06, 2004
Copyright (c) 2003-2020, The GENIE Collaboration For the full text of the license visit http://copyright.genie-mc.org
Definition at line 54 of file GEVGDriver.h.
GEVGDriver::GEVGDriver | ( | ) |
Definition at line 57 of file GEVGDriver.cxx.
GEVGDriver::~GEVGDriver | ( | ) |
Definition at line 62 of file GEVGDriver.cxx.
|
private |
Definition at line 698 of file GEVGDriver.cxx.
|
private |
Load event generators. The list of event generators is named by fEventGenList.
Definition at line 176 of file GEVGDriver.cxx.
|
private |
Definition at line 166 of file GEVGDriver.cxx.
|
private |
Map each possible interaction, for the given initial state, to one of the generators loaded up
Definition at line 189 of file GEVGDriver.cxx.
|
private |
Definition at line 208 of file GEVGDriver.cxx.
|
private |
Definition at line 121 of file GEVGDriver.cxx.
void GEVGDriver::Configure | ( | int | nu_pdgc, |
int | Z, | ||
int | A | ||
) |
Definition at line 137 of file GEVGDriver.cxx.
void GEVGDriver::Configure | ( | const InitialState & | init_state | ) |
Definition at line 145 of file GEVGDriver.cxx.
void GEVGDriver::CreateSplines | ( | int | nknots = -1 , |
double | emax = -1 , |
||
bool | inLogE = true |
||
) |
Definition at line 577 of file GEVGDriver.cxx.
void GEVGDriver::CreateXSecSumSpline | ( | int | nk, |
double | Emin, | ||
double | Emax, | ||
bool | inlogE = true |
||
) |
Definition at line 440 of file GEVGDriver.cxx.
|
inline |
Definition at line 80 of file GEVGDriver.h.
const EventGeneratorI * GEVGDriver::FindGenerator | ( | const Interaction * | interaction | ) | const |
Definition at line 357 of file GEVGDriver.cxx.
EventRecord * GEVGDriver::GenerateEvent | ( | const TLorentzVector & | nu4p | ) |
Definition at line 228 of file GEVGDriver.cxx.
|
private |
Definition at line 67 of file GEVGDriver.cxx.
const InteractionList * GEVGDriver::Interactions | ( | void | ) | const |
Definition at line 334 of file GEVGDriver.cxx.
void GEVGDriver::Print | ( | ostream & | stream | ) | const |
Definition at line 706 of file GEVGDriver.cxx.
void GEVGDriver::Reset | ( | void | ) |
Definition at line 131 of file GEVGDriver.cxx.
void GEVGDriver::SetEventGeneratorList | ( | string | listname | ) |
Definition at line 348 of file GEVGDriver.cxx.
void GEVGDriver::SetUnphysEventMask | ( | const TBits & | mask | ) |
Definition at line 219 of file GEVGDriver.cxx.
void GEVGDriver::UseSplines | ( | void | ) |
Definition at line 508 of file GEVGDriver.cxx.
Range1D_t GEVGDriver::ValidEnergyRange | ( | void | ) | const |
Definition at line 668 of file GEVGDriver.cxx.
const Spline * GEVGDriver::XSecSpline | ( | const Interaction * | interaction | ) | const |
Definition at line 488 of file GEVGDriver.cxx.
double GEVGDriver::XSecSum | ( | const TLorentzVector & | nup4 | ) |
Definition at line 373 of file GEVGDriver.cxx.
|
inline |
Definition at line 87 of file GEVGDriver.h.
|
friend |
Definition at line 50 of file GEVGDriver.cxx.
|
private |
ptr to the event record being processed
Definition at line 119 of file GEVGDriver.h.
|
private |
list of event generators loaded by this driver (what used to be the $GEVGL setting)
Definition at line 127 of file GEVGDriver.h.
|
private |
all Event Generators available at this job
Definition at line 120 of file GEVGDriver.h.
|
private |
initial state information for driver instance
Definition at line 118 of file GEVGDriver.h.
|
private |
interaction -> generator assosiative container
Definition at line 122 of file GEVGDriver.h.
|
private |
interaction selector
Definition at line 121 of file GEVGDriver.h.
|
private |
recursive mode depth counter
Definition at line 126 of file GEVGDriver.h.
|
private |
controls whether unphysical events are returned
Definition at line 123 of file GEVGDriver.h.
|
private |
controls whether xsecs are computed or interpolated
Definition at line 124 of file GEVGDriver.h.
|
private |
sum{xsec(all interactions | this init state)}
Definition at line 125 of file GEVGDriver.h.