Giving a cut by manipulating dummy_fct.f
Hi,
I'm working on your paper [The Effective Vector Boson Approximation in High-Energy Muon Collisions] now.
I am currently trying to calculate MEs using the code in A.2, w+ w- > t t~ with a cut.
I wrote the dummy_cuts function in dummy_fct.f as you introduced in your paper, but it still doesn't work, is it possible that I didn't put the dummy_cuts function in the right place? Or do I need to do some additional work.
Thank you.
modified dummy_fct.f:
logical FUNCTION dummy_cuts(P)
C******
C INPUT:
C P(0:3,1) MOMENTUM OF INCOMING PARTON
C P(0:3,2) MOMENTUM OF INCOMING PARTON
C P(0:3,3) MOMENTUM OF ...
C ALL MOMENTA ARE IN THE REST FRAME!!
C COMMON/JETCUTS/ CUTS ON JETS
C OUTPUT:
C TRUE IF EVENTS PASSES ALL CUTS LISTED
C******
IMPLICIT NONE
c
c Constants
c
include 'genps.inc'
include 'nexternal.inc'
C
C ARGUMENTS
C
REAL*8 P(0:3,nexternal)
C
C PARAMETERS
C
real*8 PI
parameter( PI = 3.1415926535897
c
c particle identification
c
LOGICAL IS_A_J(
LOGICAL IS_A_B(
LOGICAL IS_A_NU(
logical do_cuts(nexternal)
COMMON /TO_SPECISA/
& IS_A_ONIUM, do_cuts
integer ff
double precision mtop2,sHat,
double precision SumDot
external SumDot
mtop2 = (173.0d0)**2
sHat = SumDot(p(0,1), p(0,2), 1d0)
rat = 1.d0 - mtop2 / sHat
do ff=nincoming+
c = pz / dsqrt(px2 + py2 + pz2)
cosTh = p(3,ff) / dsqrt(p(1,ff)**2 + p(2,ff)**2 + p(3,ff)**2)
return
endif
enddo
subroutine get_dummy_x1(sjac, X1, R, pbeam1, pbeam2, stot, shat)
implicit none
include 'maxparticles.inc'
include 'run.inc'
c include 'genps.inc'
double precision sjac ! jacobian. should be updated not reinit
double precision X1 ! bjorken X. output
double precision R ! random value after grid transfrormation. between 0 and 1
double precision pbeam1(0:3) ! momentum of the first beam (input and/or output)
double precision pbeam2(0:3) ! momentum of the second beam (input and/or output)
double precision stot ! total energy (input and /or output)
double precision shat ! output
c global variable to set (or not)
double precision cm_rap
logical set_cm_rap
common/
set_
shat = x1*ebeam(
return
end
subroutine get_dummy_
implicit none
include 'maxparticles.inc'
include 'run.inc'
c include 'genps.inc'
double precision sjac ! jacobian. should be updated not reinit
double precision X(2) ! bjorken X. output
double precision R(2) ! random value after grid transfrormation. between 0 and 1
double precision pbeam1(0:3) ! momentum of the first beam
double precision pbeam2(0:3) ! momentum of the second beam
double precision stot ! total energy
double precision shat ! output
c global variable to set (or not)
double precision cm_rap
logical set_cm_rap
common/
set_
shat = x(1)*x(
return
end
logical function dummy_boostframe()
implicit none
c
c
dummy_
return
end
double precision function user_dynamical_
c allow to define your own dynamical scale, need to set dynamical_
implicit none
include 'nexternal.inc'
double precision P(0:3, nexternal)
c Commmon to have access to all variable defined in the run_card
include 'genps.inc'
include 'run.inc'
write(0,*) "dynamical scale set to 0"
write(0,*) "need to be defined via user_hook method"
stop 1
c fixed scale
return
end
C *******
C default for the library implementing a dummy bias function
C *******
subroutine bias_wgt_custom(p, original_weight, bias_weight)
implicit none
C
C Parameters
C
include 'nexternal.inc'
C
C Arguments
C
double precision p(0:3, nexternal)
double precision original_weight, bias_weight
C
C local variables
C
C
C Global variables
C
C common block with metadata for the bias
C
double precision stored_bias_weight
c data stored_
logical impact_xsec, requires_
C Impact_xsec
C Not impacting the xsec since the bias is 1.0. Therefore
C bias_wgt will not be written in the lhe event file.
C Setting it to .True. makes sure that it will not be written.
C Default: True
C Requires_
C Of course this module does not require the full event
C information (color, resonances, helicities, etc..)
c Default: False
& requires_
C -------
C BEGIN IMPLEMENTATION
C -------
return
end subroutine bias_wgt_custom
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Yongik Jang
- Solved:
- Last query:
- Last reply: