Generates values for the kinematic variables describing neutrino-nucleus single kaon production events. Is a concrete implementation of the EventRecordVisitorI interface. More...
Public Member Functions | |
SKKinematicsGenerator () | |
SKKinematicsGenerator (string config) | |
~SKKinematicsGenerator () | |
void | ProcessEventRecord (GHepRecord *event_rec) const |
void | Configure (const Registry &config) |
void | Configure (string config) |
void | LoadConfig (void) |
void | CalculateKin_AtharSingleKaon (GHepRecord *event_rec) const |
double | ComputeMaxXSec (const Interaction *in) const |
double | Energy (const Interaction *in) const |
virtual void | FindConfig (void) |
virtual const Registry & | GetConfig (void) const |
Registry * | GetOwnedConfig (void) |
virtual const AlgId & | Id (void) const |
Get algorithm ID. More... | |
virtual AlgStatus_t | GetStatus (void) const |
Get algorithm status. More... | |
virtual bool | AllowReconfig (void) const |
virtual AlgCmp_t | Compare (const Algorithm *alg) const |
Compare with input algorithm. More... | |
virtual void | SetId (const AlgId &id) |
Set algorithm ID. More... | |
virtual void | SetId (string name, string config) |
const Algorithm * | SubAlg (const RgKey ®istry_key) const |
void | AdoptConfig (void) |
void | AdoptSubstructure (void) |
virtual void | Print (ostream &stream) const |
Print algorithm info. More... | |
Protected Member Functions | |
virtual double | MaxXSec (GHepRecord *evrec) const |
virtual double | FindMaxXSec (const Interaction *in) const |
virtual void | CacheMaxXSec (const Interaction *in, double xsec) const |
virtual CacheBranchFx * | AccessCacheBranch (const Interaction *in) const |
virtual void | AssertXSecLimits (const Interaction *in, double xsec, double xsec_max) const |
void | Initialize (void) |
void | DeleteConfig (void) |
void | DeleteSubstructure (void) |
Registry * | ExtractLocalConfig (const Registry &in) const |
Registry * | ExtractLowerConfig (const Registry &in, const string &alg_key) const |
Split an incoming configuration Registry into a block valid for the sub-algo identified by alg_key. More... | |
template<class T > | |
bool | GetParam (const RgKey &name, T &p, bool is_top_call=true) const |
template<class T > | |
bool | GetParamDef (const RgKey &name, T &p, const T &def) const |
template<class T > | |
bool | GetParamVect (const std::string &comm_name, std::vector< T > &v, unsigned int max, bool is_top_call=true) const |
int | AddTopRegistry (Registry *rp, bool owns=true) |
add registry with top priority, also update ownership More... | |
int | AddLowRegistry (Registry *rp, bool owns=true) |
add registry with lowest priority, also update ownership More... | |
int | MergeTopRegistry (const Registry &r) |
int | AddTopRegisties (const vector< Registry * > &rs, bool owns=false) |
Add registries with top priority, also udated Ownerships. More... | |
Protected Attributes | |
const XSecAlgorithmI * | fXSecModel |
double | fSafetyFactor |
maxxsec -> maxxsec * safety_factor More... | |
double | fMaxXSecDiffTolerance |
max{100*(xsec-maxxsec)/.5*(xsec+maxxsec)} if xsec>maxxsec More... | |
double | fEMin |
min E for which maxxsec is cached - forcing explicit calc. More... | |
bool | fGenerateUniformly |
uniform over allowed phase space + event weight? More... | |
bool | fAllowReconfig |
bool | fOwnsSubstruc |
true if it owns its substructure (sub-algs,...) More... | |
AlgId | fID |
algorithm name and configuration set More... | |
vector< Registry * > | fConfVect |
vector< bool > | fOwnerships |
ownership for every registry in fConfVect More... | |
AlgStatus_t | fStatus |
algorithm execution status More... | |
AlgMap * | fOwnedSubAlgMp |
local pool for owned sub-algs (taken out of the factory pool) More... | |
Private Attributes | |
double | fMinLog1MinusCosTheta |
Generates values for the kinematic variables describing neutrino-nucleus single kaon production events. Is a concrete implementation of the EventRecordVisitorI interface.
October 03, 2014
Copyright (c) 2003-2019, The GENIE Collaboration For the full text of the license visit http://copyright.genie-mc.org or see $GENIE/LICENSE
Definition at line 29 of file SKKinematicsGenerator.h.
SKKinematicsGenerator::SKKinematicsGenerator | ( | ) |
Definition at line 46 of file SKKinematicsGenerator.cxx.
SKKinematicsGenerator::SKKinematicsGenerator | ( | string | config | ) |
Definition at line 52 of file SKKinematicsGenerator.cxx.
SKKinematicsGenerator::~SKKinematicsGenerator | ( | ) |
Definition at line 58 of file SKKinematicsGenerator.cxx.
|
protectedvirtualinherited |
Definition at line 225 of file KineGeneratorWithCache.cxx.
References genie::Cache::AddCacheBranch(), ana::assert(), genie::Interaction::AsString(), genie::Cache::CacheBranchKey(), genie::Cache::FindCacheBranch(), genie::Algorithm::Id(), genie::Cache::Instance(), findDuplicateFiles::key, genie::AlgId::Key(), LOG, and pINFO.
Referenced by genie::KineGeneratorWithCache::CacheMaxXSec(), and genie::KineGeneratorWithCache::FindMaxXSec().
add registry with lowest priority, also update ownership
Definition at line 601 of file Algorithm.cxx.
Referenced by genie::EventGenerator::Configure().
|
protectedinherited |
Add registries with top priority, also udated Ownerships.
Definition at line 653 of file Algorithm.cxx.
add registry with top priority, also update ownership
Definition at line 585 of file Algorithm.cxx.
Referenced by genie::EventGeneratorListAssembler::AssembleGeneratorList().
Clone the configuration registry looked up from the configuration pool and take its ownership
Definition at line 394 of file Algorithm.cxx.
References Configure(), GetConfig(), LOG, and pNOTICE.
Referenced by genie::Algorithm::AllowReconfig().
Take ownership of the algorithms subtructure (sub-algorithms,...) by copying them from the AlgFactory pool to the local pool Also bring all the configuration variables to the top level config Registry. This can be used to group together a series of algorithms & their configurations and extract (a clone of) this group from the shared pools. Having a series of algorithms/configurations behaving as a monolithic block, with a single point of configuration (the top level) is to be used when bits & pieces of GENIE are used in isolation for data fitting or reweighting
Definition at line 408 of file Algorithm.cxx.
References genie::AlgFactory::AdoptAlgorithm(), genie::Algorithm::AdoptSubstructure(), GetConfig(), genie::AlgFactory::Instance(), genie::kRgAlg, LOG, pDEBUG, pNOTICE, and genie::RegistryItemI::TypeInfo().
Referenced by genie::Algorithm::AdoptSubstructure(), genie::Algorithm::AllowReconfig(), main(), and testReconfigInOwnedModules().
|
inlinevirtualinherited |
Allow reconfigration after initializaton? Algorithms may opt-out, if reconfiguration is not necessary, to improve event reweighting speed.
Definition at line 106 of file Algorithm.h.
References genie::Algorithm::AdoptConfig(), genie::Algorithm::AdoptSubstructure(), genie::Algorithm::Algorithm(), genie::Algorithm::Compare(), genie::Algorithm::DeleteConfig(), genie::Algorithm::DeleteSubstructure(), genie::Algorithm::ExtractLocalConfig(), genie::Algorithm::ExtractLowerConfig(), genie::Algorithm::fAllowReconfig, in, genie::Algorithm::Initialize(), genie::Algorithm::operator<<, genie::Algorithm::Print(), genie::Algorithm::SetId(), runNovaSAM::stream, and genie::Algorithm::SubAlg().
Referenced by genie::AlgFactory::ForceReconfiguration().
|
protectedvirtualinherited |
Definition at line 253 of file KineGeneratorWithCache.cxx.
References exit(), MakeMiniprodValidationCuts::f, genie::KineGeneratorWithCache::fMaxXSecDiffTolerance, LOG, pERROR, pFATAL, and pWARN.
Referenced by genie::COHKinematicsGenerator::CalculateKin_AlvarezRuso(), CalculateKin_AtharSingleKaon(), genie::COHKinematicsGenerator::CalculateKin_ReinSehgal(), genie::DFRKinematicsGenerator::ProcessEventRecord(), genie::NuEKinematicsGenerator::ProcessEventRecord(), genie::COHElKinematicsGenerator::ProcessEventRecord(), genie::QELKinematicsGenerator::ProcessEventRecord(), genie::RESKinematicsGenerator::ProcessEventRecord(), genie::IBDKinematicsGenerator::ProcessEventRecord(), genie::DMELKinematicsGenerator::ProcessEventRecord(), genie::DISKinematicsGenerator::ProcessEventRecord(), genie::QELEventGenerator::ProcessEventRecord(), genie::DMDISKinematicsGenerator::ProcessEventRecord(), genie::QELEventGeneratorSM::ProcessEventRecord(), genie::QELKinematicsGenerator::SpectralFuncExperimentalCode(), and genie::DMELKinematicsGenerator::SpectralFuncExperimentalCode().
|
protectedvirtualinherited |
Definition at line 193 of file KineGeneratorWithCache.cxx.
References genie::KineGeneratorWithCache::AccessCacheBranch(), genie::CacheBranchFx::AddValues(), genie::CacheBranchFx::CreateSpline(), E, genie::KineGeneratorWithCache::Energy(), LOG, genie::CacheBranchFx::Map(), pINFO, genie::CacheBranchFx::Spl(), and genie::Spline::XMax().
Referenced by genie::KineGeneratorWithCache::MaxXSec().
void SKKinematicsGenerator::CalculateKin_AtharSingleKaon | ( | GHepRecord * | event_rec | ) | const |
Definition at line 77 of file SKKinematicsGenerator.cxx.
References genie::KineGeneratorWithCache::AssertXSecLimits(), beta, genie::Kinematics::ClearRunningValues(), dx, enu, genie::GHepRecord::EventFlags(), genie::Interaction::ExclTag(), genie::KineGeneratorWithCache::fGenerateUniformly, genie::PDGLibrary::Find(), fMinLog1MinusCosTheta, genie::Interaction::FSPrimLeptonPdg(), genie::KineGeneratorWithCache::fXSecModel, genie::InitialState::GetProbeP4(), genie::Target::HitNucP4(), genie::Interaction::InitState(), genie::Interaction::InitStatePtr(), genie::PDGLibrary::Instance(), genie::RandomGen::Instance(), genie::utils::mec::J(), genie::Interaction::KinePtr(), genie::kISkipKinematicChk, genie::kISkipProcessChk, genie::kKineGenErr, genie::kKVctl, genie::kKVphikq, genie::kKVSelctl, genie::kKVSelphikq, genie::kKVSelTk, genie::kKVSelTl, genie::kKVTk, genie::kKVTl, kPi, genie::kPSTkTlctl, genie::kRfHitNucRest, genie::controls::kRjMaxIterations, LOG, Mag2(), genie::Target::Mass(), cet::sqlite::max(), genie::KineGeneratorWithCache::MaxXSec(), pDEBUG, std_candles::pl, pNOTICE, pWARN, genie::utils::kinematics::Q2(), generate_hists::rnd, genie::RandomGen::RndKine(), genie::GHepRecord::SetDiffXSec(), genie::Kinematics::SetKV(), genie::Kinematics::SetQ2(), genie::exceptions::EVGThreadException::SetReason(), genie::Kinematics::SetW(), genie::GHepRecord::SetWeight(), genie::Kinematics::Setx(), genie::Kinematics::Sety(), ana::Sqrt(), genie::XclsTag::StrangeHadronPdg(), genie::GHepRecord::Summary(), genie::exceptions::EVGThreadException::SwitchOnFastForward(), confusionMatrixTree::t, genie::InitialState::Tgt(), moon_position_table_new3::tl(), genie::GHepRecord::Weight(), submit_syst::x, xmax, make_mec_shifts_plots::xmin, genie::XSecAlgorithmI::XSec(), xsec, and submit_syst::y.
Referenced by ProcessEventRecord().
Compare with input algorithm.
Definition at line 294 of file Algorithm.cxx.
References genie::AlgId::Config(), genie::Algorithm::Id(), genie::kAlgCmpDiffAlg, genie::kAlgCmpDiffConfig, genie::kAlgCmpIdentical, genie::kAlgCmpUnknown, and genie::AlgId::Name().
Referenced by genie::Algorithm::AllowReconfig().
|
virtual |
Implements genie::KineGeneratorWithCache.
Definition at line 251 of file SKKinematicsGenerator.cxx.
References genie::Interaction::AsString(), dx, enu, genie::Interaction::ExclTag(), genie::PDGLibrary::Find(), fMinLog1MinusCosTheta, genie::KineGeneratorWithCache::fSafetyFactor, genie::Interaction::FSPrimLeptonPdg(), genie::KineGeneratorWithCache::fXSecModel, MECModelEnuComparisons::i, genie::Algorithm::Id(), genie::Interaction::InitState(), genie::PDGLibrary::Instance(), calib::j, genie::Interaction::KinePtr(), genie::kKVctl, genie::kKVphikq, genie::kKVTk, genie::kKVTl, kPi, genie::kPSTkTlctl, genie::kRfHitNucRest, LOG, pDEBUG, pINFO, genie::InitialState::ProbeE(), genie::Kinematics::SetKV(), SLOG, genie::XclsTag::StrangeHadronPdg(), moon_position_table_new3::tl(), xmax, make_mec_shifts_plots::xmin, genie::XSecAlgorithmI::XSec(), and xsec.
Configure the algorithm with an external registry The registry is merged with the top level registry if it is owned, Otherwise a copy of it is added with the highest priority
Reimplemented from genie::Algorithm.
Definition at line 355 of file SKKinematicsGenerator.cxx.
References genie::Algorithm::Configure(), and LoadConfig().
Configure the algorithm from the AlgoConfigPool based on param_set string given in input An algorithm contains a vector of registries coming from different xml configuration files, which are loaded according a very precise prioriy This methods will load a number registries in order of priority: 1) "Tunable" parameter set from CommonParametes. This is loaded with the highest prioriry and it is designed to be used for tuning procedure Usage not expected from the user. 2) For every string defined in "CommonParame" the corresponding parameter set will be loaded from CommonParameter.xml 3) parameter set specified by the config string and defined in the xml file of the algorithm 4) if config is not "Default" also the Default parameter set from the same xml file will be loaded Effectively this avoids the repetion of a parameter when it is not changed in the requested configuration
Reimplemented from genie::Algorithm.
Definition at line 361 of file SKKinematicsGenerator.cxx.
References genie::Algorithm::Configure(), and LoadConfig().
Definition at line 471 of file Algorithm.cxx.
References MECModelEnuComparisons::i.
Referenced by genie::Algorithm::AllowReconfig().
Definition at line 496 of file Algorithm.cxx.
Referenced by genie::Algorithm::AllowReconfig().
|
virtual |
Reimplemented from genie::KineGeneratorWithCache.
Definition at line 345 of file SKKinematicsGenerator.cxx.
References E, genie::Interaction::InitState(), genie::kRfLab, and genie::InitialState::ProbeE().
Split an incoming configuration Registry into a block valid for this algorithm Ownership of the returned registry belongs to the algo
Definition at line 518 of file Algorithm.cxx.
References genie::RegistryItemI::Clone(), genie::Registry::GetItemMap(), genie::Registry::Name(), and confusionMatrixTree::out.
Referenced by genie::Algorithm::AllowReconfig().
|
protectedinherited |
Split an incoming configuration Registry into a block valid for the sub-algo identified by alg_key.
Definition at line 549 of file Algorithm.cxx.
References genie::RegistryItemI::Clone(), genie::Registry::GetItemMap(), genie::Registry::Name(), and confusionMatrixTree::out.
Referenced by genie::Algorithm::AllowReconfig().
Lookup configuration from the config pool Similar logic from void Configure(string)
Definition at line 135 of file Algorithm.cxx.
References gen_hdf5record::config, exit(), genie::AlgConfigPool::FindRegistry(), genie::Registry::GetItemMap(), genie::Registry::GetString(), MECModelEnuComparisons::i, genie::AlgConfigPool::Instance(), it, genie::Registry::ItemIsLocal(), parse_dependency_file_t::list, LOG, pDEBUG, pFATAL, time_estimates::pool, pWARN, moon_position_table_new3::second, genie::utils::str::Split(), string, and APDHVSetting::temp.
|
protectedvirtualinherited |
Definition at line 108 of file KineGeneratorWithCache.cxx.
References genie::KineGeneratorWithCache::AccessCacheBranch(), dE, E, genie::KineGeneratorWithCache::Energy(), genie::Spline::Evaluate(), genie::KineGeneratorWithCache::fEMin, LOG, genie::CacheBranchFx::Map(), pINFO, genie::CacheBranchFx::Spl(), genie::Spline::XMax(), and genie::Spline::XMin().
Referenced by genie::KineGeneratorWithCache::MaxXSec().
Get configuration registry Evaluate the summary of the configuration and returns it The summary of a configuration is a merge of all the registries known to the algorithm (see Configure() methods) but every parameter is appearing only once and in case of repetitions, only the parameter from the registry with the highest prioriry is considered.
Definition at line 254 of file Algorithm.cxx.
References febshutoff_auto::end, genie::Algorithm::GetConfig(), MECModelEnuComparisons::i, LOG, pDEBUG, r(), and moon_position_table_new3::second.
Referenced by genie::EventGeneratorListAssembler::AssembleGeneratorList(), GetAlgorithms(), genie::Algorithm::GetConfig(), genie::GRV98LO::GRV98LO(), genie::NewQELXSec::Integrate(), genie::LHAPDF5::LHAPDF5(), genie::IBDXSecMap::LoadConfig(), genie::Decayer::LoadConfig(), genie::PythiaHadronization::LoadConfig(), genie::FGMBodekRitchie::LoadConfig(), genie::NuclearModelMap::LoadConfig(), genie::SmithMonizUtils::LoadConfig(), main(), genie::AlgFactory::Print(), TestPythiaTauDecays(), testReconfigInOwnedModules(), and genie::P33PaschosLalakulichPXSec::XSec().
Returns the pointer of the summary registry, see previous method Gives access to the summary so it could be changed. The usage of this method is deprecated as it is mantained only for back compatibility. If you need to add or chage a parter (or more), use the AddTopRegistry() instead
Definition at line 287 of file Algorithm.cxx.
References GetConfig().
Referenced by genie::TransverseEnhancementFFModel::LoadConfig(), and genie::EffectiveSF::LoadConfig().
|
protectedinherited |
Ideal access to a parameter value from the vector of registries Returns true if the value is found and the parameters is set
Referenced by genie::CollinsSpillerFragm::BuildFunction(), genie::PetersonFragm::BuildFunction(), genie::INukeDeltaPropg::LoadConfig(), genie::COHXSec::LoadConfig(), genie::DISXSec::LoadConfig(), genie::HadronTransporter::LoadConfig(), genie::DFRKinematicsGenerator::LoadConfig(), genie::RSHelicityAmplModelNCn::LoadConfig(), genie::RSHelicityAmplModelNCp::LoadConfig(), genie::BaryonResonanceDecayer::LoadConfig(), genie::RESKinematicsGenerator::LoadConfig(), genie::DMDISXSec::LoadConfig(), genie::DipoleAxialFormFactorModel::LoadConfig(), genie::DipoleELFormFactorsModel::LoadConfig(), genie::COHKinematicsGenerator::LoadConfig(), genie::VertexGenerator::LoadConfig(), genie::H3AMNuGammaPXSec::LoadConfig(), genie::RSPPResonanceSelector::LoadConfig(), genie::IBDXSecMap::LoadConfig(), genie::Decayer::LoadConfig(), genie::DISHadronicSystemGenerator::LoadConfig(), genie::EmpiricalMECPXSec2015::LoadConfig(), genie::COHElasticPXSec::LoadConfig(), genie::KuzminNaumov2016AxialFormFactorModel::LoadConfig(), genie::SlowRsclCharmDISPXSecLO::LoadConfig(), genie::UnstableParticleDecayer::LoadConfig(), genie::AhrensNCELPXSec::LoadConfig(), genie::AlamSimoAtharVacasSKPXSec2014::LoadConfig(), genie::PythiaHadronization::LoadConfig(), genie::ReinDFRPXSec::LoadConfig(), genie::BYPDF::LoadConfig(), genie::QPMDISPXSec::LoadConfig(), genie::DFRXSec::LoadConfig(), genie::RosenbluthPXSec::LoadConfig(), genie::StrumiaVissaniIBDPXSec::LoadConfig(), genie::MECGenerator::LoadConfig(), genie::KNOPythiaHadronization::LoadConfig(), genie::P33PaschosLalakulichPXSec::LoadConfig(), genie::AhrensDMELPXSec::LoadConfig(), genie::MECXSec::LoadConfig(), genie::AivazisCharmPXSecLO::LoadConfig(), genie::BergerSehgalFMCOHPiPXSec2015::LoadConfig(), genie::ZExpAxialFormFactorModel::LoadConfig(), genie::QPMDMDISPXSec::LoadConfig(), genie::BergerSehgalCOHPiPXSec2015::LoadConfig(), genie::BBA03ELFormFactorsModel::LoadConfig(), genie::BBA05ELFormFactorsModel::LoadConfig(), genie::LwlynSmithQELCCPXSec::LoadConfig(), genie::ReinSehgalRESXSec::LoadConfig(), genie::NuElectronPXSec::LoadConfig(), genie::PrimaryLeptonGenerator::LoadConfig(), genie::PaisQELLambdaPXSec::LoadConfig(), genie::FGMBodekRitchie::LoadConfig(), genie::SpectralFunc1d::LoadConfig(), genie::ReinSehgalCOHPiPXSec::LoadConfig(), genie::OutgoingDarkGenerator::LoadConfig(), genie::LHAPDF6::LoadConfig(), genie::NievesSimoVacasMECPXSec2016::LoadConfig(), genie::CharmHadronization::LoadConfig(), genie::ReinSehgalRESXSecFast::LoadConfig(), genie::ReinSehgalSPPXSec::LoadConfig(), genie::EventGenerator::LoadConfig(), genie::NuclearModelMap::LoadConfig(), genie::ReinSehgalRESPXSec::LoadConfig(), genie::LwlynSmithFF::LoadConfig(), genie::SmithMonizQELCCPXSec::LoadConfig(), genie::QPMDISStrucFuncBase::LoadConfig(), genie::BBA07ELFormFactorsModel::LoadConfig(), genie::HAIntranuke::LoadConfig(), genie::NievesQELCCPXSec::LoadConfig(), genie::HAIntranuke2018::LoadConfig(), genie::HNIntranuke2018::LoadConfig(), genie::LocalFGM::LoadConfig(), genie::BSKLNBaseRESPXSec2014::LoadConfig(), genie::EffectiveSF::LoadConfig(), genie::ReinSehgalSPPPXSec::LoadConfig(), genie::KNOHadronization::LoadConfig(), genie::SmithMonizUtils::LoadConfig(), genie::MECInteractionListGenerator::LoadConfigData(), genie::PhysInteractionSelector::LoadConfigData(), genie::RESInteractionListGenerator::LoadConfigData(), genie::PauliBlocker::LoadModelType(), genie::BYStrucFunc::ReadBYParams(), and genie::LHAPDF5::SetPDFSetFromConfig().
|
protectedinherited |
Ideal access to a parameter value from the vector of registries, With default value. Returns true if the value is set from the registries, false if the value is the default
Referenced by genie::IMDXSec::LoadConfig(), genie::COHXSec::LoadConfig(), genie::RESXSec::LoadConfig(), genie::DISXSec::LoadConfig(), genie::DFRKinematicsGenerator::LoadConfig(), genie::COHXSecAR::LoadConfig(), genie::QELXSec::LoadConfig(), genie::RESKinematicsGenerator::LoadConfig(), genie::DMDISXSec::LoadConfig(), genie::BaryonResonanceDecayer::LoadConfig(), LoadConfig(), genie::COHElKinematicsGenerator::LoadConfig(), genie::NuEKinematicsGenerator::LoadConfig(), genie::COHKinematicsGenerator::LoadConfig(), genie::IBDKinematicsGenerator::LoadConfig(), genie::NuEInteractionListGenerator::LoadConfig(), genie::QELKinematicsGenerator::LoadConfig(), genie::DMELXSec::LoadConfig(), genie::DISHadronicSystemGenerator::LoadConfig(), genie::DISKinematicsGenerator::LoadConfig(), genie::NucBindEnergyAggregator::LoadConfig(), genie::DMELKinematicsGenerator::LoadConfig(), genie::DMDISKinematicsGenerator::LoadConfig(), genie::QPMDISPXSec::LoadConfig(), genie::DFRXSec::LoadConfig(), genie::QELEventGenerator::LoadConfig(), genie::P33PaschosLalakulichPXSec::LoadConfig(), genie::MECXSec::LoadConfig(), genie::FermiMover::LoadConfig(), genie::AlamSimoAtharVacasSKXSec::LoadConfig(), genie::AhrensDMELPXSec::LoadConfig(), genie::NuElectronXSec::LoadConfig(), genie::QPMDMDISPXSec::LoadConfig(), genie::LwlynSmithQELCCPXSec::LoadConfig(), genie::ReinSehgalRESXSec::LoadConfig(), genie::FGMBodekRitchie::LoadConfig(), genie::ReinSehgalRESXSecFast::LoadConfig(), genie::KovalenkoQELCharmPXSec::LoadConfig(), genie::SmithMonizQELCCXSec::LoadConfig(), genie::ReinSehgalSPPXSec::LoadConfig(), genie::ReinSehgalRESPXSec::LoadConfig(), genie::QELEventGeneratorSM::LoadConfig(), genie::QPMDISStrucFuncBase::LoadConfig(), genie::SmithMonizQELCCPXSec::LoadConfig(), genie::NievesQELCCPXSec::LoadConfig(), genie::HAIntranuke::LoadConfig(), genie::LocalFGM::LoadConfig(), genie::HNIntranuke2018::LoadConfig(), genie::HAIntranuke2018::LoadConfig(), genie::BSKLNBaseRESPXSec2014::LoadConfig(), genie::EffectiveSF::LoadConfig(), genie::KNOHadronization::LoadConfig(), genie::NewQELXSec::LoadConfig(), genie::QELInteractionListGenerator::LoadConfigData(), genie::MECInteractionListGenerator::LoadConfigData(), genie::DFRInteractionListGenerator::LoadConfigData(), genie::SKInteractionListGenerator::LoadConfigData(), genie::COHInteractionListGenerator::LoadConfigData(), genie::RESInteractionListGenerator::LoadConfigData(), genie::DMELInteractionListGenerator::LoadConfigData(), genie::RSPPInteractionListGenerator::LoadConfigData(), genie::DISInteractionListGenerator::LoadConfigData(), and genie::DMDISInteractionListGenerator::LoadConfigData().
|
protectedinherited |
Handle to load vectors of parameters It looks for different registry item with name comm_name0, comm_name1, etc...
|
inlinevirtualinherited |
Get algorithm status.
Definition at line 101 of file Algorithm.h.
References genie::Algorithm::fStatus.
Get algorithm ID.
Definition at line 98 of file Algorithm.h.
References genie::Algorithm::fID.
Referenced by genie::KineGeneratorWithCache::AccessCacheBranch(), genie::QELEventGeneratorSM::AccessCacheBranch2(), genie::QELEventGeneratorSM::AccessCacheBranchDiffv(), genie::InteractionListAssembler::AssembleInteractionList(), genie::XSecAlgorithmMap::BuildMap(), genie::InteractionGeneratorMap::BuildMap(), genie::XSecSplineList::BuildSplineKey(), genie::DISXSec::CacheBranchName(), genie::ReinSehgalRESXSecWithCache::CacheBranchName(), genie::DMDISXSec::CacheBranchName(), genie::ReinSehgalRESXSecWithCacheFast::CacheBranchName(), genie::Algorithm::Compare(), genie::RESKinematicsGenerator::ComputeMaxXSec(), genie::COHElKinematicsGenerator::ComputeMaxXSec(), ComputeMaxXSec(), genie::COHKinematicsGenerator::ComputeMaxXSec(), genie::Algorithm::Configure(), genie::GEVGDriver::CreateSplines(), genie::QPMDISPXSec::DISRESJoinSuppressionFactor(), genie::QPMDMDISPXSec::DMDISRESJoinSuppressionFactor(), genie::AlgConfigPool::FindRegistry(), genie::AlgFactory::ForceReconfiguration(), genie::GEVGDriver::GenerateEvent(), GetAlgorithms(), genie::LwlynSmithQELCCPXSec::Integral(), genie::NievesQELCCPXSec::Integral(), genie::COHXSec::Integrate(), genie::QPMDISPXSec::LoadConfig(), genie::QPMDMDISPXSec::LoadConfig(), genie::EventGenerator::LoadConfig(), genie::EventGeneratorListAssembler::LoadGenerator(), main(), genie::COHKinematicsGenerator::MaxXSec_AlvarezRuso(), genie::XSecAlgorithmMap::Print(), genie::InteractionGeneratorMap::Print(), genie::AlgFactory::Print(), genie::COHHadronicSystemGenerator::ProcessEventRecord(), genie::COHPrimaryLeptonGenerator::ProcessEventRecord(), genie::COHKinematicsGenerator::ProcessEventRecord(), genie::MECGenerator::ProcessEventRecord(), genie::EventGenerator::ProcessEventRecord(), genie::KNOPythiaHadronization::SelectHadronizer(), TestPythiaTauDecays(), and genie::GEVGDriver::UseSplines().
Definition at line 343 of file Algorithm.cxx.
Referenced by genie::Algorithm::AllowReconfig().
Definition at line 367 of file SKKinematicsGenerator.cxx.
References ana::assert(), genie::KineGeneratorWithCache::fEMin, genie::KineGeneratorWithCache::fGenerateUniformly, genie::KineGeneratorWithCache::fMaxXSecDiffTolerance, fMinLog1MinusCosTheta, genie::KineGeneratorWithCache::fSafetyFactor, and genie::Algorithm::GetParamDef().
Referenced by Configure().
|
protectedvirtualinherited |
Definition at line 68 of file KineGeneratorWithCache.cxx.
References genie::KineGeneratorWithCache::CacheMaxXSec(), genie::KineGeneratorWithCache::ComputeMaxXSec(), genie::GHepRecord::EventFlags(), genie::KineGeneratorWithCache::FindMaxXSec(), genie::kISkipKinematicChk, genie::kISkipProcessChk, genie::kKineGenErr, genie::kPSNull, LOG, pINFO, pNOTICE, genie::GHepRecord::SetDiffXSec(), genie::exceptions::EVGThreadException::SetReason(), genie::GHepRecord::Summary(), and genie::exceptions::EVGThreadException::SwitchOnFastForward().
Referenced by genie::COHKinematicsGenerator::CalculateKin_AlvarezRuso(), CalculateKin_AtharSingleKaon(), genie::COHKinematicsGenerator::CalculateKin_BergerSehgal(), genie::COHKinematicsGenerator::CalculateKin_BergerSehgalFM(), genie::COHKinematicsGenerator::CalculateKin_ReinSehgal(), genie::DFRKinematicsGenerator::ProcessEventRecord(), genie::NuEKinematicsGenerator::ProcessEventRecord(), genie::COHElKinematicsGenerator::ProcessEventRecord(), genie::QELKinematicsGenerator::ProcessEventRecord(), genie::RESKinematicsGenerator::ProcessEventRecord(), genie::DMELKinematicsGenerator::ProcessEventRecord(), genie::IBDKinematicsGenerator::ProcessEventRecord(), genie::DISKinematicsGenerator::ProcessEventRecord(), genie::QELEventGenerator::ProcessEventRecord(), genie::DMDISKinematicsGenerator::ProcessEventRecord(), genie::QELEventGeneratorSM::ProcessEventRecord(), genie::QELKinematicsGenerator::SpectralFuncExperimentalCode(), and genie::DMELKinematicsGenerator::SpectralFuncExperimentalCode().
Merge with top level registry if first reg of the vector is owned Otherwise an owned copy is added as a top registry
Definition at line 618 of file Algorithm.cxx.
|
virtualinherited |
Print algorithm info.
Definition at line 323 of file Algorithm.cxx.
References GetConfig(), and r().
Referenced by genie::Algorithm::AllowReconfig(), and genie::operator<<().
|
virtual |
Implements genie::EventRecordVisitorI.
Definition at line 63 of file SKKinematicsGenerator.cxx.
References CalculateKin_AtharSingleKaon(), genie::EventGeneratorI::CrossSectionAlg(), genie::KineGeneratorWithCache::fGenerateUniformly, genie::KineGeneratorWithCache::fXSecModel, genie::RunningThreadInfo::Instance(), LOG, pNOTICE, and genie::RunningThreadInfo::RunningThread().
Set algorithm ID.
Definition at line 313 of file Algorithm.cxx.
Referenced by genie::Algorithm::AllowReconfig().
Definition at line 318 of file Algorithm.cxx.
Access the sub-algorithm pointed to by the input key, either from the local pool or from AlgFactory's pool
Definition at line 353 of file Algorithm.cxx.
References ana::assert(), genie::AlgFactory::GetAlgorithm(), genie::AlgFactory::Instance(), LOG, pERROR, and pINFO.
Referenced by genie::Algorithm::AllowReconfig(), genie::utils::gsl::FullQELdXSec::FullQELdXSec(), genie::NewQELXSec::Integrate(), genie::HadronTransporter::LoadConfig(), genie::NucleonDecayPrimaryVtxGenerator::LoadConfig(), genie::IBDXSecMap::LoadConfig(), genie::COHElasticPXSec::LoadConfig(), genie::DISHadronicSystemGenerator::LoadConfig(), genie::EmpiricalMECPXSec2015::LoadConfig(), genie::SlowRsclCharmDISPXSecLO::LoadConfig(), genie::AhrensNCELPXSec::LoadConfig(), genie::AlamSimoAtharVacasSKPXSec2014::LoadConfig(), genie::UnstableParticleDecayer::LoadConfig(), genie::ReinDFRPXSec::LoadConfig(), genie::PythiaHadronization::LoadConfig(), genie::BYPDF::LoadConfig(), genie::QPMDISPXSec::LoadConfig(), genie::AlvarezRusoCOHPiPXSec::LoadConfig(), genie::RosenbluthPXSec::LoadConfig(), genie::StrumiaVissaniIBDPXSec::LoadConfig(), genie::MECGenerator::LoadConfig(), genie::NNBarOscPrimaryVtxGenerator::LoadConfig(), genie::FermiMover::LoadConfig(), genie::AhrensDMELPXSec::LoadConfig(), genie::IMDAnnihilationPXSec::LoadConfig(), genie::QELEventGenerator::LoadConfig(), genie::KNOPythiaHadronization::LoadConfig(), genie::AivazisCharmPXSecLO::LoadConfig(), genie::RESHadronicSystemGenerator::LoadConfig(), genie::P33PaschosLalakulichPXSec::LoadConfig(), genie::BergerSehgalFMCOHPiPXSec2015::LoadConfig(), genie::QPMDMDISPXSec::LoadConfig(), genie::BergerSehgalCOHPiPXSec2015::LoadConfig(), genie::LwlynSmithQELCCPXSec::LoadConfig(), genie::NuElectronPXSec::LoadConfig(), genie::PaisQELLambdaPXSec::LoadConfig(), genie::ReinSehgalCOHPiPXSec::LoadConfig(), genie::NievesSimoVacasMECPXSec2016::LoadConfig(), genie::KovalenkoQELCharmPXSec::LoadConfig(), genie::CharmHadronization::LoadConfig(), genie::NuclearModelMap::LoadConfig(), genie::EventGenerator::LoadConfig(), genie::SmithMonizQELCCXSec::LoadConfig(), genie::BardinIMDRadCorPXSec::LoadConfig(), genie::QELEventGeneratorSM::LoadConfig(), genie::LwlynSmithFF::LoadConfig(), genie::MartiniEricsonChanfrayMarteauMECPXSec2016::LoadConfig(), genie::ReinSehgalRESPXSec::LoadConfig(), genie::QPMDISStrucFuncBase::LoadConfig(), genie::SmithMonizQELCCPXSec::LoadConfig(), genie::NievesQELCCPXSec::LoadConfig(), genie::HAIntranuke::LoadConfig(), genie::HAIntranuke2018::LoadConfig(), genie::HNIntranuke2018::LoadConfig(), genie::BSKLNBaseRESPXSec2014::LoadConfig(), genie::ReinSehgalSPPPXSec::LoadConfig(), genie::KNOHadronization::LoadConfig(), and genie::EventGeneratorListAssembler::LoadGenerator().
|
protectedinherited |
Definition at line 153 of file Algorithm.h.
Referenced by genie::Algorithm::AllowReconfig(), genie::Decayer::Configure(), genie::UnstableParticleDecayer::Configure(), genie::LHAPDF5::Configure(), and genie::LHAPDF6::Configure().
|
protectedinherited |
ideally these members should go private Registry will be access only through the GetParam method configurations registries from various sources the order of the vector is the precedence in case of repeated parameters position 0 -> Highest precedence
Definition at line 161 of file Algorithm.h.
|
protectedinherited |
min E for which maxxsec is cached - forcing explicit calc.
Definition at line 65 of file KineGeneratorWithCache.h.
Referenced by genie::QELEventGeneratorSM::FindMaxDiffv(), genie::KineGeneratorWithCache::FindMaxXSec(), genie::QELEventGeneratorSM::FindMaxXSec2(), genie::DFRKinematicsGenerator::LoadConfig(), genie::RESKinematicsGenerator::LoadConfig(), genie::COHElKinematicsGenerator::LoadConfig(), genie::NuEKinematicsGenerator::LoadConfig(), LoadConfig(), genie::IBDKinematicsGenerator::LoadConfig(), genie::COHKinematicsGenerator::LoadConfig(), genie::QELKinematicsGenerator::LoadConfig(), genie::DISKinematicsGenerator::LoadConfig(), genie::DMELKinematicsGenerator::LoadConfig(), genie::DMDISKinematicsGenerator::LoadConfig(), genie::QELEventGenerator::LoadConfig(), and genie::QELEventGeneratorSM::LoadConfig().
|
protectedinherited |
uniform over allowed phase space + event weight?
Definition at line 66 of file KineGeneratorWithCache.h.
Referenced by genie::COHKinematicsGenerator::CalculateKin_AlvarezRuso(), CalculateKin_AtharSingleKaon(), genie::COHKinematicsGenerator::CalculateKin_ReinSehgal(), genie::DFRKinematicsGenerator::LoadConfig(), LoadConfig(), genie::COHElKinematicsGenerator::LoadConfig(), genie::NuEKinematicsGenerator::LoadConfig(), genie::RESKinematicsGenerator::LoadConfig(), genie::IBDKinematicsGenerator::LoadConfig(), genie::COHKinematicsGenerator::LoadConfig(), genie::QELKinematicsGenerator::LoadConfig(), genie::DISKinematicsGenerator::LoadConfig(), genie::DMELKinematicsGenerator::LoadConfig(), genie::DMDISKinematicsGenerator::LoadConfig(), genie::QELEventGenerator::LoadConfig(), genie::QELEventGeneratorSM::LoadConfig(), genie::NuEKinematicsGenerator::ProcessEventRecord(), genie::DFRKinematicsGenerator::ProcessEventRecord(), genie::QELKinematicsGenerator::ProcessEventRecord(), genie::COHElKinematicsGenerator::ProcessEventRecord(), ProcessEventRecord(), genie::RESKinematicsGenerator::ProcessEventRecord(), genie::COHKinematicsGenerator::ProcessEventRecord(), genie::IBDKinematicsGenerator::ProcessEventRecord(), genie::DMELKinematicsGenerator::ProcessEventRecord(), genie::DISKinematicsGenerator::ProcessEventRecord(), genie::QELEventGenerator::ProcessEventRecord(), genie::DMDISKinematicsGenerator::ProcessEventRecord(), and genie::QELEventGeneratorSM::ProcessEventRecord().
|
protectedinherited |
algorithm name and configuration set
Definition at line 156 of file Algorithm.h.
Referenced by genie::Algorithm::Id().
|
protectedinherited |
max{100*(xsec-maxxsec)/.5*(xsec+maxxsec)} if xsec>maxxsec
Definition at line 64 of file KineGeneratorWithCache.h.
Referenced by genie::KineGeneratorWithCache::AssertXSecLimits(), genie::DFRKinematicsGenerator::LoadConfig(), genie::NuEKinematicsGenerator::LoadConfig(), genie::RESKinematicsGenerator::LoadConfig(), genie::COHElKinematicsGenerator::LoadConfig(), LoadConfig(), genie::COHKinematicsGenerator::LoadConfig(), genie::IBDKinematicsGenerator::LoadConfig(), genie::QELKinematicsGenerator::LoadConfig(), genie::DISKinematicsGenerator::LoadConfig(), genie::DMELKinematicsGenerator::LoadConfig(), genie::DMDISKinematicsGenerator::LoadConfig(), genie::QELEventGenerator::LoadConfig(), and genie::QELEventGeneratorSM::LoadConfig().
|
private |
Definition at line 59 of file SKKinematicsGenerator.h.
Referenced by CalculateKin_AtharSingleKaon(), ComputeMaxXSec(), and LoadConfig().
|
protectedinherited |
local pool for owned sub-algs (taken out of the factory pool)
Definition at line 167 of file Algorithm.h.
|
protectedinherited |
ownership for every registry in fConfVect
Definition at line 164 of file Algorithm.h.
|
protectedinherited |
true if it owns its substructure (sub-algs,...)
Definition at line 155 of file Algorithm.h.
|
protectedinherited |
maxxsec -> maxxsec * safety_factor
Definition at line 63 of file KineGeneratorWithCache.h.
Referenced by genie::QELEventGeneratorSM::ComputeMaxDiffv(), genie::RESKinematicsGenerator::ComputeMaxXSec(), genie::IBDKinematicsGenerator::ComputeMaxXSec(), genie::QELKinematicsGenerator::ComputeMaxXSec(), genie::COHElKinematicsGenerator::ComputeMaxXSec(), genie::NuEKinematicsGenerator::ComputeMaxXSec(), ComputeMaxXSec(), genie::DMELKinematicsGenerator::ComputeMaxXSec(), genie::QELEventGenerator::ComputeMaxXSec(), genie::COHKinematicsGenerator::ComputeMaxXSec(), genie::QELEventGeneratorSM::ComputeMaxXSec(), genie::QELEventGeneratorSM::ComputeMaxXSec2(), genie::DFRKinematicsGenerator::LoadConfig(), genie::RESKinematicsGenerator::LoadConfig(), genie::NuEKinematicsGenerator::LoadConfig(), LoadConfig(), genie::COHElKinematicsGenerator::LoadConfig(), genie::COHKinematicsGenerator::LoadConfig(), genie::IBDKinematicsGenerator::LoadConfig(), genie::QELKinematicsGenerator::LoadConfig(), genie::DISKinematicsGenerator::LoadConfig(), genie::DMELKinematicsGenerator::LoadConfig(), genie::DMDISKinematicsGenerator::LoadConfig(), genie::QELEventGenerator::LoadConfig(), genie::QELEventGeneratorSM::LoadConfig(), and genie::COHKinematicsGenerator::MaxXSec_AlvarezRuso().
|
protectedinherited |
algorithm execution status
Definition at line 166 of file Algorithm.h.
Referenced by genie::Algorithm::GetStatus().
|
mutableprotectedinherited |
Definition at line 61 of file KineGeneratorWithCache.h.
Referenced by genie::COHKinematicsGenerator::CalculateKin_AlvarezRuso(), CalculateKin_AtharSingleKaon(), genie::COHKinematicsGenerator::CalculateKin_BergerSehgal(), genie::COHKinematicsGenerator::CalculateKin_BergerSehgalFM(), genie::COHKinematicsGenerator::CalculateKin_ReinSehgal(), genie::DFRKinematicsGenerator::ComputeMaxXSec(), genie::RESKinematicsGenerator::ComputeMaxXSec(), genie::IBDKinematicsGenerator::ComputeMaxXSec(), genie::QELKinematicsGenerator::ComputeMaxXSec(), genie::COHElKinematicsGenerator::ComputeMaxXSec(), genie::NuEKinematicsGenerator::ComputeMaxXSec(), genie::DISKinematicsGenerator::ComputeMaxXSec(), ComputeMaxXSec(), genie::DMELKinematicsGenerator::ComputeMaxXSec(), genie::DMDISKinematicsGenerator::ComputeMaxXSec(), genie::QELEventGenerator::ComputeMaxXSec(), genie::COHKinematicsGenerator::ComputeMaxXSec(), genie::QELEventGeneratorSM::ComputeMaxXSec(), genie::QELEventGeneratorSM::ComputeMaxXSec2(), genie::COHKinematicsGenerator::MaxXSec_AlvarezRuso(), genie::COHKinematicsGenerator::MaxXSec_BergerSehgal(), genie::COHKinematicsGenerator::MaxXSec_BergerSehgalFM(), genie::COHKinematicsGenerator::MaxXSec_ReinSehgal(), genie::DFRKinematicsGenerator::ProcessEventRecord(), genie::NuEKinematicsGenerator::ProcessEventRecord(), ProcessEventRecord(), genie::COHElKinematicsGenerator::ProcessEventRecord(), genie::QELKinematicsGenerator::ProcessEventRecord(), genie::RESKinematicsGenerator::ProcessEventRecord(), genie::IBDKinematicsGenerator::ProcessEventRecord(), genie::DMELKinematicsGenerator::ProcessEventRecord(), genie::COHKinematicsGenerator::ProcessEventRecord(), genie::DISKinematicsGenerator::ProcessEventRecord(), genie::QELEventGenerator::ProcessEventRecord(), genie::DMDISKinematicsGenerator::ProcessEventRecord(), genie::QELEventGeneratorSM::ProcessEventRecord(), genie::QELKinematicsGenerator::SpectralFuncExperimentalCode(), and genie::DMELKinematicsGenerator::SpectralFuncExperimentalCode().