All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CalcsNuFit_cdr.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 #include "TMath.h"
6 
7 #include "TRandom3.h"
8 
9 namespace ana
10 {
11  // http://www.nu-fit.org/?q=node/139
12  const double kNuFitDmsq21CV = 7.50e-5;
13  const double kNuFitTh12CV = 33.56 * TMath::Pi()/180;
14 
15  // Have to adjust for nu-fit's weird convention in NH
16  const double kNuFitDmsq32CVNH = +2.524e-3 - kNuFitDmsq21CV;
17  const double kNuFitTh23CVNH = 41.6 * TMath::Pi()/180;
18  const double kNuFitTh13CVNH = 8.46 * TMath::Pi()/180;
19  const double kNuFitdCPCVNH = 261 * TMath::Pi()/180;
20 
21  const double kNuFitDmsq32CVIH = -2.514e-3;
22  const double kNuFitTh23CVIH = 50.0 * TMath::Pi()/180;
23  const double kNuFitTh13CVIH = 8.49 * TMath::Pi()/180;
24  const double kNuFitdCPCVIH = 277 * TMath::Pi()/180;
25 
26  // Based on 1/3 of the 3sigma error
27  const double kNuFitDmsq21Err = ((8.90-7.50)/3)*1e-5;
28  const double kNuFitTh12Err = ((35.99-33.56)/3) * TMath::Pi()/180;
29 
30  const double kNuFitDmsq32ErrNH = ((2.643-2.524)/3)*1e-3;
31  const double kNuFitTh23ErrNH = ((52.8-41.6)/3) * TMath::Pi()/180;
32  const double kNuFitTh13ErrNH = ((8.90-8.46)/3) * TMath::Pi()/180;
33 
34  const double kNuFitDmsq32ErrIH = ((2.635-2.514)/3)*1e-3;
35  const double kNuFitTh23ErrIH = ((53.1-50.0)/3) * TMath::Pi()/180;
36  const double kNuFitTh13ErrIH = ((8.93-8.49)/3) * TMath::Pi()/180;
37 
38 
39  // hie = +/-1
41 
43 
44  // Add in a throw for toys
46 
48  {
49  public:
50  double ChiSq(osc::IOscCalcAdjustable* calc,
51  const SystShifts& syst = SystShifts::Nominal()) const override;
52  };
53 
55  {
56  public:
57  Penalizer_GlbLikeCDR(osc::IOscCalcAdjustable* cvcalc, int hietrue, bool weakOnly=false);
58 
59  double Dmsq21CV() const {return fDmsq21;}
60  double Th12CV() const {return fTh12;}
61  double Dmsq32CV() const {return fDmsq32;}
62  double Th23CV() const {return fTh23;}
63  double Th13CV() const {return fTh13;}
64 
65  double ChiSq(osc::IOscCalcAdjustable* calc,
66  const SystShifts& syst = SystShifts::Nominal()) const override;
67 
68  protected:
69  double fDmsq21;
70  double fTh12;
71  double fDmsq32;
72  double fTh23;
73  double fTh13;
74  double fRho;
75 
76  double fDmsq21Err;
77  double fTh12Err;
78  double fDmsq32Err;
79  double fTh23Err;
80  double fTh13Err;
81  double fRhoErr;
82 
83  private:
84  // Okay, I'm bad at naming things. This is a flag to apply a penalty to all parameters
85  // or only those that are weakly constained in DUNE (12 sector, rho)
86  bool fWeakOnly;
87  };
88 
89 }
Penalizer_GlbLikeCDR(osc::IOscCalcAdjustable *cvcalc, int hietrue, bool weakOnly=false)
osc::IOscCalcAdjustable * NuFitOscCalcCDRPlusOneSigma(int hie)
const double kNuFitDmsq32ErrNH
Definition: CalcsNuFit.h:32
const double kNuFitTh23ErrIH
Definition: CalcsNuFit.h:37
double Dmsq21CV() const
Simple record of shifts applied to systematic parameters.
Definition: SystShifts.h:16
const double kNuFitDmsq32ErrIH
Definition: CalcsNuFit.h:36
double ChiSq(osc::IOscCalcAdjustable *calc, const SystShifts &syst=SystShifts::Nominal()) const override
process_name opflashCryoW ana
const double kNuFitTh12Err
Definition: CalcsNuFit.h:30
static SystShifts Nominal()
Definition: SystShifts.h:23
const double kNuFitdCPCVIH
Definition: CalcsNuFit.h:26
const double kNuFitDmsq32CVIH
Definition: CalcsNuFit.h:23
osc::IOscCalcAdjustable * ThrownNuFitOscCalcCDR(int hie)
const double kNuFitTh23CVIH
Definition: CalcsNuFit.h:24
double ChiSq(osc::IOscCalcAdjustable *calc, const SystShifts &syst=SystShifts::Nominal()) const override
const double kNuFitTh23CVNH
Definition: CalcsNuFit.h:19
const double kNuFitTh13ErrIH
Definition: CalcsNuFit.h:38
const double kNuFitDmsq21Err
Definition: CalcsNuFit.h:29
const double kNuFitDmsq21CV
Definition: CalcsNuFit.h:14
const double kNuFitdCPCVNH
Definition: CalcsNuFit.h:21
const double kNuFitTh13CVIH
Definition: CalcsNuFit.h:25
const double kNuFitDmsq32CVNH
Definition: CalcsNuFit.h:18
Base class defining interface for experiments.
Definition: IExperiment.h:21
const double kNuFitTh23ErrNH
Definition: CalcsNuFit.h:33
do i e
const double kNuFitTh13ErrNH
Definition: CalcsNuFit.h:34
double Dmsq32CV() const
osc::IOscCalcAdjustable * NuFitOscCalcCDR(int hie)
const double kNuFitTh12CV
Definition: CalcsNuFit.h:15
const double kNuFitTh13CVNH
Definition: CalcsNuFit.h:20