SNgen Class Reference

Ratpac-two: RAT::SNgen Class Reference
Ratpac-two

Public Member Functions

CLHEP::HepLorentzVector GenerateEvent (const G4ThreeVector &nu_dir)
 
double Flux (double E) const
 
void Reset ()
 
void Show ()
 
void SetMixingAngle (double sin2thw=WEAKANGLE)
 
void SetNeutrinoMoment (double vMu=0.0)
 
double GetXSec (double Enu, double T)
 
void SetXSecMax (int ntry=NTRIAL)
 
double GetRandomNumber (double rmin=0., double rmax=1.)
 
bool GetNormFlag ()
 
void SetNormFlag (bool iFlag)
 
double GetMixingAngle ()
 
double GetMagneticMoment ()
 
double GetXSecMax ()
 
double GetIBDAmplitude ()
 
double GetESAmplitude ()
 
double GetCCAmplitude ()
 
double GetICCAmplitude ()
 
double GetNCAmplitude ()
 
double GetINCAmplitude ()
 
int GetModel ()
 
void SetIBDAmplitude (double IBDAm=IBDDEFAULT)
 
void SetESAmplitude (double ESAm=ESDEFAULT)
 
void SetCCAmplitude (double CCAm=CCDEFAULT)
 
void SetICCAmplitude (double ICCAm=ICCDEFAULT)
 
void SetNCAmplitude (double NCAm=NCDEFAULT)
 
void SetINCAmplitude (double INCAm=INCDEFAULT)
 
void SetModel (double ModelTm=MODELDEFAULT)
 
void LoadSpectra ()
 
double GetIBDRandomEnergy (Double_t &dt)
 
double GetESRandomEnergy (Double_t &dt)
 
double GetCCRandomEnergy (Double_t &dt)
 
double GetICCRandomEnergy (Double_t &dt)
 
double GetNCRandomEnergy (Double_t &dt)
 
double GetNCRandomNuEnergy ()
 
double GetINCRandomEnergy (Double_t &dt)
 
double GetRandomTime ()
 
double GetTime ()
 
double SetTime ()
 
double banana ()
 

Public Attributes

int n
 

Protected Attributes

LinearInterp< double > rmpflux
 
double Emax
 
double Emin
 
double FluxMax
 
bool FlagNorm
 
double SinSqThetaW
 
double MagneticMoment
 
double XSecMax
 
double massElectron
 
double IBDAmp
 
double ESAmp
 
double CCAmp
 
double ICCAmp
 
double NCAmp
 
double INCAmp
 
double ModelTmp
 
TF1 * funcIBD
 
TF1 * funcES
 
TF1 * funcCC
 
TF1 * funcICC
 
TF1 * funcNC
 
TF1 * funcNCNU
 
TF1 * funcINC
 
std::vector< double > spec_E
 
std::vector< double > spec_mag
 
DBLinkPtr _lspec
 
SNgenMessengermessenger
 

Static Protected Attributes

static const double WEAKANGLE = 0.2227
 
static const int NTRIAL = 10000
 
static const double IBDDEFAULT = 0.926
 
static const double ESDEFAULT = 0.0295
 
static const double CCDEFAULT = 0.003
 
static const double ICCDEFAULT = 0.024
 
static const double NCDEFAULT = 0.0175
 
static const double INCDEFAULT
 
static const int MODELDEFAULT = 1
 

The documentation for this class was generated from the following files:
  • /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/gen/include/RAT/SNgen.hh
  • /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/gen/src/SNgen.cc