Changeset 149 for GLBFrejus/HEAD/src/discoTheta13.cxx
- Timestamp:
- May 30, 2006, 11:09:42 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GLBFrejus/HEAD/src/discoTheta13.cxx
r4 r149 24 24 experiment may be fit by Theta13 = 0 25 25 the true values are used to build the referenced experiments 26 use chi2Theta to marginalized over all parameters except Theta 26 use chi2Delta to marginalized over all parameters except delta 27 27 28 28 29 11/7/05 JEC creation 29 31/10/05 JEC correct the comment chi2Theta30 30 */ 31 31 32 32 33 33 #define TH13_0 0.0 34 #define TEST_OCTANT false 34 35 35 36 int WRONG_TH23, WRONG_HIER; //condition on octant/hierarchy … … 43 44 //--------------------------------------------------------------------- 44 45 bool test_th23(glb_params fit_values) { 45 double fit_th23 = glbGetOscParams(fit_values, GLB_THETA_23); 46 47 // testing if fit_th23 is at the same side as the true value 48 49 return ( 50 (WRONG_TH23 == 0 && 51 (TH23 > M_PI/4. && fit_th23 > M_PI/4.) || 52 (TH23 < M_PI/4. && fit_th23 < M_PI/4.)) 53 || 54 (WRONG_TH23 == 1 && 55 (TH23 > M_PI/4. && fit_th23 < M_PI/4.) || 56 (TH23 < M_PI/4. && fit_th23 > M_PI/4.)) 57 ); 46 if(TEST_OCTANT) { 47 double fit_th23 = glbGetOscParams(fit_values, GLB_THETA_23); 48 49 // testing if fit_th23 is at the same side as the true value 50 51 return ( 52 (WRONG_TH23 == 0 && 53 (TH23 > M_PI/4. && fit_th23 > M_PI/4.) || 54 (TH23 < M_PI/4. && fit_th23 < M_PI/4.)) 55 || 56 (WRONG_TH23 == 1 && 57 (TH23 > M_PI/4. && fit_th23 < M_PI/4.) || 58 (TH23 < M_PI/4. && fit_th23 > M_PI/4.)) 59 ); 60 } 61 return true; 58 62 }//same_th23 59 63
Note: See TracChangeset
for help on using the changeset viewer.