LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "NueAr40CCGenerator.h"
Public Member Functions | |
NueAr40CCGenerator (fhicl::ParameterSet const ¶meterSet) | |
std::vector< simb::MCTruth > | Generate (CLHEP::HepRandomEngine &engine) |
Private Member Functions | |
std::vector< double > | GetIsotropicDirection (CLHEP::HepRandomEngine &engine) const |
std::vector< double > | GetUniformPosition (CLHEP::HepRandomEngine &engine) const |
int | GetNumberOfNeutrinos (CLHEP::HepRandomEngine &engine) const |
double | GetNeutrinoTime (CLHEP::HepRandomEngine &engine) const |
double | GetNeutrinoEnergy (CLHEP::HepRandomEngine &engine) const |
void | ReadNeutrinoSpectrum () |
void | InitializeVectors () |
void | CreateKinematicsVector (simb::MCTruth &truth, CLHEP::HepRandomEngine &engine) const |
bool | ProcessOneNeutrino (simb::MCTruth &truth, double neutrinoEnergy, double neutrinoTime, CLHEP::HepRandomEngine &engine) const |
std::vector< double > | CalculateCrossSections (double neutrinoEnergy, int &highestLevel) const |
Private Attributes | |
std::map< double, double > | fEnergyProbabilityMap |
int | fNumberOfLevels |
int | fNumberOfStartLevels |
std::vector< std::vector< double > > | fBranchingRatios |
std::vector< std::vector< int > > | fDecayTo |
std::vector< double > | fStartEnergyLevels |
std::vector< double > | fB |
std::vector< double > | fEnergyLevels |
bool | fMonoenergeticNeutrinos |
double | fNeutrinoEnergy |
std::string | fEnergySpectrumFileName |
bool | fUsePoissonDistribution |
bool | fAllowZeroNeutrinos |
int | fNumberOfNeutrinos |
double | fNeutrinoTimeBegin |
double | fNeutrinoTimeEnd |
std::vector< std::vector< double > > | fActiveVolume |
Definition at line 27 of file NueAr40CCGenerator.h.
evgen::NueAr40CCGenerator::NueAr40CCGenerator | ( | fhicl::ParameterSet const & | parameterSet | ) |
Definition at line 33 of file NueAr40CCGenerator.cxx.
References fActiveVolume, fMonoenergeticNeutrinos, fhicl::ParameterSet::get(), InitializeVectors(), and ReadNeutrinoSpectrum().
|
private |
Definition at line 1127 of file NueAr40CCGenerator.cxx.
References f, fB, fNumberOfStartLevels, fStartEnergyLevels, n, and w.
Referenced by ProcessOneNeutrino().
|
private |
Definition at line 838 of file NueAr40CCGenerator.cxx.
References GetNeutrinoEnergy(), GetNeutrinoTime(), and ProcessOneNeutrino().
Referenced by Generate().
std::vector< simb::MCTruth > evgen::NueAr40CCGenerator::Generate | ( | CLHEP::HepRandomEngine & | engine | ) |
Definition at line 70 of file NueAr40CCGenerator.cxx.
References CreateKinematicsVector(), GetIsotropicDirection(), GetNumberOfNeutrinos(), simb::kSuperNovaNeutrino, simb::MCTruth::NParticles(), and simb::MCTruth::SetOrigin().
Referenced by evgen::SNNueAr40CCGen::produce().
|
private |
Definition at line 97 of file NueAr40CCGenerator.cxx.
References GetUniformPosition().
Referenced by Generate(), and ProcessOneNeutrino().
|
private |
Definition at line 172 of file NueAr40CCGenerator.cxx.
References fEnergyProbabilityMap, fMonoenergeticNeutrinos, and fNeutrinoEnergy.
Referenced by CreateKinematicsVector(), and GetNeutrinoTime().
|
private |
Definition at line 159 of file NueAr40CCGenerator.cxx.
References fNeutrinoTimeBegin, fNeutrinoTimeEnd, and GetNeutrinoEnergy().
Referenced by CreateKinematicsVector(), and GetNumberOfNeutrinos().
|
private |
Definition at line 141 of file NueAr40CCGenerator.cxx.
References fAllowZeroNeutrinos, fNumberOfNeutrinos, fUsePoissonDistribution, and GetNeutrinoTime().
Referenced by Generate(), and GetUniformPosition().
|
private |
Definition at line 120 of file NueAr40CCGenerator.cxx.
References fActiveVolume, and GetNumberOfNeutrinos().
Referenced by GetIsotropicDirection(), and ProcessOneNeutrino().
|
private |
Definition at line 256 of file NueAr40CCGenerator.cxx.
References fB, fBranchingRatios, fDecayTo, fEnergyLevels, fNumberOfLevels, fNumberOfStartLevels, and fStartEnergyLevels.
Referenced by NueAr40CCGenerator().
|
private |
Definition at line 854 of file NueAr40CCGenerator.cxx.
References simb::MCTruth::Add(), simb::MCParticle::AddTrajectoryPoint(), CalculateCrossSections(), fBranchingRatios, fDecayTo, fEnergyLevels, fNumberOfLevels, fStartEnergyLevels, GetIsotropicDirection(), GetUniformPosition(), simb::kCC, simb::kCCQE, simb::kQE, n, simb::MCTruth::NParticles(), and simb::MCTruth::SetNeutrino().
Referenced by CreateKinematicsVector().
|
private |
Definition at line 215 of file NueAr40CCGenerator.cxx.
References fEnergyProbabilityMap, and fEnergySpectrumFileName.
Referenced by NueAr40CCGenerator().
|
private |
Definition at line 115 of file NueAr40CCGenerator.h.
Referenced by GetUniformPosition(), and NueAr40CCGenerator().
|
private |
Definition at line 104 of file NueAr40CCGenerator.h.
Referenced by GetNumberOfNeutrinos().
|
private |
Definition at line 87 of file NueAr40CCGenerator.h.
Referenced by CalculateCrossSections(), and InitializeVectors().
|
private |
Definition at line 84 of file NueAr40CCGenerator.h.
Referenced by InitializeVectors(), and ProcessOneNeutrino().
|
private |
Definition at line 85 of file NueAr40CCGenerator.h.
Referenced by InitializeVectors(), and ProcessOneNeutrino().
|
private |
Definition at line 88 of file NueAr40CCGenerator.h.
Referenced by InitializeVectors(), and ProcessOneNeutrino().
|
private |
Definition at line 78 of file NueAr40CCGenerator.h.
Referenced by GetNeutrinoEnergy(), and ReadNeutrinoSpectrum().
|
private |
Definition at line 96 of file NueAr40CCGenerator.h.
Referenced by ReadNeutrinoSpectrum().
|
private |
Definition at line 91 of file NueAr40CCGenerator.h.
Referenced by GetNeutrinoEnergy(), and NueAr40CCGenerator().
|
private |
Definition at line 93 of file NueAr40CCGenerator.h.
Referenced by GetNeutrinoEnergy().
|
private |
Definition at line 110 of file NueAr40CCGenerator.h.
Referenced by GetNeutrinoTime().
|
private |
Definition at line 111 of file NueAr40CCGenerator.h.
Referenced by GetNeutrinoTime().
|
private |
Definition at line 80 of file NueAr40CCGenerator.h.
Referenced by InitializeVectors(), and ProcessOneNeutrino().
|
private |
Definition at line 107 of file NueAr40CCGenerator.h.
Referenced by GetNumberOfNeutrinos().
|
private |
Definition at line 81 of file NueAr40CCGenerator.h.
Referenced by CalculateCrossSections(), and InitializeVectors().
|
private |
Definition at line 86 of file NueAr40CCGenerator.h.
Referenced by CalculateCrossSections(), InitializeVectors(), and ProcessOneNeutrino().
|
private |
Definition at line 100 of file NueAr40CCGenerator.h.
Referenced by GetNumberOfNeutrinos().