FOA: Rather weird error message
I am trying to do a fixed order analysis of hmumu and storing some relevant variables. So I adapted the analysis_
Clueless at exactly what went wrong, I removed things from the testing code things I think unnecessary, trying to get a minimal working example of just storing the Higgs kinematics. However again I got the same error message and I have absolutely no idea what went wrong (considering it was adapted from an example known to work, and even as minimal a change as changing the pdg id and nexternal to match hmumu somehow breaks it).
It's probably my own ignorance, but with the error being what it was, there isn't much hint on what needs to be fixed. [2] is the current state of the minimal working example code, can someone educate me how can I pin down where the mistake is?
Thanks in advance,
Afiq
[1]
WARNING: program /home/nuha/
INFO: Idle: 0, Running: 0, Completed: 4 [ current time: 01h27 ]
Command "launch auto " interrupted with error:
Exception : program /home/nuha/
Please report this bug on https:/
More information is found in '/home/
Please attach this file to your report.
debug.log:
launch auto
Traceback (most recent call last):
File "/home/
return self.onecmd_
File "/home/
return func(arg, **opt)
File "/home/
evt_file = self.run(mode, options)
File "/home/
self.
File "/home/
self.
File "/home/
self.
File "/home/
raise Exception, self.fail_msg
Exception: program /home/nuha/
[2]
ccccccccccccccc
subroutine analysis_begin()
ccccccccccccccc
implicit none
real * 8 bin,xmi,xms,pi
parameter (pi=3.141592653
call open_root_file()
xmi=1.05d2
xms=1.45d2
bin=1.0d0
call rbook(1,'h pt ',2.d0,0.d0,200.d0)
call rbook(2,'h log pt ',0.05d0,0.d0,5.d0)
call rbook(3,'h y ',0.25d0,
call rbook(4,'h eta ',0.25d0,
call rbook(5,'mh ',bin,xmi,xms)
return
end
ccccccccccccccc
subroutine analysis_end(xnorm)
ccccccccccccccc
implicit none
double precision xnorm
integer jj
c Do not touch the following lines. These lines make sure that the
c histograms will have the correct overall normalisation: cross section
c (in pb) per bin.
do jj=1,5
call ropera(
enddo
call close_root_file
return
end
ccccccccccccccc
subroutine analysis_
ccccccccccccccc
implicit none
include 'nexternal.inc'
integer istatus(nexternal)
integer iPDG(nexternal)
double precision p(0:4,nexternal)
double precision wgts(*)
integer ibody
double precision wgt,var
integer i,kk,nwgt_analysis
common/
double precision www,ph(
double precision getrapidity,
external getrapidity,
if (nexternal.ne.6) then
write (*,*) 'error #1 in analysis_fill: '/
& /'only for hmumu"'
stop 1
endif
if (.not. (abs(ipdg(1)).le.5 .or. ipdg(1).eq.21)) then
write (*,*) 'error #2 in analysis_fill: '/
& /'only for hmumu"'
stop 1
endif
if (.not. (abs(ipdg(2)).le.5 .or. ipdg(2).eq.21)) then
write (*,*) 'error #3 in analysis_fill: '/
& /'only for hmumu"'
stop 1
endif
if (abs(ipdg(
write (*,*) 'error #5 in analysis_fill: '/
& /'only for hmumu"'
stop 1
endif
C
do i=0,3
enddo
xmh=
pth=
yh=
etah=
C
do kk=1,nwgt_analysis
C if (ibody.ne.3 .and.i.eq.2) cycle
call rfill(1,pth,www)
call rfill(3,yh,www)
call rfill(4,etah,www)
call rfill(5,xmh,www)
enddo
C
999 return
end
function getrapidity(en,pl)
implicit none
real*8 getrapidity,
parameter (tiny=1.d-8)
xplus=en+pl
xminus=en-pl
if(
if( (xplus/
else
endif
else
endif
getrapidity=y
return
end
function getpseudorap(
implicit none
real*8 getpseudorap,
parameter (tiny=1.d-5)
c
pt=
if(
else
endif
getpseudo
return
end
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- Paolo Torrielli Edit question
- Solved by:
- Paolo Torrielli
- Solved:
- Last query:
- Last reply: