NC::OscProb::ThreeFlavor Class Reference

For oscillation model kThreeFlavor. More...

#include <NCOscProb.h>

Inheritance diagram for NC::OscProb::ThreeFlavor:
NC::OscProb::OscPars

List of all members.

Public Member Functions

 ThreeFlavor ()
virtual double TransitionProbability (NCType::EOscMode mode, NCType::EEventType interactionType, double baseline, double trueEnergy) const
int & Hierarchy ()
 $ \pm1 $
int Hierarchy () const
 OSCPARS_EXPOSE (DeltaMSqr32)
 $ \Delta m^2_{32} $
 OSCPARS_EXPOSE (DeltaMSqr12)
 $ \Delta m^2_{12} $
 OSCPARS_EXPOSE (Theta12)
 $ \theta_{12} $
 OSCPARS_EXPOSE (Theta13)
 $ \theta_{23} $
 OSCPARS_EXPOSE (Theta23)
 $ \theta_{23} $
 OSCPARS_EXPOSE (Delta13)
 $ \delta_{13} $
 OSCPARS_EXPOSE (RockDensity)
 $ {\rm g/cm}^3 $

Public Attributes

 OSCPARS_DEFAULTCLONE

Private Attributes

int m_Hierarchy

Detailed Description

For oscillation model kThreeFlavor.

Definition at line 199 of file NCOscProb.h.


Constructor & Destructor Documentation

NC::OscProb::ThreeFlavor::ThreeFlavor (  )  [inline]

Definition at line 202 of file NCOscProb.h.


Member Function Documentation

int NC::OscProb::ThreeFlavor::Hierarchy (  )  const [inline]

Definition at line 214 of file NCOscProb.h.

References m_Hierarchy.

00214 {return m_Hierarchy;}

int& NC::OscProb::ThreeFlavor::Hierarchy (  )  [inline]

$ \pm1 $

Definition at line 213 of file NCOscProb.h.

References m_Hierarchy.

Referenced by TransitionProbability().

NC::OscProb::ThreeFlavor::OSCPARS_EXPOSE ( RockDensity   ) 

$ {\rm g/cm}^3 $

NC::OscProb::ThreeFlavor::OSCPARS_EXPOSE ( Delta13   ) 

$ \delta_{13} $

NC::OscProb::ThreeFlavor::OSCPARS_EXPOSE ( Theta23   ) 

$ \theta_{23} $

NC::OscProb::ThreeFlavor::OSCPARS_EXPOSE ( Theta13   ) 

$ \theta_{23} $

NC::OscProb::ThreeFlavor::OSCPARS_EXPOSE ( Theta12   ) 

$ \theta_{12} $

NC::OscProb::ThreeFlavor::OSCPARS_EXPOSE ( DeltaMSqr12   ) 

$ \Delta m^2_{12} $

NC::OscProb::ThreeFlavor::OSCPARS_EXPOSE ( DeltaMSqr32   ) 

$ \Delta m^2_{32} $

double NC::OscProb::ThreeFlavor::TransitionProbability ( NCType::EOscMode  mode,
NCType::EEventType  interactionType,
double  baseline,
double  trueEnergy 
) const [virtual]

Implements NC::OscProb::OscPars.

Definition at line 89 of file NCOscProb.cxx.

References Hierarchy(), OscPar::kDelta, OscPar::kDeltaM12, OscPar::kDeltaM23, OscPar::kDensity, OscPar::kL, NCType::kNC, OscPar::kNuAntiNu, NCType::kNuEToNuE, NCType::kNuMuToNuE, NCType::kNuMuToNuMu, NCType::kNuMuToNuS, NCType::kNuMuToNuTau, OscPar::kTh12, OscPar::kTh13, OscPar::kTh23, OscCalc::Oscillate(), OscCalc::SetOscParam(), OscFit::Theta12(), OscFit::Theta13(), and OscFit::Theta23().

00093 {
00094   if(interaction == NCType::kNC){
00095     switch(oscMode){
00096       case NCType::kNuMuToNuTau: return 0.;
00097       case NCType::kNuMuToNuE:   return 0.;
00098       case NCType::kNuMuToNuMu:  return 1.;
00099       case NCType::kNuMuToNuS:
00100         assert(0 && "TODO - Old code would return 1 here, that's bad");
00101       case NCType::kNuEToNuE:
00102         return 1;
00103     }
00104   }
00105 
00106   double pars[9];
00107   pars[OscPar::kTh12] = Theta12();
00108   pars[OscPar::kTh23] = Theta23();
00109   pars[OscPar::kTh13] = Theta13();
00110   pars[OscPar::kDeltaM23] = DeltaMSqr32()*Hierarchy();
00111   pars[OscPar::kDeltaM12] = DeltaMSqr12();
00112   pars[OscPar::kDelta] = Delta13();
00113   pars[OscPar::kDensity] = RockDensity();
00114   pars[OscPar::kL] = baseline;
00115   pars[OscPar::kNuAntiNu] = -1; // Treats everything as matter
00116 
00117   // static means it should hold on to derived values from variables that
00118   // haven't changed.
00119   static OscCalc oc;
00120   oc.SetOscParam(pars);
00121 
00122   switch(oscMode){
00123     case NCType::kNuMuToNuMu:  return oc.Oscillate(14, 14, energy);
00124     case NCType::kNuMuToNuTau: return oc.Oscillate(16, 14, energy);
00125     case NCType::kNuMuToNuE:   return oc.Oscillate(12, 14, energy);
00126     case NCType::kNuEToNuE:    return oc.Oscillate(12, 12, energy);
00127     case NCType::kNuMuToNuS:
00128       assert(0 && "TODO - Old code would return 1 here - bad");
00129   }
00130 
00131   assert(0 && "Not reached");
00132 }


Member Data Documentation

Definition at line 225 of file NCOscProb.h.

Referenced by Hierarchy().

Definition at line 204 of file NCOscProb.h.


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

Generated on 16 Apr 2018 for loon by  doxygen 1.6.1