~c-tunnell1/+junk/vlenf_scripts

406 by Christopher Tunnell
mm in
1
%!GLoBES
2
3
$version="3.0.0"
4
5
/* Copyright 2011 Christopher Tunnell
6
 */
461 by Christopher Tunnell
stat
7
406 by Christopher Tunnell
mm in
8
nuflux(#two)<
9
@flux_file = "flux_file_plus.dat"
10
@time = 1       /* years */
11
@stored_muons = 1
12
@norm =  0.958453635e-10
13
>
14
15
nuflux(#three)<
16
@flux_file = "flux_file_bkg.flx"
17
@time = 1       /* years */
18
@stored_muons = 1
19
@norm =  1
20
>
21
22
$baseline =             1.0
23
$target_mass = 	        1.3	/* kt (fiducial mass) */
24
25
26
/* ####### Energy window ####### */
27
28
$emin           =       0.0     /* GeV */
413 by Christopher Tunnell
mm as of now
29
$emax           =       4.0     /* GeV */
30
$binsize        =       {0.25, 0.25,  0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25}
406 by Christopher Tunnell
mm in
31
32
$sampling_min           =       0.0     /* GeV */
413 by Christopher Tunnell
mm as of now
33
$sampling_max           =       4.0     /* GeV */
34
$sampling_stepsize      =       {0.25, 0.25,  0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25}
406 by Christopher Tunnell
mm in
35
36
/* ######## Baseline setting ######## */
37
38
$profiletype = 1
39
40
/* ######## Technical information ######## */
41
42
$filter_state = 	1
43
$filter_value = 	0.1
44
45
461 by Christopher Tunnell
stat
46
/* ####### Energy resolution ####### */
406 by Christopher Tunnell
mm in
47
48
energy(#Mu_CC_app_eff)<
418 by Christopher Tunnell
auto
49
        @energy = include "mm/MuApp_2cm.txt"
406 by Christopher Tunnell
mm in
50
>
51
52
energy(#Mu_Bar_CC_disp_eff)<
418 by Christopher Tunnell
auto
53
	@energy = include "mm/MuBarCCBack_2cm.txt"
406 by Christopher Tunnell
mm in
54
>
55
407 by Christopher Tunnell
auto
56
energy(#E_CC_disp_eff)<
418 by Christopher Tunnell
auto
57
	@energy = include "mm/eCCBack_2cm.txt"
407 by Christopher Tunnell
auto
58
>
59
461 by Christopher Tunnell
stat
60
energy(#NC_disp_eff)<
418 by Christopher Tunnell
auto
61
	@energy = include "mm/MuBarNCBack_2cm.txt"
406 by Christopher Tunnell
mm in
62
>
63
64
65
/* ####### Cross sections ####### */
66
67
cross(#CC)<
68
	@cross_file = "XCC.dat"
69
>
70
71
cross(#NC)<
72
	@cross_file = "XNC.dat"
73
74
>
75
76
77
/* ####### Energy dependent efficiencies ###### */
78
79
%posteffs={1.0,1.0}
80
81
%energ={0.00, 7.0}
82
83
%bc=bincenter()
84
85
%inter=interpolation(%energ,%posteffs,1,%bc)
86
87
88
/* ####### Channel definitions ####### */
89
90
channel(#nu_mu_appearance)<
91
	@channel = 	#two:	+:	e:	m:	#CC:    #Mu_CC_app_eff
92
93
	@post_smearing_efficiencies = copy(%inter)
94
>
95
96
channel(#nu_mu_bar_disappearance)<
97
	@channel = 	#two:	-:	m:	m:	#CC:    #Mu_Bar_CC_disp_eff
461 by Christopher Tunnell
stat
98
	@post_smearing_efficiencies = copy(%inter)
406 by Christopher Tunnell
mm in
99
>
100
101
channel(#nu_e_disappearance)<
407 by Christopher Tunnell
auto
102
        @channel =      #two:   +:      e:      e:      #CC:    #E_CC_disp_eff
406 by Christopher Tunnell
mm in
103
104
        @post_smearing_efficiencies = copy(%inter)
105
>
106
461 by Christopher Tunnell
stat
107
channel(#nu_e_NC)<
108
        @channel =      #two:   +:      e:      e:      #NC:    #NC_disp_eff
109
110
        @post_smearing_efficiencies = copy(%inter)
111
>
112
406 by Christopher Tunnell
mm in
113
channel(#nu_mu_bar_NC)<
461 by Christopher Tunnell
stat
114
	@channel = 	#two:	-:	m:	m:	#NC:    #NC_disp_eff
406 by Christopher Tunnell
mm in
115
>
116
117
118
/* ####### Setting the rules ####### */
119
120
/* ORDER CHANGED BECAUSE OF DEGFINDER! */
121
122
rule(#Nu_Mu_Appearance)<
123
	@signal =	      1.0@#nu_mu_appearance
124
	@signalerror =	     0.02  :	    0.0001
125
461 by Christopher Tunnell
stat
126
	@background =	     1.0@#nu_mu_bar_NC : 1.0@#nu_mu_bar_disappearance : 1.0@#nu_e_disappearance : 1.0@#nu_e_NC
406 by Christopher Tunnell
mm in
127
	@backgrounderror = 	     0.35  :	    0.0001
461 by Christopher Tunnell
stat
128
406 by Christopher Tunnell
mm in
129
	@sys_on_function = 	"chiSpectrumTilt"
130
	@sys_off_function = 	"chiNoSysSpectrum"
131
132
>
133