Public Member Functions | List of all members
genie::flux::GFlavorMixerI Class Referenceabstract

GENIE interface for flavor modification. More...

#include "/cvmfs/nova.opensciencegrid.org/externals/genie/v3_00_06_p01/Linux64bit+2.6-2.12-e17-debug/GENIE-Generator/src/Tools/Flux/GFlavorMixerI.h"

Inheritance diagram for genie::flux::GFlavorMixerI:
evgen::GFlavorOsc genie::flux::GFlavorMap

Public Member Functions

 GFlavorMixerI ()
 
virtual ~GFlavorMixerI ()
 
virtual void Config (std::string config)=0
 
virtual double Probability (int pdg_initial, int pdg_final, double energy, double dist)=0
 
virtual void PrintConfig (bool verbose=true)=0
 provide a means of printing the configuration More...
 

Detailed Description

GENIE interface for flavor modification.

Specific implementations of this class when used in conjuction with the genie::flux::GFluxBlender class allow it to act as an intermediate between a concrete flux generator and the genie::GMCJDriver class. Using this adapter allows one to apply neutrino flavor changes using different models without modifying either the concrete flux generator or GMCJDriver.

Concrete instances of this interface must be configurable from a string, and provide a means of calculating the transition probability from one flavor to any of the PDG codes { 0, 12, 14, 16, -12, -14, -16 } where 0 represents the complete disappearance (decay, sterile, ...).

Probability is expected to be normalized (that is, the sum of all possible outcomes, including 0, must be 1).

Author
Robert Hatcher <rhatcher fnal.gov> Fermi National Accelerator Laboratory

2010-10-31

Version
Id
GFlavorMixerI.h,v 1.1.1.1 2010/12/22 16:18:52 p-nusoftart Exp

Definition at line 37 of file GFlavorMixerI.h.

Constructor & Destructor Documentation

genie::flux::GFlavorMixerI::GFlavorMixerI ( )

Definition at line 17 of file GFlavorMixerI.cxx.

17 { ; }
genie::flux::GFlavorMixerI::~GFlavorMixerI ( )
virtual

Definition at line 18 of file GFlavorMixerI.cxx.

18 { ; }

Member Function Documentation

virtual void genie::flux::GFlavorMixerI::Config ( std::string  config)
pure virtual

each schema must take a string that configures it it is up to the individual model to parse said string and extract parameters (e.g. sin2th23, deltam12, etc)

Implemented in genie::flux::GFlavorMap, and evgen::GFlavorOsc.

virtual void genie::flux::GFlavorMixerI::PrintConfig ( bool  verbose = true)
pure virtual

provide a means of printing the configuration

Implemented in genie::flux::GFlavorMap, and evgen::GFlavorOsc.

virtual double genie::flux::GFlavorMixerI::Probability ( int  pdg_initial,
int  pdg_final,
double  energy,
double  dist 
)
pure virtual

for any pair of PDG codes the model must calculate the transition probability. This can also depend on neutrino energy (in GeV) and distance (in meters) from the neutrino origin.

Implemented in genie::flux::GFlavorMap, and evgen::GFlavorOsc.

Referenced by genie::flux::GFluxBlender::ChooseFlavor().


The documentation for this class was generated from the following files: