26 #ifndef _KINE_GENERATOR_WITH_CACHE_H_ 27 #define _KINE_GENERATOR_WITH_CACHE_H_ 70 #endif // _KINE_GENERATOR_WITH_CACHE_H_
Cross Section Calculation Interface.
virtual double MaxXSec(GHepRecord *evrec) const
bool fGenerateUniformly
uniform over allowed phase space + event weight?
THE MAIN GENIE PROJECT NAMESPACE
Defines the EventRecordVisitorI interface. Concrete implementations of this interface use the 'Visito...
double fSafetyFactor
maxxsec -> maxxsec * safety_factor
virtual void AssertXSecLimits(const Interaction *in, double xsec, double xsec_max) const
double fMaxXSecDiffTolerance
max{100*(xsec-maxxsec)/.5*(xsec+maxxsec)} if xsec>maxxsec
Abstract class. Provides a data caching mechanism for for concrete implementations of the EventRecord...
const XSecAlgorithmI * fXSecModel
Summary information for an interaction.
virtual double ComputeMaxXSec(const Interaction *in) const =0
double fEMin
min E for which maxxsec is cached - forcing explicit calc.
virtual double Energy(const Interaction *in) const
virtual CacheBranchFx * AccessCacheBranch(const Interaction *in) const
virtual void CacheMaxXSec(const Interaction *in, double xsec) const
A simple cache branch storing the cached data in a TNtuple.
GENIE's GHEP MC event record.
~KineGeneratorWithCache()
virtual double FindMaxXSec(const Interaction *in) const