#include <NCOscProb.h>
Inheritance diagram for NC::OscProb::ThreeFlavor:

Public Member Functions | |
| ThreeFlavor () | |
| virtual double | TransitionProbability (NCType::EOscMode mode, NCType::EEventType interactionType, double baseline, double trueEnergy) const |
| int & | Hierarchy () |
| |
| int | Hierarchy () const |
| OSCPARS_EXPOSE (DeltaMSqr32) | |
| |
| OSCPARS_EXPOSE (DeltaMSqr12) | |
| |
| OSCPARS_EXPOSE (Theta12) | |
| |
| OSCPARS_EXPOSE (Theta13) | |
| |
| OSCPARS_EXPOSE (Theta23) | |
| |
| OSCPARS_EXPOSE (Delta13) | |
| |
| OSCPARS_EXPOSE (RockDensity) | |
| |
Public Attributes | |
| OSCPARS_DEFAULTCLONE | |
Private Attributes | |
| int | m_Hierarchy |
Definition at line 199 of file NCOscProb.h.
|
|
Definition at line 202 of file NCOscProb.h. 00202 : OscPars(NCType::kThreeFlavor) {}
|
|
|
Definition at line 214 of file NCOscProb.h. 00214 {return m_Hierarchy;}
|
|
|
Definition at line 213 of file NCOscProb.h. Referenced by TransitionProbability(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||||||
|
Implements NC::OscProb::OscPars. Definition at line 89 of file NCOscProb.cxx. References Hierarchy(), OscCalc::Oscillate(), and OscCalc::SetOscParam(). 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 }
|
|
|
Definition at line 225 of file NCOscProb.h. |
|
|
Definition at line 204 of file NCOscProb.h. |
1.3.9.1