Ignore:
Timestamp:
May 30, 2006, 11:09:42 AM (18 years ago)
Author:
campagne
Message:

new version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GLBFrejus/HEAD/src/discoTheta13.cxx

    r4 r149  
    2424  experiment may be fit by Theta13 = 0
    2525  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 
    2728 
    2829  11/7/05 JEC creation
    29   31/10/05 JEC correct the comment chi2Theta
    3030 */
    3131
    3232
    3333#define TH13_0   0.0
     34#define TEST_OCTANT false
    3435
    3536int WRONG_TH23, WRONG_HIER; //condition on octant/hierarchy
     
    4344//---------------------------------------------------------------------
    4445bool 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;
    5862}//same_th23
    5963
Note: See TracChangeset for help on using the changeset viewer.