3 #include "OscLib/OscCalcPMNSOpt.h"
4 #include "OscLib/OscCalcSterile.h"
21 calc->SetDmsq21(7.53
e-5);
22 calc->SetTh12(asin(sqrt(.846))/2);
25 calc->SetTh23(M_PI/4);
29 calc->SetDmsq32(2.44
e-3);
32 calc->SetTh13(asin(sqrt(.085))/2);
53 calc->SetDmsq32(-2.49
e-3);
68 osc::OscCalcPMNSOpt* tmp =
new osc::OscCalcPMNSOpt();
71 calc->SetL(tmp->GetL());
72 calc->SetRho(tmp->GetRho());
74 calc->SetDm(2, tmp->GetDmsq21());
75 calc->SetDm(3, tmp->GetDmsq21() + tmp->GetDmsq32());
77 calc->SetAngle(1, 2, tmp->GetTh12());
78 calc->SetAngle(1, 3, tmp->GetTh13());
79 calc->SetAngle(2, 3, tmp->GetTh23());
81 calc->SetDelta(1, 3, tmp->GetdCP());
89 osc::OscCalcSterile* ret =
new osc::OscCalcSterile;
92 std::cout <<
"The default calc requires at least 3 flavors." << std::endl;
93 std::cout <<
"Using 3 flavors." << std::endl;
97 ret->SetNFlavors(nflavors);
void ResetOscCalcToDefault(osc::IOscCalcAdjustable *calc)
Reset calc to default assumptions for all parameters.
void ResetOscCalcToDefaultIH(osc::IOscCalcAdjustable *calc)
process_name opflashCryoW ana
osc::IOscCalcAdjustable * DefaultOscCalc()
Create a new calc with default assumptions for all parameters.
osc::OscCalcSterile * DefaultSterileCalc(int nflavors)
Create a sterile calc with default assumptions for all parameters.
void ResetSterileCalcToDefault(osc::OscCalcSterile *calc)
Reset calc to default assumptions for all parameters.
osc::IOscCalcAdjustable * DefaultOscCalcIH()
BEGIN_PROLOG could also be cout