|
GENIEGenerator
|
#include <cstdio>#include "Tools/Flux/GBGLRSAtmoFlux.h"#include "Tools/Flux/GAtmoFlux.h"#include "Framework/Conventions/Units.h"#include <stdlib.h>#include "TH3D.h"#include "Framework/Messenger/Messenger.h"Go to the source code of this file.
Classes | |
| struct | tests |
Macros | |
| #define | UNUSED(V) |
| Program used for testing the GAtmoFlux class. | |
| #define | LEN(x) |
Typedefs | |
| typedef int | testFunction(char *err) |
Functions | |
| int | isclose (double a, double b, double rel_tol, double abs_tol) |
| int | testGetTotalFlux (char *err) |
| int | testGetTotalFluxInEnergyRange (char *err) |
| int | main (int argc, char **argv) |
Variables | |
| struct tests | tests [] |
| #define LEN | ( | x | ) |
Definition at line 32 of file gtestGAtmoFlux.cxx.
Referenced by main().
| #define UNUSED | ( | V | ) |
Program used for testing the GAtmoFlux class.
\program gtestGAtmoFlux
Definition at line 27 of file gtestGAtmoFlux.cxx.
Referenced by main().
| typedef int testFunction(char *err) |
Definition at line 34 of file gtestGAtmoFlux.cxx.
| int isclose | ( | double | a, |
| double | b, | ||
| double | rel_tol, | ||
| double | abs_tol ) |
Definition at line 36 of file gtestGAtmoFlux.cxx.
References a.
Referenced by testGetTotalFluxInEnergyRange().
| int main | ( | int | argc, |
| char ** | argv ) |
Definition at line 201 of file gtestGAtmoFlux.cxx.
References genie::Messenger::Instance(), LEN, pFATAL, genie::Messenger::SetPriorityLevel(), tests::test, and UNUSED.
| int testGetTotalFlux | ( | char * | err | ) |
Definition at line 49 of file gtestGAtmoFlux.cxx.
References genie::flux::GAtmoFlux::AddFluxFile(), genie::flux::GAtmoFlux::ForceMaxEnergy(), genie::flux::GAtmoFlux::ForceMinEnergy(), genie::flux::GAtmoFlux::GetFlux(), genie::flux::GAtmoFlux::GetTotalFlux(), genie::units::GeV, and genie::flux::GAtmoFlux::LoadFluxData().
| int testGetTotalFluxInEnergyRange | ( | char * | err | ) |
Definition at line 92 of file gtestGAtmoFlux.cxx.
References genie::flux::GAtmoFlux::AddFluxFile(), e, genie::flux::GAtmoFlux::ForceMaxEnergy(), genie::flux::GAtmoFlux::ForceMinEnergy(), genie::flux::GAtmoFlux::GetFlux(), genie::flux::GAtmoFlux::GetTotalFlux(), genie::flux::GAtmoFlux::GetTotalFluxInEnergyRange(), genie::units::GeV, isclose(), and genie::flux::GAtmoFlux::LoadFluxData().
| struct tests tests[] |