GENIEGenerator
|
A GENIE flux driver encapsulating the JPARC neutrino flux. It reads-in the official JPARC neutrino flux ntuples. More...
#include <GJPARCNuFlux.h>
Public Member Functions | |
GJPARCNuFlux () | |
~GJPARCNuFlux () | |
const PDGCodeList & | FluxParticles (void) |
declare list of flux neutrinos that can be generated (for init. purposes) More... | |
double | MaxEnergy (void) |
declare the max flux neutrino energy that can be generated (for init. purposes) More... | |
bool | GenerateNext (void) |
generate the next flux neutrino (return false in err) More... | |
int | PdgCode (void) |
returns the flux neutrino pdg code More... | |
double | Weight (void) |
returns the flux neutrino weight (if any) More... | |
const TLorentzVector & | Momentum (void) |
returns the flux neutrino 4-momentum More... | |
const TLorentzVector & | Position (void) |
returns the flux neutrino 4-position (note: expect SI rather than physical units) More... | |
bool | End (void) |
true if no more flux nu's can be thrown (eg reaching end of beam sim ntuples) More... | |
long int | Index (void) |
returns corresponding index for current flux neutrino (e.g. for a flux ntuple returns the current entry number) More... | |
void | Clear (Option_t *opt) |
reset state variables based on opt More... | |
void | GenerateWeighted (bool gen_weighted=true) |
set whether to generate weighted or unweighted neutrinos More... | |
bool | LoadBeamSimData (string filename, string det_loc) |
load a jnubeam root flux ntuple More... | |
void | SetFluxParticles (const PDGCodeList &particles) |
specify list of flux neutrino species More... | |
void | SetMaxEnergy (double Ev) |
specify maximum flx neutrino energy More... | |
void | SetFilePOT (double pot) |
flux file norm is in /N POT/det [ND] or /N POT/cm^2 [FD]. Specify N (typically 1E+21) More... | |
void | SetUpstreamZ (double z0) |
set flux neutrino initial z position (upstream of the detector) More... | |
void | SetNumOfCycles (int n) |
set how many times to cycle through the ntuple (default: 1 / n=0 means 'infinite') More... | |
void | DisableOffset (void) |
switch off random offset, must be called before LoadBeamSimData to have any effect More... | |
void | RandomOffset (void) |
choose a random offset as starting entry in flux ntuple More... | |
double | POT_1cycle (void) |
flux POT per cycle More... | |
double | POT_curravg (void) |
current average POT More... | |
long int | NFluxNeutrinos (void) const |
number of flux neutrinos looped so far More... | |
double | SumWeight (void) const |
intergated weight for flux neutrinos looped so far More... | |
const GJPARCNuFluxPassThroughInfo & | PassThroughInfo (void) |
GJPARCNuFluxPassThroughInfo. More... | |
Public Member Functions inherited from genie::GFluxI | |
virtual | ~GFluxI () |
Private Member Functions | |
bool | GenerateNext_weighted (void) |
void | Initialize (void) |
void | SetDefaults (void) |
void | CleanUp (void) |
void | ResetCurrent (void) |
int | DLocName2Id (string name) |
Private Attributes | |
double | fMaxEv |
maximum energy More... | |
PDGCodeList * | fPdgCList |
list of neutrino pdg-codes More... | |
int | fgPdgC |
running generated nu pdg-code More... | |
TLorentzVector | fgP4 |
running generated nu 4-momentum More... | |
TLorentzVector | fgX4 |
running generated nu 4-position More... | |
TFile * | fNuFluxFile |
input flux file More... | |
TTree * | fNuFluxTree |
input flux ntuple More... | |
TChain * | fNuFluxChain |
input flux ntuple More... | |
TTree * | fNuFluxSumTree |
input summary ntuple for flux file. This tree is only present for later flux versions > 10a More... | |
TChain * | fNuFluxSumChain |
input summary ntuple for flux file. This tree is only present for later flux versions > 10a More... | |
bool | fNuFluxUsingTree |
are we using a TTree or a TChain to view the input flux file? More... | |
string | fDetLoc |
input detector location ('sk','nd1','nd2',...) More... | |
int | fDetLocId |
input detector location id (fDetLoc -> jnubeam idfd) More... | |
int | fNDetLocIdFound |
per cycle keep track of the number of fDetLocId are found - if this is zero will exit job More... | |
bool | fIsFDLoc |
input location is a 'far' detector location? More... | |
bool | fIsNDLoc |
input location is a 'near' detector location? More... | |
long int | fNEntries |
number of flux ntuple entries More... | |
long int | fIEntry |
current flux ntuple entry More... | |
long int | fEntriesThisCycle |
keep track of number of entries used so far for this cycle More... | |
long int | fOffset |
start looping at entry fOffset More... | |
double | fNorm |
current flux ntuple normalisation More... | |
double | fMaxWeight |
max flux neutrino weight in input file for the specified detector location More... | |
double | fFilePOT |
file POT normalization, typically 1E+21 More... | |
double | fZ0 |
configurable starting z position for each flux neutrino (in detector coord system) More... | |
int | fNCycles |
how many times to cycle through the flux ntuple More... | |
int | fICycle |
current cycle More... | |
double | fSumWeight |
sum of weights for neutrinos thrown so far More... | |
long int | fNNeutrinos |
number of flux neutrinos thrown so far More... | |
double | fSumWeightTot1c |
total sum of weights for neutrinos to be thrown / cycle More... | |
long int | fNNeutrinosTot1c |
total number of flux neutrinos to be thrown / cycle More... | |
bool | fGenerateWeighted |
generate weighted/deweighted flux neutrinos (default is false) More... | |
bool | fUseRandomOffset |
whether set random starting point when looping over flux ntuples More... | |
bool | fLoadedNeutrino |
set to true when GenerateNext_weighted has been called successfully More... | |
GJPARCNuFluxPassThroughInfo * | fPassThroughInfo |
Additional Inherited Members | |
Protected Member Functions inherited from genie::GFluxI | |
GFluxI () | |
A GENIE flux driver encapsulating the JPARC neutrino flux. It reads-in the official JPARC neutrino flux ntuples.
Definition at line 50 of file GJPARCNuFlux.h.
GJPARCNuFlux::GJPARCNuFlux | ( | ) |
GJPARCNuFlux::~GJPARCNuFlux | ( | ) |
|
private |
Definition at line 909 of file GJPARCNuFlux.cxx.
References fNuFluxFile, fPassThroughInfo, fPdgCList, LOG, and pNOTICE.
Referenced by ~GJPARCNuFlux().
|
virtual |
reset state variables based on opt
Implements genie::GFluxI.
Definition at line 806 of file GJPARCNuFlux.cxx.
References fEntriesThisCycle, fICycle, fIEntry, fNNeutrinos, fOffset, fSumWeight, and GenerateWeighted().
|
inline |
switch off random offset, must be called before LoadBeamSimData to have any effect
Definition at line 83 of file GJPARCNuFlux.h.
References fUseRandomOffset.
Referenced by main().
|
private |
|
inlinevirtual |
true if no more flux nu's can be thrown (eg reaching end of beam sim ntuples)
Implements genie::GFluxI.
Definition at line 66 of file GJPARCNuFlux.h.
References fEntriesThisCycle, fICycle, fNCycles, and fNEntries.
Referenced by GenerateNext(), and main().
|
inlinevirtual |
declare list of flux neutrinos that can be generated (for init. purposes)
Implements genie::GFluxI.
Definition at line 59 of file GJPARCNuFlux.h.
References fPdgCList.
|
virtual |
generate the next flux neutrino (return false in err)
Implements genie::GFluxI.
Definition at line 55 of file GJPARCNuFlux.cxx.
References End(), fGenerateWeighted, fICycle, fNCycles, GenerateNext_weighted(), Index(), genie::RandomGen::Instance(), genie::controls::kASmallNum, LOG, pERROR, pNOTICE, genie::RandomGen::RndFlux(), and Weight().
|
private |
Definition at line 100 of file GJPARCNuFlux.cxx.
References genie::units::cm, genie::flux::GJPARCNuFluxPassThroughInfo::Enu, genie::PDGCodeList::ExistsInPDGCodeList(), fDetLocId, fEntriesThisCycle, fgP4, fgPdgC, fgX4, fICycle, fIEntry, fIsNDLoc, fLoadedNeutrino, genie::flux::GJPARCNuFluxPassThroughInfo::fluxentry, genie::flux::GJPARCNuFluxPassThroughInfo::fluxfilename, fMaxEv, fMaxWeight, fNCycles, fNDetLocIdFound, fNEntries, fNNeutrinos, fNorm, fNuFluxChain, fNuFluxFile, fNuFluxSumChain, fNuFluxSumTree, fNuFluxTree, fNuFluxUsingTree, fOffset, fPassThroughInfo, fPdgCList, fSumWeight, fZ0, genie::flux::GJPARCNuFluxPassThroughInfo::idfd, Index(), genie::controls::kASmallNum, genie::kPdgAntiNuE, genie::kPdgAntiNuMu, genie::kPdgNuE, genie::kPdgNuMu, LOG, genie::units::m, genie::flux::GJPARCNuFluxPassThroughInfo::mode, genie::flux::GJPARCNuFluxPassThroughInfo::nnu, genie::flux::GJPARCNuFluxPassThroughInfo::norm, genie::utils::print::P4AsShortString(), pERROR, pFATAL, pINFO, pNOTICE, pWARN, ResetCurrent(), Weight(), genie::utils::print::X4AsString(), genie::flux::GJPARCNuFluxPassThroughInfo::xnu, and genie::flux::GJPARCNuFluxPassThroughInfo::ynu.
Referenced by GenerateNext().
|
virtual |
set whether to generate weighted or unweighted neutrinos
Implements genie::GFluxI.
Definition at line 781 of file GJPARCNuFlux.cxx.
References fGenerateWeighted.
Referenced by Clear().
|
virtual |
returns corresponding index for current flux neutrino (e.g. for a flux ntuple returns the current entry number)
Implements genie::GFluxI.
Definition at line 363 of file GJPARCNuFlux.cxx.
References fIEntry, fLoadedNeutrino, and fNEntries.
Referenced by GenerateNext(), and GenerateNext_weighted().
|
private |
Definition at line 826 of file GJPARCNuFlux.cxx.
References fDetLoc, fDetLocId, fEntriesThisCycle, fFilePOT, fGenerateWeighted, fICycle, fIEntry, fIsFDLoc, fIsNDLoc, fLoadedNeutrino, fMaxEv, fMaxWeight, fNCycles, fNDetLocIdFound, fNEntries, fNNeutrinos, fNNeutrinosTot1c, fNorm, fNuFluxChain, fNuFluxFile, fNuFluxSumChain, fNuFluxSumTree, fNuFluxTree, fNuFluxUsingTree, fOffset, fPassThroughInfo, fPdgCList, fSumWeight, fSumWeightTot1c, fUseRandomOffset, fZ0, LOG, pNOTICE, ResetCurrent(), and SetDefaults().
bool GJPARCNuFlux::LoadBeamSimData | ( | string | filename, |
string | det_loc | ||
) |
load a jnubeam root flux ntuple
Definition at line 377 of file GJPARCNuFlux.cxx.
References genie::flux::GJPARCNuFluxPassThroughInfo::alpha, genie::flux::GJPARCNuFluxPassThroughInfo::anorm, genie::flux::GJPARCNuFluxPassThroughInfo::bpos, genie::flux::GJPARCNuFluxPassThroughInfo::brms, genie::flux::GJPARCNuFluxPassThroughInfo::btilt, genie::flux::GJPARCNuFluxPassThroughInfo::cospi0bm, genie::flux::GJPARCNuFluxPassThroughInfo::cospibm, DLocName2Id(), genie::flux::GJPARCNuFluxPassThroughInfo::emit, genie::flux::GJPARCNuFluxPassThroughInfo::Enu, genie::flux::GJPARCNuFluxPassThroughInfo::Enusk, fDetLoc, fDetLocId, fICycle, fIsFDLoc, fIsNDLoc, fMaxWeight, fNDetLocIdFound, fNEntries, fNNeutrinosTot1c, fNorm, fNuFluxChain, fNuFluxFile, fNuFluxSumChain, fNuFluxSumTree, fNuFluxTree, fNuFluxUsingTree, fPassThroughInfo, fSumWeightTot1c, fUseRandomOffset, genie::flux::GJPARCNuFluxPassThroughInfo::gamom0, genie::flux::GJPARCNuFluxPassThroughInfo::gcosbm, genie::flux::GJPARCNuFluxPassThroughInfo::gdistal, genie::flux::GJPARCNuFluxPassThroughInfo::gdistc, genie::flux::GJPARCNuFluxPassThroughInfo::gdistfe, genie::flux::GJPARCNuFluxPassThroughInfo::gdistti, genie::flux::GJPARCNuFluxPassThroughInfo::gipart, genie::flux::GJPARCNuFluxPassThroughInfo::gmat, genie::flux::GJPARCNuFluxPassThroughInfo::gmec, genie::flux::GJPARCNuFluxPassThroughInfo::gpid, genie::flux::GJPARCNuFluxPassThroughInfo::gpos0, genie::flux::GJPARCNuFluxPassThroughInfo::gpx, genie::flux::GJPARCNuFluxPassThroughInfo::gpy, genie::flux::GJPARCNuFluxPassThroughInfo::gpz, genie::flux::GJPARCNuFluxPassThroughInfo::gvec0, genie::flux::GJPARCNuFluxPassThroughInfo::gvx, genie::flux::GJPARCNuFluxPassThroughInfo::gvy, genie::flux::GJPARCNuFluxPassThroughInfo::gvz, genie::flux::GJPARCNuFluxPassThroughInfo::hcur, genie::flux::GJPARCNuFluxPassThroughInfo::idfd, genie::controls::kASmallNum, LOG, genie::flux::GJPARCNuFluxPassThroughInfo::mode, genie::flux::GJPARCNuFluxPassThroughInfo::ng, genie::flux::GJPARCNuFluxPassThroughInfo::nnu, genie::flux::GJPARCNuFluxPassThroughInfo::norm, genie::flux::GJPARCNuFluxPassThroughInfo::normsk, genie::flux::GJPARCNuFluxPassThroughInfo::npi, genie::flux::GJPARCNuFluxPassThroughInfo::npi0, genie::flux::GJPARCNuFluxPassThroughInfo::ntrig, genie::flux::GJPARCNuFluxPassThroughInfo::nvtx0, pDEBUG, pERROR, pFATAL, pINFO, genie::flux::GJPARCNuFluxPassThroughInfo::pint, pNOTICE, genie::flux::GJPARCNuFluxPassThroughInfo::ppi, genie::flux::GJPARCNuFluxPassThroughInfo::ppi0, genie::flux::GJPARCNuFluxPassThroughInfo::ppid, genie::flux::GJPARCNuFluxPassThroughInfo::rand, RandomOffset(), genie::flux::GJPARCNuFluxPassThroughInfo::rnu, genie::flux::GJPARCNuFluxPassThroughInfo::rseed, genie::utils::str::Split(), genie::flux::GJPARCNuFluxPassThroughInfo::tuneid, genie::flux::GJPARCNuFluxPassThroughInfo::version, genie::flux::GJPARCNuFluxPassThroughInfo::xnu, genie::flux::GJPARCNuFluxPassThroughInfo::xpi, genie::flux::GJPARCNuFluxPassThroughInfo::xpi0, and genie::flux::GJPARCNuFluxPassThroughInfo::ynu.
Referenced by main().
|
inlinevirtual |
declare the max flux neutrino energy that can be generated (for init. purposes)
Implements genie::GFluxI.
Definition at line 60 of file GJPARCNuFlux.h.
References fMaxEv.
|
inlinevirtual |
returns the flux neutrino 4-momentum
Implements genie::GFluxI.
Definition at line 64 of file GJPARCNuFlux.h.
References fgP4.
|
inline |
number of flux neutrinos looped so far
Definition at line 88 of file GJPARCNuFlux.h.
References fNNeutrinos.
|
inline |
|
inlinevirtual |
returns the flux neutrino pdg code
Implements genie::GFluxI.
Definition at line 62 of file GJPARCNuFlux.h.
References fgPdgC.
|
inlinevirtual |
returns the flux neutrino 4-position (note: expect SI rather than physical units)
Implements genie::GFluxI.
Definition at line 65 of file GJPARCNuFlux.h.
References fgX4.
double GJPARCNuFlux::POT_1cycle | ( | void | ) |
flux POT per cycle
Definition at line 322 of file GJPARCNuFlux.cxx.
References fFilePOT, fMaxWeight, fNuFluxChain, fNuFluxTree, fNuFluxUsingTree, LOG, and pWARN.
Referenced by main(), and POT_curravg().
double GJPARCNuFlux::POT_curravg | ( | void | ) |
current average POT
Definition at line 341 of file GJPARCNuFlux.cxx.
References fNNeutrinos, fNNeutrinosTot1c, fNuFluxChain, fNuFluxTree, fNuFluxUsingTree, LOG, POT_1cycle(), and pWARN.
Referenced by main().
void GJPARCNuFlux::RandomOffset | ( | void | ) |
choose a random offset as starting entry in flux ntuple
Definition at line 790 of file GJPARCNuFlux.cxx.
References fIEntry, fNEntries, fOffset, genie::RandomGen::Instance(), LOG, pERROR, and genie::RandomGen::RndFlux().
Referenced by LoadBeamSimData().
|
private |
Definition at line 895 of file GJPARCNuFlux.cxx.
References fgP4, fgPdgC, fgX4, fLoadedNeutrino, fPassThroughInfo, and genie::flux::GJPARCNuFluxPassThroughInfo::Reset().
Referenced by GenerateNext_weighted(), and Initialize().
|
private |
Definition at line 868 of file GJPARCNuFlux.cxx.
References genie::kPdgAntiNuE, genie::kPdgAntiNuMu, genie::kPdgNuE, genie::kPdgNuMu, LOG, pNOTICE, genie::PDGCodeList::push_back(), SetFilePOT(), SetFluxParticles(), SetMaxEnergy(), SetNumOfCycles(), and SetUpstreamZ().
Referenced by Initialize().
void GJPARCNuFlux::SetFilePOT | ( | double | pot | ) |
flux file norm is in /N POT/det [ND] or /N POT/cm^2 [FD]. Specify N (typically 1E+21)
Definition at line 751 of file GJPARCNuFlux.cxx.
References fFilePOT.
Referenced by main(), and SetDefaults().
void GJPARCNuFlux::SetFluxParticles | ( | const PDGCodeList & | particles | ) |
specify list of flux neutrino species
Definition at line 732 of file GJPARCNuFlux.cxx.
References genie::PDGCodeList::Copy(), fPdgCList, LOG, and pINFO.
Referenced by main(), and SetDefaults().
void GJPARCNuFlux::SetMaxEnergy | ( | double | Ev | ) |
specify maximum flx neutrino energy
Definition at line 743 of file GJPARCNuFlux.cxx.
References fMaxEv, LOG, and pINFO.
Referenced by SetDefaults().
void GJPARCNuFlux::SetNumOfCycles | ( | int | n | ) |
set how many times to cycle through the ntuple (default: 1 / n=0 means 'infinite')
Definition at line 769 of file GJPARCNuFlux.cxx.
References fNCycles.
Referenced by main(), and SetDefaults().
void GJPARCNuFlux::SetUpstreamZ | ( | double | z0 | ) |
set flux neutrino initial z position (upstream of the detector)
Definition at line 759 of file GJPARCNuFlux.cxx.
References fZ0.
Referenced by main(), and SetDefaults().
|
inline |
intergated weight for flux neutrinos looped so far
Definition at line 89 of file GJPARCNuFlux.h.
References fSumWeight.
|
inlinevirtual |
returns the flux neutrino weight (if any)
Implements genie::GFluxI.
Definition at line 63 of file GJPARCNuFlux.h.
References fMaxWeight, and fNorm.
Referenced by GenerateNext(), and GenerateNext_weighted().
|
private |
input detector location ('sk','nd1','nd2',...)
Definition at line 120 of file GJPARCNuFlux.h.
Referenced by Initialize(), and LoadBeamSimData().
|
private |
input detector location id (fDetLoc -> jnubeam idfd)
Definition at line 121 of file GJPARCNuFlux.h.
Referenced by GenerateNext_weighted(), Initialize(), and LoadBeamSimData().
|
private |
keep track of number of entries used so far for this cycle
Definition at line 127 of file GJPARCNuFlux.h.
Referenced by Clear(), End(), GenerateNext_weighted(), and Initialize().
|
private |
file POT normalization, typically 1E+21
Definition at line 131 of file GJPARCNuFlux.h.
Referenced by Initialize(), POT_1cycle(), and SetFilePOT().
|
private |
generate weighted/deweighted flux neutrinos (default is false)
Definition at line 139 of file GJPARCNuFlux.h.
Referenced by GenerateNext(), GenerateWeighted(), and Initialize().
|
private |
running generated nu 4-momentum
Definition at line 111 of file GJPARCNuFlux.h.
Referenced by GenerateNext_weighted(), Momentum(), and ResetCurrent().
|
private |
running generated nu pdg-code
Definition at line 110 of file GJPARCNuFlux.h.
Referenced by GenerateNext_weighted(), PdgCode(), and ResetCurrent().
|
private |
running generated nu 4-position
Definition at line 112 of file GJPARCNuFlux.h.
Referenced by GenerateNext_weighted(), Position(), and ResetCurrent().
|
private |
current cycle
Definition at line 134 of file GJPARCNuFlux.h.
Referenced by Clear(), End(), GenerateNext(), GenerateNext_weighted(), Initialize(), and LoadBeamSimData().
|
private |
current flux ntuple entry
Definition at line 126 of file GJPARCNuFlux.h.
Referenced by Clear(), GenerateNext_weighted(), Index(), Initialize(), and RandomOffset().
|
private |
input location is a 'far' detector location?
Definition at line 123 of file GJPARCNuFlux.h.
Referenced by Initialize(), and LoadBeamSimData().
|
private |
input location is a 'near' detector location?
Definition at line 124 of file GJPARCNuFlux.h.
Referenced by GenerateNext_weighted(), Initialize(), and LoadBeamSimData().
|
private |
set to true when GenerateNext_weighted has been called successfully
Definition at line 141 of file GJPARCNuFlux.h.
Referenced by GenerateNext_weighted(), Index(), Initialize(), and ResetCurrent().
|
private |
maximum energy
Definition at line 107 of file GJPARCNuFlux.h.
Referenced by GenerateNext_weighted(), Initialize(), MaxEnergy(), and SetMaxEnergy().
|
private |
max flux neutrino weight in input file for the specified detector location
Definition at line 130 of file GJPARCNuFlux.h.
Referenced by GenerateNext_weighted(), Initialize(), LoadBeamSimData(), POT_1cycle(), and Weight().
|
private |
how many times to cycle through the flux ntuple
Definition at line 133 of file GJPARCNuFlux.h.
Referenced by End(), GenerateNext(), GenerateNext_weighted(), Initialize(), and SetNumOfCycles().
|
private |
per cycle keep track of the number of fDetLocId are found - if this is zero will exit job
Definition at line 122 of file GJPARCNuFlux.h.
Referenced by GenerateNext_weighted(), Initialize(), and LoadBeamSimData().
|
private |
number of flux ntuple entries
Definition at line 125 of file GJPARCNuFlux.h.
Referenced by End(), GenerateNext_weighted(), Index(), Initialize(), LoadBeamSimData(), and RandomOffset().
|
private |
number of flux neutrinos thrown so far
Definition at line 136 of file GJPARCNuFlux.h.
Referenced by Clear(), GenerateNext_weighted(), Initialize(), NFluxNeutrinos(), and POT_curravg().
|
private |
total number of flux neutrinos to be thrown / cycle
Definition at line 138 of file GJPARCNuFlux.h.
Referenced by Initialize(), LoadBeamSimData(), and POT_curravg().
|
private |
current flux ntuple normalisation
Definition at line 129 of file GJPARCNuFlux.h.
Referenced by GenerateNext_weighted(), Initialize(), LoadBeamSimData(), and Weight().
|
private |
input flux ntuple
Definition at line 116 of file GJPARCNuFlux.h.
Referenced by GenerateNext_weighted(), Initialize(), LoadBeamSimData(), POT_1cycle(), and POT_curravg().
|
private |
input flux file
Definition at line 114 of file GJPARCNuFlux.h.
Referenced by CleanUp(), GenerateNext_weighted(), Initialize(), and LoadBeamSimData().
|
private |
input summary ntuple for flux file. This tree is only present for later flux versions > 10a
Definition at line 118 of file GJPARCNuFlux.h.
Referenced by GenerateNext_weighted(), Initialize(), and LoadBeamSimData().
|
private |
input summary ntuple for flux file. This tree is only present for later flux versions > 10a
Definition at line 117 of file GJPARCNuFlux.h.
Referenced by GenerateNext_weighted(), Initialize(), and LoadBeamSimData().
|
private |
input flux ntuple
Definition at line 115 of file GJPARCNuFlux.h.
Referenced by GenerateNext_weighted(), Initialize(), LoadBeamSimData(), POT_1cycle(), and POT_curravg().
|
private |
are we using a TTree or a TChain to view the input flux file?
Definition at line 119 of file GJPARCNuFlux.h.
Referenced by GenerateNext_weighted(), Initialize(), LoadBeamSimData(), POT_1cycle(), and POT_curravg().
|
private |
start looping at entry fOffset
Definition at line 128 of file GJPARCNuFlux.h.
Referenced by Clear(), GenerateNext_weighted(), Initialize(), and RandomOffset().
|
private |
Definition at line 143 of file GJPARCNuFlux.h.
Referenced by CleanUp(), GenerateNext_weighted(), Initialize(), LoadBeamSimData(), PassThroughInfo(), and ResetCurrent().
|
private |
list of neutrino pdg-codes
Definition at line 108 of file GJPARCNuFlux.h.
Referenced by CleanUp(), FluxParticles(), GenerateNext_weighted(), Initialize(), and SetFluxParticles().
|
private |
sum of weights for neutrinos thrown so far
Definition at line 135 of file GJPARCNuFlux.h.
Referenced by Clear(), GenerateNext_weighted(), Initialize(), and SumWeight().
|
private |
total sum of weights for neutrinos to be thrown / cycle
Definition at line 137 of file GJPARCNuFlux.h.
Referenced by Initialize(), and LoadBeamSimData().
|
private |
whether set random starting point when looping over flux ntuples
Definition at line 140 of file GJPARCNuFlux.h.
Referenced by DisableOffset(), Initialize(), and LoadBeamSimData().
|
private |
configurable starting z position for each flux neutrino (in detector coord system)
Definition at line 132 of file GJPARCNuFlux.h.
Referenced by GenerateNext_weighted(), Initialize(), and SetUpstreamZ().