GENIEGenerator
|
A GENIE flux driver using a simple ntuple format. More...
#include <GSimpleNtpFlux.h>
Public Member Functions | |
GSimpleNtpFlux () | |
~GSimpleNtpFlux () | |
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) |
set whether to generate weighted or unweighted neutrinos More... | |
const genie::flux::GSimpleNtpEntry * | GetCurrentEntry (void) |
GSimpleNtpEntry. More... | |
const genie::flux::GSimpleNtpNuMI * | GetCurrentNuMI (void) |
GSimpleNtpNuMI. More... | |
const genie::flux::GSimpleNtpAux * | GetCurrentAux (void) |
GSimpleNtpAux. More... | |
const genie::flux::GSimpleNtpMeta * | GetCurrentMeta (void) |
GSimpleNtpMeta. More... | |
TChain * | GetFluxTChain (void) |
double | GetDecayDist () const |
dist (user units) from dk to current pos More... | |
void | MoveToZ0 (double z0) |
move ray origin to user coord Z0 More... | |
void | SetIncludeVtxt (bool it=true) |
bool | GetIncludeVtxt () |
should X4 include CurEntry.vtxt More... | |
virtual double | GetTotalExposure () const |
GFluxExposureI interface. More... | |
virtual long int | NFluxNeutrinos () const |
of rays generatedMore... | |
double | UsedPOTs (void) const |
of protons-on-target usedMore... | |
long int | NEntriesUsed (void) const |
number of entries read from files More... | |
double | SumWeight (void) const |
integrated weight for flux neutrinos looped so far More... | |
void | PrintCurrent (void) |
print current entry from leaves More... | |
void | PrintConfig () |
print the current configuration More... | |
std::vector< std::string > | GetFileList () |
list of files currently part of chain More... | |
virtual void | LoadBeamSimData (const std::vector< string > &filenames, const std::string &det_loc) |
virtual void | GetBranchInfo (std::vector< std::string > &branchNames, std::vector< std::string > &branchClassNames, std::vector< void ** > &branchObjPointers) |
virtual TTree * | GetMetaDataTree () |
void | SetRequestedBranchList (string blist="entry,numi,aux") |
void | SetMaxEnergy (double Ev) |
specify maximum flx neutrino energy More... | |
void | SetGenWeighted (bool genwgt=false) |
toggle whether GenerateNext() returns weight=1 flux (initial default false) More... | |
void | SetEntryReuse (long int nuse=1) |
of times to use entry before moving to nextMore... | |
void | ProcessMeta (void) |
scan for max flux energy, weight More... | |
void | GetFluxWindow (TVector3 &p1, TVector3 &p2, TVector3 &p3) const |
3 points define a plane in beam coordinate More... | |
Public Member Functions inherited from genie::GFluxI | |
virtual | ~GFluxI () |
Public Member Functions inherited from genie::flux::GFluxExposureI | |
GFluxExposureI (genie::flux::Exposure_t etype) | |
virtual | ~GFluxExposureI () |
const char * | GetExposureUnits () const |
what units are returned by GetTotalExposure? More... | |
genie::flux::Exposure_t | GetExposureType () const |
Public Member Functions inherited from genie::flux::GFluxFileConfigI | |
GFluxFileConfigI () | |
virtual | ~GFluxFileConfigI () |
virtual void | LoadBeamSimData (const std::vector< std::string > &filenames, const std::string &det_loc)=0 |
virtual void | LoadBeamSimData (const std::set< std::string > &filenames, const std::string &det_loc) |
virtual void | LoadBeamSimData (const std::string &filename, const std::string &det_loc) |
virtual void | SetXMLFileBase (std::string xmlbasename="") |
virtual std::string | GetXMLFileBase () const |
virtual void | SetFluxParticles (const PDGCodeList &particles) |
specify list of flux neutrino species More... | |
virtual void | SetUpstreamZ (double z0) |
virtual void | SetNumOfCycles (long int ncycle) |
limit cycling through input files More... | |
Private Member Functions | |
bool | GenerateNext_weighted (void) |
void | Initialize (void) |
void | SetDefaults (void) |
void | CleanUp (void) |
void | ResetCurrent (void) |
void | AddFile (TTree *fluxtree, TTree *metatree, string fname) |
bool | OptionalAttachBranch (std::string bname) |
void | CalcEffPOTsPerNu (void) |
void | ScanMeta (void) |
Private Attributes | |
double | fMaxEv |
maximum energy More... | |
bool | fEnd |
end condition reached More... | |
std::vector< string > | fNuFluxFilePatterns |
(potentially wildcarded) path(s) More... | |
string | fNuFluxBranchRequest |
list of requested branches "entry,numi,au" More... | |
TChain * | fNuFluxTree |
TTree // REF ONLY. More... | |
TChain * | fNuMetaTree |
TTree // REF ONLY. More... | |
int | fNFiles |
number of files in chain More... | |
Long64_t | fNEntries |
number of flux ntuple entries More... | |
Long64_t | fIEntry |
current flux ntuple entry More... | |
Int_t | fIFileNumber |
which file for the current entry More... | |
Double_t | fFilePOTs |
of protons-on-target represented by all filesMore... | |
double | fWeight |
current neutrino weight More... | |
double | fMaxWeight |
max flux neutrino weight in input file More... | |
long int | fNUse |
how often to use same entry in a row More... | |
long int | fIUse |
current # of times an entry has been used More... | |
double | fSumWeight |
sum of weights for nus thrown so far More... | |
long int | fNNeutrinos |
number of flux neutrinos thrown so far More... | |
long int | fNEntriesUsed |
number of entries read from files More... | |
double | fEffPOTsPerNu |
what a entry is worth ... More... | |
double | fAccumPOTs |
POTs used so far. More... | |
bool | fGenWeighted |
does GenerateNext() give weights? More... | |
bool | fAlreadyUnwgt |
are input files already unweighted More... | |
bool | fAllFilesMeta |
do all files in chain have meta data More... | |
GSimpleNtpEntry * | fCurEntry |
current entry More... | |
GSimpleNtpNuMI * | fCurNuMI |
current "numi" branch extra info More... | |
GSimpleNtpAux * | fCurAux |
current "aux" branch extra info More... | |
TLorentzVector | fP4 |
reconstituted p4 vector More... | |
TLorentzVector | fX4 |
reconstituted position vector More... | |
GSimpleNtpMeta * | fCurMeta |
current meta data More... | |
GSimpleNtpEntry * | fCurEntryCopy |
current entry More... | |
GSimpleNtpNuMI * | fCurNuMICopy |
current "numi" branch extra info More... | |
GSimpleNtpAux * | fCurAuxCopy |
current "aux" branch extra info More... | |
bool | fIncludeVtxt |
does fX4 include CurEntry.vtxt or 0 More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from genie::flux::GFluxExposureI | |
static const char * | AsString (genie::flux::Exposure_t etype) |
static genie::flux::Exposure_t | StringToEnum (const char *chars, int maxChar=0) |
Protected Member Functions inherited from genie::GFluxI | |
GFluxI () | |
Protected Attributes inherited from genie::flux::GFluxFileConfigI | |
PDGCodeList * | fPdgCList |
list of neutrino pdg-codes to generate More... | |
PDGCodeList * | fPdgCListRej |
list of nu pdg-codes seen but rejected More... | |
std::string | fXMLbasename |
XML file that might hold config param_sets. More... | |
long int | fNCycles |
times to cycle through the ntuple(s)More... | |
long int | fICycle |
double | fZ0 |
A GENIE flux driver using a simple ntuple format.
An implementation of the GFluxI interface that provides NuMI flux
Definition at line 199 of file GSimpleNtpFlux.h.
GSimpleNtpFlux::GSimpleNtpFlux | ( | ) |
Definition at line 67 of file GSimpleNtpFlux.cxx.
References Initialize().
GSimpleNtpFlux::~GSimpleNtpFlux | ( | ) |
|
private |
Definition at line 802 of file GSimpleNtpFlux.cxx.
References fAllFilesMeta, fNFiles, fNuFluxTree, fNuMetaTree, LOG, and pINFO.
Referenced by LoadBeamSimData().
|
private |
Definition at line 362 of file GSimpleNtpFlux.cxx.
References fEffPOTsPerNu, fFilePOTs, fMaxWeight, fNEntries, and fNuFluxTree.
Referenced by LoadBeamSimData().
|
private |
Definition at line 782 of file GSimpleNtpFlux.cxx.
References fCurAux, fCurEntry, fCurMeta, fCurNuMI, genie::flux::GFluxFileConfigI::fICycle, fIEntry, fIUse, genie::flux::GFluxFileConfigI::fNCycles, fNuFluxTree, fNuMetaTree, fNUse, genie::flux::GFluxFileConfigI::fPdgCList, genie::flux::GFluxFileConfigI::fPdgCListRej, LOG, pINFO, and pNOTICE.
Referenced by ~GSimpleNtpFlux().
|
virtual |
reset state variables based on opt
Implements genie::GFluxI.
Definition at line 685 of file GSimpleNtpFlux.cxx.
References fAccumPOTs, genie::flux::GFluxFileConfigI::fICycle, fNNeutrinos, fSumWeight, LOG, and pWARN.
|
inlinevirtual |
true if no more flux nu's can be thrown (eg reaching end of beam sim ntuples)
Implements genie::GFluxI.
Definition at line 219 of file GSimpleNtpFlux.h.
References fEnd.
Referenced by GenerateNext().
|
inlinevirtual |
declare list of flux neutrinos that can be generated (for init. purposes)
Implements genie::GFluxI.
Definition at line 212 of file GSimpleNtpFlux.h.
References genie::flux::GFluxFileConfigI::fPdgCList.
|
virtual |
generate the next flux neutrino (return false in err)
Implements genie::GFluxI.
Definition at line 90 of file GSimpleNtpFlux.cxx.
References End(), fAlreadyUnwgt, fCurEntry, fGenWeighted, fMaxWeight, fP4, fWeight, fX4, GenerateNext_weighted(), GetCurrentEntry(), genie::RandomGen::Instance(), LOG, genie::utils::print::P4AsShortString(), genie::flux::GSimpleNtpEntry::pdg, pERROR, pNOTICE, genie::RandomGen::RndFlux(), Weight(), and genie::utils::print::X4AsString().
|
private |
user might modify list via SetFluxParticles() in order to reject certain flavors, even if they're found in the file. So don't make a big fuss. Spit out a single message and then stop reporting that flavor as problematic.
Definition at line 155 of file GSimpleNtpFlux.cxx.
References genie::flux::GSimpleNtpEntry::E, genie::flux::GSimpleNtpNuMI::entryno, genie::flux::GSimpleNtpNuMI::evtno, genie::PDGCodeList::ExistsInPDGCodeList(), fAccumPOTs, fAllFilesMeta, fCurEntry, fCurMeta, fCurNuMI, fEffPOTsPerNu, fEnd, genie::flux::GFluxFileConfigI::fICycle, fIEntry, fIncludeVtxt, fIUse, fMaxEv, genie::flux::GFluxFileConfigI::fNCycles, fNEntries, fNEntriesUsed, fNNeutrinos, fNuFluxTree, fNuMetaTree, fP4, genie::flux::GFluxFileConfigI::fPdgCList, genie::flux::GFluxFileConfigI::fPdgCListRej, fSumWeight, fWeight, fX4, genie::flux::GFluxFileConfigI::fZ0, LOG, genie::flux::GSimpleNtpEntry::metakey, genie::flux::GSimpleNtpMeta::metakey, MoveToZ0(), genie::utils::print::P4AsShortString(), pDEBUG, genie::flux::GSimpleNtpEntry::pdg, pERROR, pFATAL, pINFO, genie::PDGCodeList::push_back(), pWARN, genie::flux::GSimpleNtpEntry::px, genie::flux::GSimpleNtpEntry::py, genie::flux::GSimpleNtpEntry::pz, ResetCurrent(), genie::flux::GSimpleNtpEntry::vtxt, genie::flux::GSimpleNtpEntry::vtxx, genie::flux::GSimpleNtpEntry::vtxy, genie::flux::GSimpleNtpEntry::vtxz, Weight(), genie::flux::GSimpleNtpEntry::wgt, and genie::utils::print::X4AsString().
Referenced by GenerateNext().
|
virtual |
set whether to generate weighted or unweighted neutrinos
Implements genie::GFluxI.
Definition at line 700 of file GSimpleNtpFlux.cxx.
References fGenWeighted.
|
virtual |
allow caller to copy current status / ntuple entry info in the output file by providing copies of internal info
Assumes that branch object pointers will not change which may require either a copy be made or, if using the class directly for reading the branch, one must force ROOT to not autodelete: myns::MyClassType* fCurrMyClass = new myns::MyClassType; myTree->SetBranchAddress("bname",&fCurMyClass); //? TBranch* b = myTree->GetBranch("bname"); //? b->SetAutoDelete(false);
ensure vectors are sized sufficiently (or use .push_back()) branchNames[i] = "bname" branchClassNames[i] = "myns::MyClassType" branchObjPointers[i] = (void**)
Reimplemented from genie::flux::GFluxFileConfigI.
Definition at line 564 of file GSimpleNtpFlux.cxx.
References fCurAux, fCurEntry, and fCurNuMI.
|
inline |
|
inline |
Definition at line 234 of file GSimpleNtpFlux.h.
References fCurEntry.
Referenced by GenerateNext().
|
inline |
|
inline |
double GSimpleNtpFlux::GetDecayDist | ( | ) | const |
dist (user units) from dk to current pos
Definition at line 316 of file GSimpleNtpFlux.cxx.
References genie::flux::GSimpleNtpEntry::dist, and fCurEntry.
Referenced by genie::flux::GFluxBlender::GenerateNext().
std::vector< std::string > GSimpleNtpFlux::GetFileList | ( | ) |
list of files currently part of chain
Definition at line 1120 of file GSimpleNtpFlux.cxx.
References fNuFluxTree.
Referenced by PrintConfig().
|
inline |
Definition at line 244 of file GSimpleNtpFlux.h.
References fNuFluxTree.
void GSimpleNtpFlux::GetFluxWindow | ( | TVector3 & | p1, |
TVector3 & | p2, | ||
TVector3 & | p3 | ||
) | const |
3 points define a plane in beam coordinate
Definition at line 663 of file GSimpleNtpFlux.cxx.
References fCurMeta, genie::flux::GSimpleNtpMeta::windowBase, genie::flux::GSimpleNtpMeta::windowDir1, and genie::flux::GSimpleNtpMeta::windowDir2.
|
inline |
should X4 include CurEntry.vtxt
Definition at line 250 of file GSimpleNtpFlux.h.
References fIncludeVtxt.
|
virtual |
Reimplemented from genie::flux::GFluxFileConfigI.
Definition at line 591 of file GSimpleNtpFlux.cxx.
References fNuMetaTree.
|
virtual |
GFluxExposureI interface.
Implements genie::flux::GFluxExposureI.
Definition at line 78 of file GSimpleNtpFlux.cxx.
References UsedPOTs().
|
inlinevirtual |
returns corresponding index for current flux neutrino (e.g. for a flux ntuple returns the current entry number)
Implements genie::GFluxI.
Definition at line 220 of file GSimpleNtpFlux.h.
References fIEntry.
|
private |
Definition at line 707 of file GSimpleNtpFlux.cxx.
References fAccumPOTs, fAllFilesMeta, fAlreadyUnwgt, fCurAux, fCurAuxCopy, fCurEntry, fCurEntryCopy, fCurMeta, fCurNuMI, fCurNuMICopy, fEffPOTsPerNu, fEnd, fFilePOTs, fGenWeighted, genie::flux::GFluxFileConfigI::fICycle, fIEntry, fIFileNumber, fIncludeVtxt, fIUse, fMaxEv, fMaxWeight, fNEntries, fNEntriesUsed, fNFiles, fNNeutrinos, fNuFluxBranchRequest, fNuFluxTree, fNuMetaTree, fNUse, fSumWeight, LOG, pINFO, ResetCurrent(), and SetDefaults().
|
virtual |
Definition at line 385 of file GSimpleNtpFlux.cxx.
References AddFile(), CalcEffPOTsPerNu(), fAccumPOTs, fCurAux, fCurEntry, fCurNuMI, genie::flux::GFluxFileConfigI::fICycle, fIEntry, fIUse, fMaxWeight, fNEntries, fNEntriesUsed, fNNeutrinos, fNuFluxFilePatterns, fNuFluxTree, fSumWeight, genie::RandomGen::Instance(), LOG, OptionalAttachBranch(), pDEBUG, pERROR, pFATAL, pINFO, pNOTICE, ProcessMeta(), and genie::RandomGen::RndFlux().
|
inlinevirtual |
declare the max flux neutrino energy that can be generated (for init. purposes)
Implements genie::GFluxI.
Definition at line 213 of file GSimpleNtpFlux.h.
References fMaxEv.
|
inlinevirtual |
returns the flux neutrino 4-momentum
Implements genie::GFluxI.
Definition at line 217 of file GSimpleNtpFlux.h.
References fP4.
void GSimpleNtpFlux::MoveToZ0 | ( | double | z0 | ) |
move ray origin to user coord Z0
Definition at line 323 of file GSimpleNtpFlux.cxx.
References e, fP4, fX4, genie::constants::kLightSpeed, LOG, genie::units::meter, pWARN, and genie::units::second.
Referenced by GenerateNext_weighted().
|
inline |
number of entries read from files
Definition at line 260 of file GSimpleNtpFlux.h.
References fNEntriesUsed.
|
virtual |
< number of flux neutrinos looped so far
Implements genie::flux::GFluxExposureI.
Definition at line 84 of file GSimpleNtpFlux.cxx.
References fNNeutrinos.
|
private |
Definition at line 827 of file GSimpleNtpFlux.cxx.
References fNuFluxBranchRequest, fNuFluxTree, LOG, and pINFO.
Referenced by LoadBeamSimData().
|
inlinevirtual |
returns the flux neutrino pdg code
Implements genie::GFluxI.
Definition at line 215 of file GSimpleNtpFlux.h.
References fCurEntry, and genie::flux::GSimpleNtpEntry::pdg.
|
inlinevirtual |
returns the flux neutrino 4-position (note: expect SI rather than physical units)
Implements genie::GFluxI.
Definition at line 218 of file GSimpleNtpFlux.h.
References fX4.
|
virtual |
print the current configuration
Implements genie::flux::GFluxFileConfigI.
Definition at line 1076 of file GSimpleNtpFlux.cxx.
References fAccumPOTs, fAllFilesMeta, fAlreadyUnwgt, fEffPOTsPerNu, fFilePOTs, fGenWeighted, genie::flux::GFluxFileConfigI::fICycle, fIEntry, fIUse, fMaxEv, fMaxWeight, genie::flux::GFluxFileConfigI::fNCycles, fNEntries, fNEntriesUsed, fNFiles, fNNeutrinos, fNuFluxFilePatterns, fNUse, genie::flux::GFluxFileConfigI::fPdgCList, genie::flux::GFluxFileConfigI::fPdgCListRej, fSumWeight, genie::flux::GFluxFileConfigI::fZ0, GetFileList(), LOG, pNOTICE, and genie::units::s.
void GSimpleNtpFlux::PrintCurrent | ( | void | ) |
print current entry from leaves
Definition at line 680 of file GSimpleNtpFlux.cxx.
References fCurEntry, LOG, and pNOTICE.
void GSimpleNtpFlux::ProcessMeta | ( | void | ) |
scan for max flux energy, weight
Definition at line 594 of file GSimpleNtpFlux.cxx.
References fAllFilesMeta, fAlreadyUnwgt, fCurMeta, fFilePOTs, fIFileNumber, fMaxEv, fMaxWeight, fNFiles, fNuMetaTree, genie::flux::GFluxFileConfigI::fPdgCList, LOG, pDEBUG, pFATAL, pNOTICE, genie::PDGCodeList::push_back(), genie::flux::GSimpleNtpMeta::Reset(), and SetMaxEnergy().
Referenced by LoadBeamSimData().
|
private |
Definition at line 771 of file GSimpleNtpFlux.cxx.
References fCurAux, fCurEntry, fCurNuMI, genie::flux::GSimpleNtpEntry::Reset(), genie::flux::GSimpleNtpNuMI::Reset(), and genie::flux::GSimpleNtpAux::Reset().
Referenced by GenerateNext_weighted(), and Initialize().
|
private |
|
private |
Definition at line 758 of file GSimpleNtpFlux.cxx.
References LOG, pINFO, SetEntryReuse(), genie::flux::GFluxFileConfigI::SetNumOfCycles(), and genie::flux::GFluxFileConfigI::SetUpstreamZ().
Referenced by Initialize().
void GSimpleNtpFlux::SetEntryReuse | ( | long int | nuse = 1 | ) |
Definition at line 655 of file GSimpleNtpFlux.cxx.
References fNUse.
Referenced by SetDefaults().
|
inline |
toggle whether GenerateNext() returns weight=1 flux (initial default false)
Definition at line 287 of file GSimpleNtpFlux.h.
References fGenWeighted.
|
inline |
Definition at line 249 of file GSimpleNtpFlux.h.
References fIncludeVtxt.
void GSimpleNtpFlux::SetMaxEnergy | ( | double | Ev | ) |
specify maximum flx neutrino energy
Definition at line 647 of file GSimpleNtpFlux.cxx.
References fMaxEv, LOG, and pINFO.
Referenced by ProcessMeta().
|
inline |
Definition at line 283 of file GSimpleNtpFlux.h.
References fNuFluxBranchRequest.
|
inline |
integrated weight for flux neutrinos looped so far
Definition at line 261 of file GSimpleNtpFlux.h.
References fSumWeight.
double GSimpleNtpFlux::UsedPOTs | ( | void | ) | const |
Definition at line 372 of file GSimpleNtpFlux.cxx.
References fAccumPOTs, fNuFluxTree, LOG, and pWARN.
Referenced by GetTotalExposure().
|
inlinevirtual |
returns the flux neutrino weight (if any)
Implements genie::GFluxI.
Definition at line 216 of file GSimpleNtpFlux.h.
References fWeight.
Referenced by GenerateNext(), and GenerateNext_weighted().
|
private |
POTs used so far.
Definition at line 335 of file GSimpleNtpFlux.h.
Referenced by Clear(), GenerateNext_weighted(), Initialize(), LoadBeamSimData(), PrintConfig(), and UsedPOTs().
|
private |
do all files in chain have meta data
Definition at line 340 of file GSimpleNtpFlux.h.
Referenced by AddFile(), GenerateNext_weighted(), Initialize(), PrintConfig(), and ProcessMeta().
|
private |
are input files already unweighted
Definition at line 338 of file GSimpleNtpFlux.h.
Referenced by GenerateNext(), Initialize(), PrintConfig(), and ProcessMeta().
|
private |
current "aux" branch extra info
Definition at line 344 of file GSimpleNtpFlux.h.
Referenced by CleanUp(), GetBranchInfo(), GetCurrentAux(), Initialize(), LoadBeamSimData(), and ResetCurrent().
|
private |
current "aux" branch extra info
Definition at line 351 of file GSimpleNtpFlux.h.
Referenced by Initialize().
|
private |
current entry
Definition at line 342 of file GSimpleNtpFlux.h.
Referenced by CleanUp(), GenerateNext(), GenerateNext_weighted(), GetBranchInfo(), GetCurrentEntry(), GetDecayDist(), Initialize(), LoadBeamSimData(), PdgCode(), PrintCurrent(), and ResetCurrent().
|
private |
|
private |
current meta data
Definition at line 347 of file GSimpleNtpFlux.h.
Referenced by CleanUp(), GenerateNext_weighted(), GetCurrentMeta(), GetFluxWindow(), Initialize(), and ProcessMeta().
|
private |
current "numi" branch extra info
Definition at line 343 of file GSimpleNtpFlux.h.
Referenced by CleanUp(), GenerateNext_weighted(), GetBranchInfo(), GetCurrentNuMI(), Initialize(), LoadBeamSimData(), and ResetCurrent().
|
private |
current "numi" branch extra info
Definition at line 350 of file GSimpleNtpFlux.h.
Referenced by Initialize().
|
private |
what a entry is worth ...
Definition at line 334 of file GSimpleNtpFlux.h.
Referenced by CalcEffPOTsPerNu(), GenerateNext_weighted(), Initialize(), and PrintConfig().
|
private |
end condition reached
Definition at line 312 of file GSimpleNtpFlux.h.
Referenced by End(), GenerateNext_weighted(), and Initialize().
|
private |
Definition at line 324 of file GSimpleNtpFlux.h.
Referenced by CalcEffPOTsPerNu(), Initialize(), PrintConfig(), and ProcessMeta().
|
private |
does GenerateNext() give weights?
Definition at line 337 of file GSimpleNtpFlux.h.
Referenced by GenerateNext(), GenerateWeighted(), Initialize(), PrintConfig(), and SetGenWeighted().
|
private |
current flux ntuple entry
Definition at line 321 of file GSimpleNtpFlux.h.
Referenced by CleanUp(), GenerateNext_weighted(), Index(), Initialize(), LoadBeamSimData(), and PrintConfig().
|
private |
which file for the current entry
Definition at line 322 of file GSimpleNtpFlux.h.
Referenced by Initialize(), and ProcessMeta().
|
private |
does fX4 include CurEntry.vtxt or 0
Definition at line 353 of file GSimpleNtpFlux.h.
Referenced by GenerateNext_weighted(), GetIncludeVtxt(), Initialize(), and SetIncludeVtxt().
|
private |
current # of times an entry has been used
Definition at line 330 of file GSimpleNtpFlux.h.
Referenced by CleanUp(), GenerateNext_weighted(), Initialize(), LoadBeamSimData(), and PrintConfig().
|
private |
maximum energy
Definition at line 311 of file GSimpleNtpFlux.h.
Referenced by GenerateNext_weighted(), Initialize(), MaxEnergy(), PrintConfig(), ProcessMeta(), and SetMaxEnergy().
|
private |
max flux neutrino weight in input file
Definition at line 327 of file GSimpleNtpFlux.h.
Referenced by CalcEffPOTsPerNu(), GenerateNext(), Initialize(), LoadBeamSimData(), PrintConfig(), and ProcessMeta().
|
private |
number of flux ntuple entries
Definition at line 320 of file GSimpleNtpFlux.h.
Referenced by CalcEffPOTsPerNu(), GenerateNext_weighted(), Initialize(), LoadBeamSimData(), and PrintConfig().
|
private |
number of entries read from files
Definition at line 333 of file GSimpleNtpFlux.h.
Referenced by GenerateNext_weighted(), Initialize(), LoadBeamSimData(), NEntriesUsed(), and PrintConfig().
|
private |
number of files in chain
Definition at line 319 of file GSimpleNtpFlux.h.
Referenced by AddFile(), Initialize(), PrintConfig(), and ProcessMeta().
|
private |
number of flux neutrinos thrown so far
Definition at line 332 of file GSimpleNtpFlux.h.
Referenced by Clear(), GenerateNext_weighted(), Initialize(), LoadBeamSimData(), NFluxNeutrinos(), and PrintConfig().
|
private |
list of requested branches "entry,numi,au"
Definition at line 315 of file GSimpleNtpFlux.h.
Referenced by Initialize(), OptionalAttachBranch(), and SetRequestedBranchList().
|
private |
(potentially wildcarded) path(s)
Definition at line 314 of file GSimpleNtpFlux.h.
Referenced by LoadBeamSimData(), and PrintConfig().
|
private |
TTree // REF ONLY.
Definition at line 316 of file GSimpleNtpFlux.h.
Referenced by AddFile(), CalcEffPOTsPerNu(), CleanUp(), GenerateNext_weighted(), GetFileList(), GetFluxTChain(), Initialize(), LoadBeamSimData(), OptionalAttachBranch(), and UsedPOTs().
|
private |
TTree // REF ONLY.
Definition at line 317 of file GSimpleNtpFlux.h.
Referenced by AddFile(), CleanUp(), GenerateNext_weighted(), GetMetaDataTree(), Initialize(), and ProcessMeta().
|
private |
how often to use same entry in a row
Definition at line 329 of file GSimpleNtpFlux.h.
Referenced by CleanUp(), Initialize(), PrintConfig(), and SetEntryReuse().
|
private |
reconstituted p4 vector
Definition at line 345 of file GSimpleNtpFlux.h.
Referenced by GenerateNext(), GenerateNext_weighted(), Momentum(), and MoveToZ0().
|
private |
sum of weights for nus thrown so far
Definition at line 331 of file GSimpleNtpFlux.h.
Referenced by Clear(), GenerateNext_weighted(), Initialize(), LoadBeamSimData(), PrintConfig(), and SumWeight().
|
private |
current neutrino weight
Definition at line 326 of file GSimpleNtpFlux.h.
Referenced by GenerateNext(), GenerateNext_weighted(), and Weight().
|
private |
reconstituted position vector
Definition at line 346 of file GSimpleNtpFlux.h.
Referenced by GenerateNext(), GenerateNext_weighted(), MoveToZ0(), and Position().