Singleton class to load and store MEC hadron tensor tables, to aid in the implementation (and improve the CPU efficiency of) MEC cross-section models. More...
#include <MECHadronTensor.h>
Classes | |
struct | Cleaner |
class | MECHadronTensorTable |
Public Types | |
enum | EMECHadronTensorType { kMHTUndefined = -1, kMHTValenciaFullAll, kMHTValenciaFullpn, kMHTValenciaDeltaAll, kMHTValenciaDeltapn } |
typedef enum genie::MECHadronTensor::EMECHadronTensorType | MECHadronTensorType_t |
Public Member Functions | |
bool | KnownTarget (int targetpdg) |
bool | KnownTensor (int targetpdg) |
const vector< genie::BLI2DNonUnifGrid * > & | TensorTable (int targetpdg, MECHadronTensor::MECHadronTensorType_t type) |
Static Public Member Functions | |
static MECHadronTensor * | Instance () |
Private Member Functions | |
MECHadronTensor () | |
MECHadronTensor (const MECHadronTensor &) | |
~MECHadronTensor () | |
void | LoadTensorTables (int targetpdg) |
void | ReadHadTensorqzq0File (string filename, int nwpoints, int nqzpoints, int nq0points, double hadtensor_w_array[][14400]) |
Private Attributes | |
std::map< int, MECHadronTensorTable > | fTargetTensorTables |
std::vector< int > | fKnownTensors |
Static Private Attributes | |
static MECHadronTensor * | fgInstance = 0 |
Friends | |
struct | Cleaner |
Singleton class to load and store MEC hadron tensor tables, to aid in the implementation (and improve the CPU efficiency of) MEC cross-section models.
Hadron tensors used here are those computed by the following models:
J. Nieves, I. Ruiz Simo, M.J. Vicente Vacas, Inclusive quasi-elastic neutrino reactions, PRC 83 (2011) 045501
September 12, 2014
Copyright (c) 2003-2020, The GENIE Collaboration For the full text of the license visit http://copyright.genie-mc.org
Definition at line 44 of file MECHadronTensor.h.
typedef enum genie::MECHadronTensor::EMECHadronTensorType genie::MECHadronTensor::MECHadronTensorType_t |
Enumerator | |
---|---|
kMHTUndefined | |
kMHTValenciaFullAll | |
kMHTValenciaFullpn | |
kMHTValenciaDeltaAll | |
kMHTValenciaDeltapn |
Definition at line 52 of file MECHadronTensor.h.
|
private |
Definition at line 37 of file MECHadronTensor.cxx.
|
private |
|
private |
Definition at line 70 of file MECHadronTensor.cxx.
|
static |
Definition at line 88 of file MECHadronTensor.cxx.
bool MECHadronTensor::KnownTarget | ( | int | targetpdg | ) |
Definition at line 99 of file MECHadronTensor.cxx.
bool MECHadronTensor::KnownTensor | ( | int | targetpdg | ) |
Definition at line 117 of file MECHadronTensor.cxx.
|
private |
Definition at line 128 of file MECHadronTensor.cxx.
|
private |
Definition at line 221 of file MECHadronTensor.cxx.
const vector< genie::BLI2DNonUnifGrid * > & MECHadronTensor::TensorTable | ( | int | targetpdg, |
MECHadronTensor::MECHadronTensorType_t | type | ||
) |
Definition at line 123 of file MECHadronTensor.cxx.
|
friend |
Definition at line 122 of file MECHadronTensor.h.
|
staticprivate |
Definition at line 95 of file MECHadronTensor.h.
|
private |
Definition at line 107 of file MECHadronTensor.h.
|
private |
Definition at line 103 of file MECHadronTensor.h.