Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Scientific Software
LAMP
Commits
05aed439
Commit
05aed439
authored
Feb 15, 2019
by
Gonzalez, Miguel
Browse files
Tests of detector efficiency corrections in IN4
parent
e320dbc8
Changes
1
Hide whitespace changes
Inline
Side-by-side
lamp_mac/TOF/corr_tof.pro
View file @
05aed439
...
...
@@ -248,8 +248,11 @@ FUNCTION corr_tof_tof, w_in, efficiency, frameoverlap, nf, bkgd, widthb, propb,g
eff0=exp(C1/sqrt(Ei))*(1-exp(C2/sqrt(Ei)))
eff=eff/eff0
ENDIF ELSE IF (insU EQ '
IN4
') THEN BEGIN ; uses expression from Rieutord's
ILL
Report
concerning
the
INX
software
eff0
=
0.951
*
exp
(
-.
0887
/
sqrt
(
Ei
))
*
(
1
.
-
exp
(
-
5.597
/
sqrt
(
Ei
)))
eff
=
0.951
*
exp
(
-
0.0887
/
sqrt
(
Ef
))
*
(
1
.
-
exp
(
-
5.597
/
sqrt
(
Ef
)))
;
eff0
=
0.951
*
exp
(
-
0.0887
/
sqrt
(
Ei
))
*
(
1
.
-
exp
(
-
5.597
/
sqrt
(
Ei
)))
;
eff
=
0.951
*
exp
(
-
0.0887
/
sqrt
(
Ef
))
*
(
1
.
-
exp
(
-
5.597
/
sqrt
(
Ef
)))
A
=
0.951
&
B
=
-
0.0887
&
C
=
-
5.597
eff0
=
A
*
exp
(
B
/
sqrt
(
Ei
))
*
(
1
.
-
exp
(
C
/
sqrt
(
Ei
)))
eff
=
A
*
exp
(
B
/
sqrt
(
Ef
))
*
(
1
.
-
exp
(
C
/
sqrt
(
Ef
)))
eff
=
eff
/
eff0
;
normalise
to
1
@
elastic
ENDIF
ELSE
IF
(
insU
EQ
'MIBEMOL'
)
THEN
BEGIN
;
uses
expression
from
Rieutord
's ILL Report concerning the INX software
eff0=(1.-exp(-2.49/sqrt(Ei)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment