#include "/cvmfs/nova.opensciencegrid.org/externals/dk2nugenie/v01_08_00e/source/dk2nu/tree/dk2nu.h"
Public Member Functions | |
Dk2Nu () | |
virtual | ~Dk2Nu () |
void | clear (const std::string &opt="") |
reset everything More... | |
std::string | AsString (const std::string &opt="") const |
void | Print (Option_t *option="") const |
size_t | indxnu () const |
ancestor index of nu ancestor.size()-1 More... | |
size_t | indxp () const |
ancestor index of parent ancestor.size()-2 More... | |
size_t | indxgp () const |
ancestor index of grandparent ancestor.size()-3 More... | |
bool | overflow () const |
ancestor list is incomplete (g4 minerva overflow) More... | |
Dk2Nu () | |
virtual | ~Dk2Nu () |
void | clear (const std::string &opt="") |
reset everything More... | |
std::string | AsString (const std::string &opt="") const |
void | Print (Option_t *option="") const |
size_t | indxnu () const |
ancestor index of nu ancestor.size()-1 More... | |
size_t | indxp () const |
ancestor index of parent ancestor.size()-2 More... | |
size_t | indxgp () const |
ancestor index of grandparent ancestor.size()-3 More... | |
bool | overflow () const |
ancestor list is incomplete (g4 minerva overflow) More... | |
Public Attributes | |
Int_t | job |
identifying job # More... | |
Int_t | potnum |
proton # processed by simulation More... | |
Int_t | jobindx |
bsim::Decay | decay |
basic decay information More... | |
std::vector< bsim::NuRay > | nuray |
rays through detector fixed points More... | |
std::vector< bsim::Ancestor > | ancestor |
chain from proton to neutrino More... | |
Double_t | ppvx |
production vertex x of nu parent More... | |
Double_t | ppvy |
production vertex y of nu parent More... | |
Double_t | ppvz |
production vertex z of nu parent More... | |
bsim::TgtExit | tgtexit |
info about leaving the target More... | |
std::vector< bsim::Traj > | traj |
[optional] trajectory points More... | |
Int_t | flagbits |
std::vector< Int_t > | vint |
user defined vector of integers More... | |
std::vector< Double_t > | vdbl |
user defined vector of doubles More... | |
============================================================================ This is the structure that is the basis for the flux ntuple
bsim::Dk2Nu::Dk2Nu | ( | ) |
Public methods for constructing/destruction and resetting the data
|
virtual |
bsim::Dk2Nu::Dk2Nu | ( | ) |
Public methods for constructing/destruction and resetting the data
|
virtual |
std::string bsim::Dk2Nu::AsString | ( | const std::string & | opt = "" | ) | const |
Referenced by genie::flux::GDk2NuFlux::GenerateNext(), and genie::flux::GDk2NuFlux::PrintCurrent().
std::string bsim::Dk2Nu::AsString | ( | const std::string & | opt = "" | ) | const |
void bsim::Dk2Nu::clear | ( | const std::string & | opt = "" | ) |
reset everything
Referenced by convert_flugg(), convert_g4lbne(), convert_g4minerva(), genie::flux::GDk2NuFlux::ResetCurrent(), and test_fill_dk2nu().
void bsim::Dk2Nu::clear | ( | const std::string & | opt = "" | ) |
reset everything
size_t bsim::Dk2Nu::indxgp | ( | ) | const |
ancestor index of grandparent ancestor.size()-3
size_t bsim::Dk2Nu::indxgp | ( | ) | const |
ancestor index of grandparent ancestor.size()-3
size_t bsim::Dk2Nu::indxnu | ( | ) | const |
ancestor index of nu ancestor.size()-1
Referenced by genie::flux::GDk2NuFlux::GenerateNext_weighted().
size_t bsim::Dk2Nu::indxnu | ( | ) | const |
ancestor index of nu ancestor.size()-1
size_t bsim::Dk2Nu::indxp | ( | ) | const |
ancestor index of parent ancestor.size()-2
size_t bsim::Dk2Nu::indxp | ( | ) | const |
ancestor index of parent ancestor.size()-2
bool bsim::Dk2Nu::overflow | ( | ) | const |
ancestor list is incomplete (g4 minerva overflow)
bool bsim::Dk2Nu::overflow | ( | ) | const |
ancestor list is incomplete (g4 minerva overflow)
Referenced by genie::flux::GDk2NuFlux::GenerateNext_weighted().
void bsim::Dk2Nu::Print | ( | Option_t * | option = "" | ) | const |
void bsim::Dk2Nu::Print | ( | Option_t * | option = "" | ) | const |
std::vector< bsim::Ancestor > bsim::Dk2Nu::ancestor |
chain from proton to neutrino
Definition at line 329 of file dk2nu.h.
Referenced by copy_flugg_to_dk2nu(), copy_g4lbne_to_dk2nu(), copy_g4minerva_to_dk2nu(), genie::flux::GDk2NuFlux::GenerateNext_weighted(), and test_fill_dk2nu().
bsim::Decay bsim::Dk2Nu::decay |
basic decay information
Definition at line 327 of file dk2nu.h.
Referenced by bsim::calcEnuWgt(), bsim::calcLocationWeights(), copy_flugg_to_dk2nu(), copy_g4lbne_to_dk2nu(), copy_g4minerva_to_dk2nu(), genie::flux::GDk2NuFlux::GenerateNext_weighted(), LOverEFlux(), evg::MCTruthToDk2NuHackItr::Next(), test_fill_dk2nu(), and test_read_dk2nu().
Int_t bsim::Dk2Nu::flagbits |
======================================================================= Special Info:bits signify non-std setting such as Geant vs. PDG codes, mm vs. cm, Mev vs. GeV bit00 = ancestore overflow (carry over from g4minerva)
Definition at line 345 of file dk2nu.h.
Referenced by copy_g4lbne_to_dk2nu(), and copy_g4minerva_to_dk2nu().
Int_t bsim::Dk2Nu::job |
identifying job #
Definition at line 323 of file dk2nu.h.
Referenced by copy_flugg_to_dk2nu(), copy_g4lbne_to_dk2nu(), copy_g4minerva_to_dk2nu(), genie::flux::GDk2NuFlux::LoadDkMeta(), evg::MCTruthToDk2NuHackItr::Next(), and test_fill_dk2nu().
Int_t bsim::Dk2Nu::jobindx |
std::vector< bsim::NuRay > bsim::Dk2Nu::nuray |
rays through detector fixed points
Definition at line 328 of file dk2nu.h.
Referenced by bsim::calcLocationWeights(), copy_flugg_to_dk2nu(), copy_g4lbne_to_dk2nu(), copy_g4minerva_to_dk2nu(), fluggCrossChecks(), g4lbneCrossChecks(), g4minervaCrossChecks(), LOverEFlux(), and test_fill_dk2nu().
Int_t bsim::Dk2Nu::potnum |
proton # processed by simulation
Definition at line 324 of file dk2nu.h.
Referenced by convert_flugg(), convert_g4lbne(), convert_g4minerva(), copy_flugg_to_dk2nu(), copy_g4lbne_to_dk2nu(), copy_g4minerva_to_dk2nu(), genie::flux::GDk2NuFlux::GenerateNext_weighted(), evg::MCTruthToDk2NuHackItr::Next(), and test_fill_dk2nu().
Double_t bsim::Dk2Nu::ppvx |
production vertex x of nu parent
These are ancestor.vx[size-2] kept, for now, for convenience
Definition at line 334 of file dk2nu.h.
Referenced by copy_flugg_to_dk2nu(), copy_g4lbne_to_dk2nu(), and copy_g4minerva_to_dk2nu().
Double_t bsim::Dk2Nu::ppvy |
production vertex y of nu parent
Definition at line 335 of file dk2nu.h.
Referenced by copy_flugg_to_dk2nu(), copy_g4lbne_to_dk2nu(), and copy_g4minerva_to_dk2nu().
Double_t bsim::Dk2Nu::ppvz |
production vertex z of nu parent
Definition at line 336 of file dk2nu.h.
Referenced by copy_flugg_to_dk2nu(), copy_g4lbne_to_dk2nu(), and copy_g4minerva_to_dk2nu().
bsim::TgtExit bsim::Dk2Nu::tgtexit |
info about leaving the target
Definition at line 338 of file dk2nu.h.
Referenced by copy_flugg_to_dk2nu(), copy_g4lbne_to_dk2nu(), and copy_g4minerva_to_dk2nu().
std::vector< bsim::Traj > bsim::Dk2Nu::traj |
std::vector< Double_t > bsim::Dk2Nu::vdbl |
std::vector< Int_t > bsim::Dk2Nu::vint |
user defined vector of integers
Definition at line 348 of file dk2nu.h.
Referenced by test_fill_dk2nu().