1#ifndef __JAANET__JEVTWEIGHTFACTORGSEAGEN__ 
    2#define __JAANET__JEVTWEIGHTFACTORGSEAGEN__ 
   36    public JClonable<JEvtWeightFactorTFormula, JEvtWeightFactorGSeaGen>
 
   83      const int N = getFormula().GetNpar();
 
 
  125      return getFormula().EvalPar(&vars[0]);
 
 
 
Implementation of reweighting factor for simulated neutrino interactions according to a specifiable R...
 
JEvtWeightFactorGSeaGen()
Default constructor.
 
double getFactor(const Evt &evt) const override final
Get weighting factor for given event.
 
variables
Indices of reweighting variables for GSeaGen.
 
@ TARGET_A
Number of nucleons in the target.
 
@ BJORKEN_X
Björken-x (= fractional momentum carried by the struck nucleon)
 
@ INELASTICITY
Inelasticity (= Björken-y)
 
@ XSEC_MEAN
Average interaction cross-section per nucleon along neutrino path [m2].
 
@ XSEC
Exclusive total cross-section of the interaction.
 
@ INITIAL_STATE_ENERGY
Initial state energy.
 
@ COLUMN_DEPTH
Column density [m.w.e].
 
@ P_EARTH
Earth transmission probability.
 
@ INT_LENGTH_WATER
Interaction length in pure water.
 
@ FINAL_STATE_ENERGY
Final state energy.
 
@ NUMBER_OF_VARIABLES
Number of reweighting variables;   N.B. This enum value needs to be specified last!
 
@ INTERACTION_TYPE
Interaction channel type.
 
@ TARGET_Z
Number of protons in the target.
 
@ LEADING_LEPTON_ENERGY
Final state leading lepton energy.
 
@ NEUTRINO_ENERGY
Initial state neutrino energy.
 
@ XSEC_DIFFERENTIAL
Differential cross-section of the interaction.
 
@ COSTH
Cosine zenith angle.
 
@ P_SCALE
GENIE ineraction probability scale.
 
@ CURRENT_TYPE
Weak current type (CC or NC)
 
@ XSEC_WATER
Inclusive cross-section in water.
 
bool is_valid() const override final
Check whether this formula is valid.
 
Extensions to Evt data format.
 
const Trk & get_leading_lepton(const Evt &event)
Auxiliary function to retrieve the leading lepton of a neutrino interaction.
 
double getE1(const Evt &evt)
Get final state energy of a neutrino interaction.
 
double getE0(const Evt &evt)
Get initial state energy of a neutrino interaction.
 
const Trk & get_neutrino(const Evt &evt)
Get incoming neutrino.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
The Evt class respresent a Monte Carlo (MC) event as well as an offline event.
 
Template class for object cloning.
 
The Trk class represents a Monte Carlo (MC) particle as well as a reconstructed track/shower.
 
double E
Energy [GeV] (either MC truth or reconstructed)
 
static const int W2LIST_GSEAGEN_COLUMN_DEPTH
Line integrated column density through the Earth for the neutrino direction.
 
static const int W2LIST_GSEAGEN_BX
Bjorken x.
 
static const int W2LIST_GSEAGEN_DXSEC
differential cross section of the interaction (dsigma/dxdy) extracted from genie
 
static const int W2LIST_GSEAGEN_WATERXSEC
inclusive xsec in water
 
static const int W2LIST_GSEAGEN_CC
Charged current interaction flag.
 
static const int W2LIST_GSEAGEN_XSEC_MEAN
Average interaction cross-section per nucleon along the neutrino path throuh the Earth (in units of m...
 
static const int W2LIST_GSEAGEN_XSEC
exclusive total cross section of the interaction
 
static const int W2LIST_GSEAGEN_TARGETZ
number of protons in the target
 
static const int W2LIST_GSEAGEN_P_SCALE
Interaction probability scale.
 
static const int W2LIST_GSEAGEN_TARGETA
number of nuclons in the target
 
static const int W2LIST_GSEAGEN_ICHAN
Interaction channel.
 
static const int W2LIST_GSEAGEN_BY
Bjorken y.
 
static const int W2LIST_GSEAGEN_WATER_INT_LEN
Interaction length in pure water in m.
 
static const int W2LIST_GSEAGEN_P_EARTH
Transmission probability in the Earth (XSEC_MEAN and COLUMN_DEPTH used to compute PEarth)