GENIEGenerator
|
Keep info on the event generation thread currently on charge. This is used so that event generation modules invoked by the thread can see the "bigger picture" and access the cross section model for the thread, look-up info for modules that run before or are scheduled to run after etc. More...
#include <RunningThreadInfo.h>
Classes | |
struct | Cleaner |
clean More... | |
Public Member Functions | |
const EventGeneratorI * | RunningThread (void) |
void | UpdateRunningThread (const EventGeneratorI *evg) |
Static Public Member Functions | |
static RunningThreadInfo * | Instance (void) |
Private Member Functions | |
RunningThreadInfo () | |
RunningThreadInfo (const RunningThreadInfo &info) | |
virtual | ~RunningThreadInfo () |
Private Attributes | |
const EventGeneratorI * | fRunningThread |
current thread More... | |
Static Private Attributes | |
static RunningThreadInfo * | fInstance = 0 |
self More... | |
Friends | |
struct | Cleaner |
Keep info on the event generation thread currently on charge. This is used so that event generation modules invoked by the thread can see the "bigger picture" and access the cross section model for the thread, look-up info for modules that run before or are scheduled to run after etc.
Definition at line 29 of file RunningThreadInfo.h.
|
private |
Definition at line 20 of file RunningThreadInfo.cxx.
References fInstance.
Referenced by Instance().
|
private |
|
privatevirtual |
Definition at line 25 of file RunningThreadInfo.cxx.
References fInstance.
|
static |
Definition at line 30 of file RunningThreadInfo.cxx.
References genie::RunningThreadInfo::Cleaner::DummyMethodAndSilentCompiler(), fInstance, and RunningThreadInfo().
Referenced by genie::GEVGDriver::GenerateEvent(), genie::CEvNSEventGenerator::GenerateKinematics(), genie::COHDNuEventGenerator::GenerateKinematics(), genie::HELeptonKinematicsGenerator::ProcessEventRecord(), genie::NuEKinematicsGenerator::ProcessEventRecord(), genie::DFRKinematicsGenerator::ProcessEventRecord(), genie::DMEKinematicsGenerator::ProcessEventRecord(), genie::COHPrimaryLeptonGenerator::ProcessEventRecord(), genie::QELKinematicsGenerator::ProcessEventRecord(), genie::COHHadronicSystemGenerator::ProcessEventRecord(), genie::SKKinematicsGenerator::ProcessEventRecord(), genie::RESKinematicsGenerator::ProcessEventRecord(), genie::COHKinematicsGenerator::ProcessEventRecord(), genie::QELEventGenerator::ProcessEventRecord(), genie::IBDKinematicsGenerator::ProcessEventRecord(), genie::DMELKinematicsGenerator::ProcessEventRecord(), genie::QELEventGeneratorSuSA::ProcessEventRecord(), genie::DISKinematicsGenerator::ProcessEventRecord(), genie::NormGenerator::ProcessEventRecord(), genie::HEDISKinematicsGenerator::ProcessEventRecord(), genie::DMELEventGenerator::ProcessEventRecord(), genie::DMDISKinematicsGenerator::ProcessEventRecord(), genie::MECGenerator::ProcessEventRecord(), genie::QELEventGeneratorSM::ProcessEventRecord(), genie::SPPEventGenerator::ProcessEventRecord(), genie::MECGenerator::SelectEmpiricalKinematics(), genie::RSPPResonanceSelector::SelectResonance(), genie::QELKinematicsGenerator::SpectralFuncExperimentalCode(), and genie::DMELKinematicsGenerator::SpectralFuncExperimentalCode().
|
inline |
Definition at line 34 of file RunningThreadInfo.h.
References fRunningThread.
Referenced by genie::CEvNSEventGenerator::GenerateKinematics(), genie::COHDNuEventGenerator::GenerateKinematics(), genie::HELeptonKinematicsGenerator::ProcessEventRecord(), genie::NuEKinematicsGenerator::ProcessEventRecord(), genie::DFRKinematicsGenerator::ProcessEventRecord(), genie::DMEKinematicsGenerator::ProcessEventRecord(), genie::COHPrimaryLeptonGenerator::ProcessEventRecord(), genie::QELKinematicsGenerator::ProcessEventRecord(), genie::COHHadronicSystemGenerator::ProcessEventRecord(), genie::SKKinematicsGenerator::ProcessEventRecord(), genie::RESKinematicsGenerator::ProcessEventRecord(), genie::COHKinematicsGenerator::ProcessEventRecord(), genie::QELEventGenerator::ProcessEventRecord(), genie::DMELKinematicsGenerator::ProcessEventRecord(), genie::IBDKinematicsGenerator::ProcessEventRecord(), genie::QELEventGeneratorSuSA::ProcessEventRecord(), genie::DISKinematicsGenerator::ProcessEventRecord(), genie::NormGenerator::ProcessEventRecord(), genie::HEDISKinematicsGenerator::ProcessEventRecord(), genie::DMELEventGenerator::ProcessEventRecord(), genie::DMDISKinematicsGenerator::ProcessEventRecord(), genie::MECGenerator::ProcessEventRecord(), genie::QELEventGeneratorSM::ProcessEventRecord(), genie::SPPEventGenerator::ProcessEventRecord(), genie::MECGenerator::SelectEmpiricalKinematics(), genie::RSPPResonanceSelector::SelectResonance(), genie::QELKinematicsGenerator::SpectralFuncExperimentalCode(), and genie::DMELKinematicsGenerator::SpectralFuncExperimentalCode().
|
inline |
Definition at line 38 of file RunningThreadInfo.h.
References fRunningThread.
Referenced by genie::GEVGDriver::GenerateEvent().
|
friend |
Definition at line 64 of file RunningThreadInfo.h.
|
staticprivate |
self
Definition at line 49 of file RunningThreadInfo.h.
Referenced by Instance(), RunningThreadInfo(), genie::RunningThreadInfo::Cleaner::~Cleaner(), and ~RunningThreadInfo().
|
private |
current thread
Definition at line 52 of file RunningThreadInfo.h.
Referenced by RunningThread(), and UpdateRunningThread().