#include <GSimpleInterface.h>
Definition at line 13 of file GSimpleInterface.h.
fluxr::GSimpleInterface::GSimpleInterface |
( |
| ) |
|
fluxr::GSimpleInterface::~GSimpleInterface |
( |
| ) |
|
bool fluxr::GSimpleInterface::FillMCFlux |
( |
Long64_t |
ientry, |
|
|
simb::MCFlux & |
mcflux |
|
) |
| |
|
virtual |
Implements fluxr::FluxInterface.
Definition at line 42 of file GSimpleInterface.cxx.
75 if ( TMath::Abs(
fGSimpleNuMI->pppz) < 1.0e-30 ) apppz = 1.0e-30;
87 const std::vector<std::string>& auxdblname =
fGSimpleMeta->auxdblname;
88 const std::vector<std::string>& auxintname =
fGSimpleMeta->auxintname;
89 const std::vector<int>& auxint =
fGSimpleAux->auxint;
90 const std::vector<double>& auxdbl =
fGSimpleAux->auxdbl;
92 for (
size_t id=0;
id<auxdblname.size(); ++id) {
93 if (
"muparpx" == auxdblname[
id]) flux.fmuparpx = auxdbl[id];
94 if (
"muparpy" == auxdblname[
id]) flux.fmuparpy = auxdbl[id];
95 if (
"muparpz" == auxdblname[
id]) flux.fmuparpz = auxdbl[id];
96 if (
"mupare" == auxdblname[
id]) flux.fmupare = auxdbl[id];
97 if (
"necm" == auxdblname[
id]) flux.fnecm = auxdbl[id];
98 if (
"nimpwt" == auxdblname[
id]) flux.fnimpwt = auxdbl[id];
99 if (
"fgXYWgt" == auxdblname[
id]) {
100 flux.fnwtnear = flux.fnwtfar = auxdbl[id];
103 for (
size_t ii=0; ii<auxintname.size(); ++ii) {
104 if (
"tgen" == auxintname[ii]) flux.ftgen = auxint[ii];
105 if (
"tgptype" == auxintname[ii]) flux.ftgptype = auxint[ii];
genie::flux::GSimpleNtpEntry * fGSimpleEntry
genie::flux::GSimpleNtpNuMI * fGSimpleNuMI
genie::flux::GSimpleNtpMeta * fGSimpleMeta
genie::flux::GSimpleNtpAux * fGSimpleAux
const Long64_t fluxr::GSimpleInterface::GetEntries |
( |
| ) |
|
|
inlinevirtual |
const TLorentzVector fluxr::GSimpleInterface::GetNuMomentum |
( |
| ) |
|
|
inlinevirtual |
const TLorentzVector fluxr::GSimpleInterface::GetNuPosition |
( |
| ) |
|
|
inlinevirtual |
const float fluxr::GSimpleInterface::GetPOT |
( |
| ) |
|
|
inlinevirtual |
const int fluxr::GSimpleInterface::GetRun |
( |
| ) |
|
|
inlinevirtual |
void fluxr::GSimpleInterface::SetRootFile |
( |
TFile * |
rootFileName | ) |
|
Definition at line 14 of file GSimpleInterface.cxx.
16 fFluxTree=
dynamic_cast<TTree*
>(fluxInputFile->Get(
"flux"));
17 fMetaTree=
dynamic_cast<TTree*
>(fluxInputFile->Get(
"meta"));
36 std::cout <<
"GSimple Window:" << std::endl;
37 std::cout <<
"\tBase: " << window_base[0] <<
", " << window_base[1] <<
", " << window_base[2] << std::endl;
38 std::cout <<
"\tDir 1: " << window_dir_1[0] <<
", " << window_dir_1[1] <<
", " << window_dir_1[2] << std::endl;
39 std::cout <<
"\tDir 2: " << window_dir_2[0] <<
", " << window_dir_2[1] <<
", " << window_dir_2[2] << std::endl;
genie::flux::GSimpleNtpEntry * fGSimpleEntry
genie::flux::GSimpleNtpNuMI * fGSimpleNuMI
genie::flux::GSimpleNtpMeta * fGSimpleMeta
genie::flux::GSimpleNtpAux * fGSimpleAux
BEGIN_PROLOG could also be cout
const void fluxr::GSimpleInterface::SetRun |
( |
int |
run | ) |
|
|
inlinevirtual |
TTree* fluxr::GSimpleInterface::fFluxTree |
|
private |
genie::flux::GSimpleNtpAux* fluxr::GSimpleInterface::fGSimpleAux |
|
private |
genie::flux::GSimpleNtpEntry* fluxr::GSimpleInterface::fGSimpleEntry |
|
private |
genie::flux::GSimpleNtpMeta* fluxr::GSimpleInterface::fGSimpleMeta |
|
private |
genie::flux::GSimpleNtpNuMI* fluxr::GSimpleInterface::fGSimpleNuMI |
|
private |
TTree* fluxr::GSimpleInterface::fMetaTree |
|
private |
Long64_t fluxr::GSimpleInterface::fNEntries |
|
private |
TLorentzVector fluxr::GSimpleInterface::fNuMom |
|
private |
TLorentzVector fluxr::GSimpleInterface::fNuPos |
|
private |
float fluxr::GSimpleInterface::fPOT |
|
private |
int fluxr::GSimpleInterface::fRun |
|
private |
The documentation for this class was generated from the following files: