33#ifndef _KINE_GENERATOR_WITH_CACHE_H_
34#define _KINE_GENERATOR_WITH_CACHE_H_
A simple cache branch storing the cached data in a TNtuple.
GENIE's GHEP MC event record.
Summary information for an interaction.
virtual void AssertXSecLimits(const Interaction *in, double xsec, double xsec_max) const
std::vector< string > vInterpolatorTypes
Type of interpolator for each key in a branch.
std::vector< double > vSafetyFactors
MaxXSec -> MaxXSec * fSafetyFactors[nkey].
virtual double FindMaxXSec(const Interaction *in, const int nkey=0) const
bool fGenerateUniformly
uniform over allowed phase space + event weight?
~KineGeneratorWithCache()
virtual void CacheMaxXSec(const Interaction *in, double xsec, const int nkey=0) const
double fMaxXSecDiffTolerance
max{100*(xsec-maxxsec)/.5*(xsec+maxxsec)} if xsec>maxxsec
virtual double ComputeMaxXSec(const Interaction *in) const =0
double fEMin
min E for which maxxsec is cached - forcing explicit calc.
double fSafetyFactor
ComputeMaxXSec -> ComputeMaxXSec * fSafetyFactor.
int fNumOfInterpolatorTypes
Number of given interpolators types.
virtual double Energy(const Interaction *in) const
int fNumOfSafetyFactors
Number of given safety factors.
virtual double MaxXSec(GHepRecord *evrec, const int nkey=0) const
virtual CacheBranchFx * AccessCacheBranch(const Interaction *in, const int nkey=0) const
const XSecAlgorithmI * fXSecModel
Cross Section Calculation Interface.
THE MAIN GENIE PROJECT NAMESPACE