GENIEGenerator
|
An Interaction -> EventGeneratorI associative container. The container is being built for the loaded EventGeneratorList and for the input InitialState object and is being used to locate the generator that can generate aany given interaction. More...
#include <InteractionGeneratorMap.h>
Public Member Functions | |
InteractionGeneratorMap () | |
InteractionGeneratorMap (const InteractionGeneratorMap &igmap) | |
~InteractionGeneratorMap () | |
void | UseGeneratorList (const EventGeneratorList *list) |
void | BuildMap (const InitialState &init_state) |
const EventGeneratorI * | FindGenerator (const Interaction *in) const |
const InteractionList & | GetInteractionList (void) const |
void | Reset (void) |
void | Copy (const InteractionGeneratorMap &xsmap) |
void | Print (ostream &stream) const |
InteractionGeneratorMap & | operator= (const InteractionGeneratorMap &xsmap) |
Private Member Functions | |
void | Init (void) |
void | CleanUp (void) |
Private Attributes | |
const EventGeneratorList * | fEventGeneratorList |
InitialState * | fInitState |
InteractionList * | fInteractionList |
Friends | |
ostream & | operator<< (ostream &stream, const InteractionGeneratorMap &xsmap) |
An Interaction -> EventGeneratorI associative container. The container is being built for the loaded EventGeneratorList and for the input InitialState object and is being used to locate the generator that can generate aany given interaction.
Definition at line 44 of file InteractionGeneratorMap.h.
InteractionGeneratorMap::InteractionGeneratorMap | ( | ) |
InteractionGeneratorMap::InteractionGeneratorMap | ( | const InteractionGeneratorMap & | igmap | ) |
Definition at line 43 of file InteractionGeneratorMap.cxx.
References Copy().
InteractionGeneratorMap::~InteractionGeneratorMap | ( | ) |
void InteractionGeneratorMap::BuildMap | ( | const InitialState & | init_state | ) |
Definition at line 101 of file InteractionGeneratorMap.cxx.
References genie::InteractionList::Append(), genie::InitialState::AsString(), genie::Interaction::AsString(), genie::InitialState::Copy(), genie::InteractionListGeneratorI::CreateInteractionList(), fEventGeneratorList, fInitState, fInteractionList, genie::Algorithm::Id(), genie::EventGeneratorI::IntListGenerator(), genie::AlgId::Key(), LOG, pDEBUG, pNOTICE, pWARN, and SLOG.
|
private |
Definition at line 69 of file InteractionGeneratorMap.cxx.
References clear, fInitState, and fInteractionList.
Referenced by Reset(), and ~InteractionGeneratorMap().
void InteractionGeneratorMap::Copy | ( | const InteractionGeneratorMap & | xsmap | ) |
Definition at line 77 of file InteractionGeneratorMap.cxx.
References clear, fEventGeneratorList, fInitState, and fInteractionList.
Referenced by InteractionGeneratorMap(), and operator=().
const EventGeneratorI * InteractionGeneratorMap::FindGenerator | ( | const Interaction * | in | ) | const |
Definition at line 157 of file InteractionGeneratorMap.cxx.
References genie::Interaction::AsString(), LOG, and pWARN.
Referenced by genie::PhysInteractionSelector::SelectInteraction().
const InteractionList & InteractionGeneratorMap::GetInteractionList | ( | void | ) | const |
Definition at line 175 of file InteractionGeneratorMap.cxx.
References fInteractionList.
Referenced by genie::PhysInteractionSelector::SelectInteraction(), and genie::ToyInteractionSelector::SelectInteraction().
|
private |
Definition at line 61 of file InteractionGeneratorMap.cxx.
References fEventGeneratorList, fInitState, and fInteractionList.
Referenced by InteractionGeneratorMap(), and Reset().
InteractionGeneratorMap & InteractionGeneratorMap::operator= | ( | const InteractionGeneratorMap & | xsmap | ) |
Definition at line 203 of file InteractionGeneratorMap.cxx.
References Copy().
void InteractionGeneratorMap::Print | ( | ostream & | stream | ) | const |
Definition at line 180 of file InteractionGeneratorMap.cxx.
References genie::Algorithm::Id(), and genie::AlgId::Key().
Referenced by genie::operator<<().
void InteractionGeneratorMap::Reset | ( | void | ) |
void InteractionGeneratorMap::UseGeneratorList | ( | const EventGeneratorList * | list | ) |
Definition at line 96 of file InteractionGeneratorMap.cxx.
References fEventGeneratorList.
Referenced by genie::GEVGDriver::BuildInteractionGeneratorMap().
|
friend |
Definition at line 30 of file InteractionGeneratorMap.cxx.
|
private |
Definition at line 69 of file InteractionGeneratorMap.h.
Referenced by BuildMap(), Copy(), Init(), and UseGeneratorList().
|
private |
Definition at line 71 of file InteractionGeneratorMap.h.
Referenced by BuildMap(), CleanUp(), Copy(), and Init().
|
private |
Definition at line 72 of file InteractionGeneratorMap.h.
Referenced by BuildMap(), CleanUp(), Copy(), GetInteractionList(), and Init().