#include <iostream>
#include <iomanip>
#include "TFile.h"
#include "TTree.h"
#include "TRandom3.h"
#include "tree/dk2nu.h"
#include "tree/dkmeta.h"
#include "tree/readWeightLocations.h"
#include "tree/calcLocationWeights.h"
Go to the source code of this file.
Classes | |
class | NonStd |
Macros | |
#define | ADD_NONSTD |
include standardized code for reading location text file More... | |
Functions | |
void | test_fill_dk2nu (unsigned int nentries=1000) |
#define ADD_NONSTD |
include standardized code for reading location text file
include standardized code for getting energy/weight vectors for locations
Definition at line 43 of file test_fill_dk2nu.C.
make a dictionary for classes used in the tree again do this because we have no external linkages to libraries
equivalent to NumiAnalysis::NumiAnalysis() in g4numi
equivalent to NumiAnalysis::book() in g4numi
equivalent to NumiAnalysis::? in g4numi this is the main loop, making entries as the come about
equivalent to NumiAnalysis::FillNeutrinoNtuple() in g4numi (only the part within the loop over ipot)
equivalent to NumiAnalysis::finish() in g4numi
fill the rest of the metadata (locations filled above)
Definition at line 67 of file test_fill_dk2nu.C.
References bsim::Dk2Nu::ancestor, NonStd::bar, bsim::DkMeta::beamsim, bsim::calcLocationWeights(), bsim::Dk2Nu::clear(), om::cout, bsim::Dk2Nu::decay, dk2nu, dk2nuTree, dkmeta, dkmetaTree, allTimeWatchdog::endl, NonStd::foo, bsim::DkMeta::job, bsim::Dk2Nu::job, bsim::DkMeta::location, myjob, nentries, NonStd::NonStd(), bsim::Decay::ntype, bsim::Dk2Nu::nuray, bsim::Ancestor::pdg, bsim::DkMeta::physics, bsim::Dk2Nu::potnum, bsim::DkMeta::pots, bsim::Decay::ptype, bsim::readWeightLocations(), rndm, string, treeFile, bsim::Dk2Nu::vint, and bsim::DkMeta::vintnames.