158 if ( ! RunOpt::Instance()->Tune() ) {
159 LOG(
"gmkspl",
pFATAL) <<
" No TuneId in RunOption";
162 RunOpt::Instance()->BuildTune();
168 PDGLibrary::Instance()->ReloadDBase();
169 PDGLibrary::Instance()->AddDarkMatter(*mass,*
ratio);
171 Registry *
r = AlgConfigPool::Instance()->CommonList(
"Param",
"BoostedDarkMatter");
173 r->
Set(
"ZpCoupling", *coup);
179 #if defined(HAVE_FENV_H) && defined(HAVE_FEENABLEEXCEPT) 180 feenableexcept(FE_DIVBYZERO | FE_INVALID | FE_OVERFLOW);
193 if(!targets || targets->
size() == 0 ) {
194 LOG(
"gmkspl_dm",
pFATAL) <<
"Empty target PDG code list";
199 LOG(
"gmkspl_dm",
pINFO) <<
"Targets: " << *targets;
208 for(tgtiter = targets->begin(); tgtiter != targets->end(); ++tgtiter) {
210 int tgtpdgc = *tgtiter;
void RandGen(long int seed)
void XSecTable(string inpfile, bool require_table)
vector< double > gOptDMMasses
void GetCommandLineArgs(int argc, char **argv)
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE...
void SetEventGeneratorList(string listname)
vector< double > gOptMedRatios
vector< double > gOptZpCouplings
GENIE Event Generation Driver. A minimalist user interface object for generating neutrino interaction...
void Lock(void)
locks the registry
void SaveAsXml(const string &filename, bool save_init=true) const
void UnLock(void)
unlocks the registry (doesn't unlock items)
A registry. Provides the container for algorithm configuration parameters.
PDGCodeList * GetTargetCodes(void)
void Configure(int nu_pdgc, int Z, int A)
A vector of EventGeneratorI objects.
void CreateSplines(int nknots=-1, double emax=-1, bool inLogE=true)
void MesgThresholds(string inpfile)
List of cross section vs energy splines.
void Set(RgIMapPair entry)
Initial State information.