1 #ifndef __KM3_OPA_EFRAC__
2 #define __KM3_OPA_EFRAC__
18 namespace JPP {
using namespace JSIRENE; }
31 inline double pythia(
const int type,
const double E)
34 float ekin = (float) E;
const JParticle & getPDG(const int pdg) const
Get particle corresponding to given PDG code.
static const JPythia pythia
Function object for relative light yield as a function of GEANT particle code.
static const JPDB & getInstance()
Get particle data book.
float opa_efrac_(int &ipart, float &ekin)
float opa_weight_high_e_(float &ekin)
int geant
GEANT code of particle.