|
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) | |
| double | MaxEnergy (void) |
| declare the max flux neutrino energy that can be generated (for init. purposes) | |
| bool | GenerateNext (void) |
| generate the next flux neutrino (return false in err) | |
| int | PdgCode (void) |
| returns the flux neutrino pdg code | |
| double | Weight (void) |
| returns the flux neutrino weight (if any) | |
| const TLorentzVector & | Momentum (void) |
| returns the flux neutrino 4-momentum | |
| const TLorentzVector & | Position (void) |
| returns the flux neutrino 4-position (note: expect SI rather than physical units) | |
| bool | End (void) |
| true if no more flux nu's can be thrown (eg reaching end of beam sim ntuples) | |
| long int | Index (void) |
| returns corresponding index for current flux neutrino (e.g. for a flux ntuple returns the current entry number) | |
| void | Clear (Option_t *opt) |
| reset state variables based on opt | |
| void | GenerateWeighted (bool gen_weighted) |
| set whether to generate weighted or unweighted neutrinos | |
| const genie::flux::GSimpleNtpEntry * | GetCurrentEntry (void) |
| GSimpleNtpEntry. | |
| const genie::flux::GSimpleNtpNuMI * | GetCurrentNuMI (void) |
| GSimpleNtpNuMI. | |
| const genie::flux::GSimpleNtpAux * | GetCurrentAux (void) |
| GSimpleNtpAux. | |
| const genie::flux::GSimpleNtpMeta * | GetCurrentMeta (void) |
| GSimpleNtpMeta. | |
| TChain * | GetFluxTChain (void) |
| double | GetDecayDist () const |
| dist (user units) from dk to current pos | |
| void | MoveToZ0 (double z0) |
| move ray origin to user coord Z0 | |
| void | SetIncludeVtxt (bool it=true) |
| bool | GetIncludeVtxt () |
| should X4 include CurEntry.vtxt | |
| virtual double | GetTotalExposure () const |
| GFluxExposureI interface. | |
| virtual long int | NFluxNeutrinos () const |
| double | UsedPOTs (void) const |
| long int | NEntriesUsed (void) const |
| number of entries read from files | |
| double | SumWeight (void) const |
| integrated weight for flux neutrinos looped so far | |
| void | PrintCurrent (void) |
| print current entry from leaves | |
| void | PrintConfig () |
| print the current configuration | |
| std::vector< std::string > | GetFileList () |
| list of files currently part of chain | |
| 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 | |
| void | SetGenWeighted (bool genwgt=false) |
| toggle whether GenerateNext() returns weight=1 flux (initial default false) | |
| void | SetEntryReuse (long int nuse=1) |
| void | ProcessMeta (void) |
| scan for max flux energy, weight | |
| void | GetFluxWindow (TVector3 &p1, TVector3 &p2, TVector3 &p3) const |
| 3 points define a plane in beam coordinate | |
| 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) |
| 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? | |
| genie::flux::Exposure_t | GetExposureType () const |
| Public Member Functions inherited from genie::flux::GFluxFileConfigI | |
| GFluxFileConfigI () | |
| virtual | ~GFluxFileConfigI () |
| virtual void | SetXMLFileBase (std::string xmlbasename="") |
| virtual std::string | GetXMLFileBase () const |
| virtual void | SetFluxParticles (const PDGCodeList &particles) |
| specify list of flux neutrino species | |
| virtual void | SetUpstreamZ (double z0) |
| virtual void | SetNumOfCycles (long int ncycle) |
| limit cycling through input files | |
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 | |
| bool | fEnd |
| end condition reached | |
| std::vector< string > | fNuFluxFilePatterns |
| (potentially wildcarded) path(s) | |
| string | fNuFluxBranchRequest |
| list of requested branches "entry,numi,au" | |
| TChain * | fNuFluxTree |
| TTree // REF ONLY. | |
| TChain * | fNuMetaTree |
| TTree // REF ONLY. | |
| int | fNFiles |
| number of files in chain | |
| Long64_t | fNEntries |
| number of flux ntuple entries | |
| Long64_t | fIEntry |
| current flux ntuple entry | |
| Int_t | fIFileNumber |
| which file for the current entry | |
| Double_t | fFilePOTs |
| double | fWeight |
| current neutrino weight | |
| double | fMaxWeight |
| max flux neutrino weight in input file | |
| long int | fNUse |
| how often to use same entry in a row | |
| long int | fIUse |
| current # of times an entry has been used | |
| double | fSumWeight |
| sum of weights for nus thrown so far | |
| long int | fNNeutrinos |
| number of flux neutrinos thrown so far | |
| long int | fNEntriesUsed |
| number of entries read from files | |
| double | fEffPOTsPerNu |
| what a entry is worth ... | |
| double | fAccumPOTs |
| POTs used so far. | |
| bool | fGenWeighted |
| does GenerateNext() give weights? | |
| bool | fAlreadyUnwgt |
| are input files already unweighted | |
| bool | fAllFilesMeta |
| do all files in chain have meta data | |
| GSimpleNtpEntry * | fCurEntry |
| current entry | |
| GSimpleNtpNuMI * | fCurNuMI |
| current "numi" branch extra info | |
| GSimpleNtpAux * | fCurAux |
| current "aux" branch extra info | |
| TLorentzVector | fP4 |
| reconstituted p4 vector | |
| TLorentzVector | fX4 |
| reconstituted position vector | |
| GSimpleNtpMeta * | fCurMeta |
| current meta data | |
| GSimpleNtpEntry * | fCurEntryCopy |
| current entry | |
| GSimpleNtpNuMI * | fCurNuMICopy |
| current "numi" branch extra info | |
| GSimpleNtpAux * | fCurAuxCopy |
| current "aux" branch extra info | |
| bool | fIncludeVtxt |
| does fX4 include CurEntry.vtxt or 0 | |
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 | |
| PDGCodeList * | fPdgCListRej |
| list of nu pdg-codes seen but rejected | |
| std::string | fXMLbasename |
| XML file that might hold config param_sets. | |
| long int | fNCycles |
| 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.
| genie::flux::GSimpleNtpFlux::GSimpleNtpFlux | ( | ) |
| 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(), 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 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, MoveToZ0(), genie::utils::print::P4AsShortString(), pDEBUG, pERROR, pFATAL, pINFO, pWARN, ResetCurrent(), Weight(), 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**)&fCurMyClass;
Reimplemented from genie::flux::GFluxFileConfigI.
Definition at line 564 of file GSimpleNtpFlux.cxx.
|
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 fCurEntry.
| 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.
|
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 |
Reimplemented from genie::flux::GFluxFileConfigI.
Definition at line 49 of file GFluxFileConfigI.cxx.
|
virtual |
Reimplemented from genie::flux::GFluxFileConfigI.
Definition at line 52 of file GFluxFileConfigI.cxx.
|
virtual |
first is primary method for loading root flux ntuple files and config others are alternatives that can be overloaded but have sensible defaults to fall back to calling the vector version
Implements genie::flux::GFluxFileConfigI.
|
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 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.
|
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, and pNOTICE.
| void GSimpleNtpFlux::PrintCurrent | ( | void | ) |
| 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, and SetMaxEnergy().
Referenced by LoadBeamSimData().
|
private |
Definition at line 771 of file GSimpleNtpFlux.cxx.
References fCurAux, fCurEntry, and fCurNuMI.
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 |
| 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().