4 #include "dk2nu/tree/dk2nu.h" 5 #include "dk2nu/tree/dkmeta.h" 7 #include <TParticlePDG.h> 8 #include <TDatabasePDG.h> 23 NuWeight(std::vector<double>& posdet);
Get the weight to get the neutrino probability flux in one point.
void calculate_weight(bsim::Dk2Nu *nu)
Calculate weight based on dk2nu entry. After this, enu and wgt have meaningful values.
NuWeight(std::vector< double > &posdet)
The constructor has to have the position of the detector.