Public Member Functions | Public Attributes | List of all members
bsim::Dk2Nu Class Reference


More...

#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::NuRaynuray
 rays through detector fixed points More...
 
std::vector< bsim::Ancestorancestor
 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::Trajtraj
 [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...
 

Detailed Description


============================================================================ This is the structure that is the basis for the flux ntuple

Definition at line 320 of file dk2nu.h.

Constructor & Destructor Documentation

bsim::Dk2Nu::Dk2Nu ( )

Public methods for constructing/destruction and resetting the data

virtual bsim::Dk2Nu::~Dk2Nu ( )
virtual
bsim::Dk2Nu::Dk2Nu ( )

Public methods for constructing/destruction and resetting the data

virtual bsim::Dk2Nu::~Dk2Nu ( )
virtual

Member Function Documentation

std::string bsim::Dk2Nu::AsString ( const std::string opt = "") const
std::string bsim::Dk2Nu::AsString ( const std::string opt = "") const
void bsim::Dk2Nu::clear ( const std::string opt = "")
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
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

Member Data Documentation

std::vector< bsim::Ancestor > bsim::Dk2Nu::ancestor
bsim::Decay bsim::Dk2Nu::decay
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
Int_t bsim::Dk2Nu::jobindx

unique # within the job potnum isn't sufficient

Definition at line 325 of file dk2nu.h.

std::vector< bsim::NuRay > bsim::Dk2Nu::nuray
Int_t bsim::Dk2Nu::potnum
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

[optional] trajectory points

Definition at line 339 of file dk2nu.h.

std::vector< Double_t > bsim::Dk2Nu::vdbl

user defined vector of doubles

Definition at line 349 of file dk2nu.h.

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().


The documentation for this class was generated from the following file: