Public Member Functions | |
GFluxGenerator (int pdg, TH2 *hist) | |
void | GenerateNext () |
void | FillParticle (GenParticle &particle) |
void | Reload () |
void | SetProbScale (double scale) |
void | SetEmin (double Emin) |
bool | End () |
int | PDG () const |
double | T () const |
double | E () const |
const OrderedSampler & | GetSamplerT () const |
const RandomSampler & | GetSamplerE (size_t i) const |
const double | GetIntegral () const |
const Limits< double > & | LimsE () const |
const Limits< double > & | LimsT () const |
Protected Attributes | |
OrderedSampler | fTSampler |
std::vector< RandomSampler > | fESamplers |
int | fPdg |
double | fT |
PDG code. More... | |
double | fE |
Time. More... | |
double | fEmin =10 |
Energy. More... | |
double | fIntegral |
Limits< double > | fLimsE |
Total flux integral. More... | |
Limits< double > | fLimsT |
Energy range. More... | |
Definition at line 17 of file GFluxGenerator.h.
GFluxGenerator::GFluxGenerator | ( | int | pdg, |
TH2 * | hist | ||
) |
Definition at line 15 of file GFluxGenerator.cxx.
References fESamplers, genie::supernova::GeneratorBase::fIntegral, genie::supernova::GeneratorBase::fLimsE, genie::supernova::GeneratorBase::fLimsT, fTSampler, make_syst_table_plots::h, genie::supernova::OrderedSampler::Init(), and genie::supernova::Limits< T >::Set().
double GFluxGenerator::E | ( | ) | const |
bool GFluxGenerator::End | ( | ) |
Definition at line 100 of file GFluxGenerator.cxx.
References genie::supernova::OrderedSampler::End(), and fTSampler.
Referenced by GenerateNext().
void GFluxGenerator::FillParticle | ( | GenParticle & | particle | ) |
Definition at line 70 of file GFluxGenerator.cxx.
References fE, fPdg, fT, genie::supernova::GenParticle::SetE(), genie::supernova::GenParticle::SetPDG(), and genie::supernova::GenParticle::SetT().
void GFluxGenerator::GenerateNext | ( | ) |
Definition at line 39 of file GFluxGenerator.cxx.
References bin, End(), fE, fEmin, fESamplers, fPdg, fT, fTSampler, genie::supernova::OrderedSampler::GenerateNext(), genie::supernova::OrderedSampler::GetBin(), LOG, genie::units::MeV, and pDEBUG.
|
inherited |
Definition at line 15 of file GeneratorBase.cxx.
References genie::supernova::GeneratorBase::fIntegral.
Referenced by genie::supernova::GSNovaModel::AddGenerator(), and genie::supernova::GFluxSNova::Charge().
const RandomSampler & GFluxGenerator::GetSamplerE | ( | size_t | i | ) | const |
Definition at line 135 of file GFluxGenerator.cxx.
References fESamplers, and MECModelEnuComparisons::i.
const OrderedSampler & GFluxGenerator::GetSamplerT | ( | ) | const |
|
inherited |
Definition at line 22 of file GeneratorBase.cxx.
References genie::supernova::GeneratorBase::fLimsE.
Referenced by genie::supernova::GSNovaModel::AddGenerator(), and genie::supernova::GFluxSNova::MaxEnergy().
|
inherited |
Definition at line 29 of file GeneratorBase.cxx.
References genie::supernova::GeneratorBase::fLimsT.
Referenced by genie::supernova::GSNovaModel::AddGenerator().
int GFluxGenerator::PDG | ( | ) | const |
Definition at line 107 of file GFluxGenerator.cxx.
References fPdg.
Referenced by genie::supernova::GSNovaModel::AddGenerator().
void GFluxGenerator::Reload | ( | ) |
Definition at line 79 of file GFluxGenerator.cxx.
References fTSampler, and genie::supernova::OrderedSampler::Reload().
void GFluxGenerator::SetEmin | ( | double | Emin | ) |
void GFluxGenerator::SetProbScale | ( | double | scale | ) |
Definition at line 86 of file GFluxGenerator.cxx.
References fTSampler, and genie::supernova::OrderedSampler::SetProbScale().
double GFluxGenerator::T | ( | ) | const |
|
protected |
Time.
Definition at line 43 of file GFluxGenerator.h.
Referenced by E(), FillParticle(), and GenerateNext().
|
protected |
Energy.
Definition at line 44 of file GFluxGenerator.h.
Referenced by GenerateNext(), and SetEmin().
|
protected |
Definition at line 39 of file GFluxGenerator.h.
Referenced by GenerateNext(), GetSamplerE(), and GFluxGenerator().
|
protectedinherited |
Definition at line 21 of file GeneratorBase.h.
Referenced by genie::supernova::GSNovaModel::AddGenerator(), genie::supernova::GeneratorBase::GetIntegral(), and GFluxGenerator().
|
protectedinherited |
Total flux integral.
Definition at line 22 of file GeneratorBase.h.
Referenced by genie::supernova::GSNovaModel::AddGenerator(), GFluxGenerator(), and genie::supernova::GeneratorBase::LimsE().
|
protectedinherited |
Energy range.
Definition at line 23 of file GeneratorBase.h.
Referenced by genie::supernova::GSNovaModel::AddGenerator(), GFluxGenerator(), and genie::supernova::GeneratorBase::LimsT().
|
protected |
Definition at line 41 of file GFluxGenerator.h.
Referenced by FillParticle(), GenerateNext(), and PDG().
|
protected |
PDG code.
Definition at line 42 of file GFluxGenerator.h.
Referenced by FillParticle(), GenerateNext(), and T().
|
protected |
Definition at line 38 of file GFluxGenerator.h.
Referenced by End(), GenerateNext(), GetSamplerT(), GFluxGenerator(), Reload(), and SetProbScale().