1 #ifndef TARGETATTENUATIONREWEIGHTER_H 2 #define TARGETATTENUATIONREWEIGHTER_H 7 #pragma clang diagnostic push 8 #pragma clang diagnostic ignored "-Wunused-private-field" 47 static double getZTgtExit(
double pos_start[],
double mom_start[],
bool leflag,
bool meflag);
63 #pragma clang diagnostic pop
A list/table of parameter names and values.
float delta_sigma_kapC_xsec_lowP
Reweight to account for attenuation of the beam in the target.
static bool isLE(const std::string &tgtcfg)
does the configuration correspond to the LE beam?
Information about the chain of interactions leading to a neutrino.
static double shiftPlaylist(const int ipl)
Get the additional shift for the Minerva playlist if this is defined.
const ParameterTable & cvPars
static double getZTgtExit(double pos_start[], double mom_start[], bool leflag, bool meflag)
const ParameterTable & univPars
static double getTargetPenetrationLE(double z_start, double z_end, double z0_budal)
virtual ~TargetAttenuationReweighter()
float delta_sigma_piC_xsec
float delta_sigma_kapC_xsec_highP
static double targetStartZ(const std::string &tgtcfg)
float delta_sigma_kamC_xsec_lowP
static bool isME(const std::string &tgtcfg)
does the configuration correspond to the ME beam?
TargetAttenuationReweighter(int iuniv, const ParameterTable &cv_pars, const ParameterTable &univ_pars)
float delta_sigma_kamC_xsec_highP
virtual std::vector< bool > canReweight(const InteractionChainData &aa)
Look through the InteractionChainData input and identify those Interactions that can be reweighted as...
virtual double calculateWeight(const InteractionChainData &aa)
calculate a weight for this interaction chain given the central value parameters and the parameters f...
static double getTargetPenetrationME(double z_start, double z_end, double z0_budal)