The input data in grape.cards are explained in this section.
All of the items are optional and are set to default values if not specified.
Default values are written in the brackets starting with D=.
The items are not explicitly displayed
in case that they are the only one for their cards.
KFLBEAM
KF code of the lepton beam
( INTEGER,D=-11); 11:electron, -11:positron.
EPOL
Polarization of the lepton beam ( REAL);
= degree of the polarization in the range ( D=0.),
= polar angle of the polarization vector in degree
( D=0.),
= azimuthal angle of the polarization vector in degree
( D=0.).
The positive direction of the z-axis on the polarization vector
is in the direction of the lepton beam.
EBEAM
Lepton beam momentum in MeV/c
( REAL,D=27520.).
PBEAM
Proton beam momentum in MeV/c
( REAL,D=820000.).
PROCESS
Process type of the proton vertex
( INTEGER,D=1);
1:elastic, 2:quasi-elastic, 3:DIS.
ISR
Initial state radiation flag for the beam lepton
( INTEGER,D=1); 0:off, 1:on.
QFLV
Scattered quark in the DIS process ( INTEGER,D=1);
1:, 2:, 3:, 4:, 5:, 6:, 7:,
8:, 9:, 10:, 11:, 12:.
MERGE
Merging mode in the DIS process ( INTEGER,D=0); 0:off.
In some cases,
contributions from different quarks can be included
in the cross-section calculation adding the parton densities
if the mass difference is negligible.
The possible combinations of QFLV and MERGE
are written in Table1.
The mass of the quark specified with QFLV is used in the amplitude
and the kinematics calculations.
Table 1:
Possible combinations of QFLV and MERGE
QFLV
MERGE
Quarks
BH
QED/EW/CO/Z
1
1234
Yes
No
1
123456
Yes
No
1
12345678
Yes
No
1
1234567890
Yes
No
1
17
Yes
Yes
2
28
Yes
Yes
3
35
Yes
Yes
4
46
Yes
Yes
3
359
Yes
Yes
4
460
Yes
Yes
NGROUP
Author group described in the PDFLIB manual
( INTEGER,D=5).
NSET
PDF set described in the PDFLIB manual
( INTEGER,D=5).
The default is GRV94(LO).
GRASEL
Feynman diagram selection ( INTEGER,D=3);
1:2- Bethe-Heitler
(without
interference in case of di-),
2:2- Bethe-Heitler
(including
interference in case of di-),
3:QED diagrams( i.e. all the diagrams
except for the Z contribution),
4:EW diagrams( i.e. all the diagrams),
13:QED-Compton type diagrams only,
14:Z production diagrams only.
In case of di-, the first and the second selections give
the same result.
ITMX1
Number of iterations in the grid optimization step of BASES.
( INTEGER,D=4).
This should be larger than 2.
ITMX2
Number of iterations in the integration step of BASES
( INTEGER,D=10).
This should be larger than 5.
NCALL
Number of sampling points in each iteration of BASES
( INTEGER,D=1000000).
This should be large
so that any accuracy of each iteration
in the integration step of BASES
is better than 0.5%.
NGEN
Number of events to be generated by spring
( INTEGER,D=100).
NMOD
Printing a message per events in the event generation
( INTEGER,D=1000).
PSISR
Switch for the initial state parton shower by PYTHIA
( INTEGER,D=1); 0:off, 1:on.
This has an effect only on event generations of the DIS process.
No effect on elastic and quasi-elastic events.
This item is copied to MSTP(61) in the PYTHIA common block
/PYPARS/.
PSFSR
Switch for the final state parton shower by PYTHIA
( INTEGER,D=1); 0:off, 1:on.
This item is copied to MSTP(71) in the PYTHIA common block
/PYPARS/.
PSBRA
Parton shower branchings in PYTHIA
( INTEGER,D=2);
1:QCD, 2:QCD+QED.
This item is copied to MSTJ(41) in the PYTHIA common block
/PYDAT1/.
PSSUP
Suppression of the PYTHIA parton shower
( INTEGER,D=0); 0:off, 1:on.
This item is copied to MSTJ(40) in the PYTHIA common block
/PYDAT1/.
PYDECAY
Switch for fragmentation and decay in PYTHIA ( INTEGER,D=1);
0:off, 1:on.
No effect on elastic and quasi-elastic events.
This item is copied to MSTP(111) in the PYTHIA common block
/PYPARS/.
PRIPT
Primordial distribution in the proton ( INTEGER,D=1);
0:off, 1:gaussian, 2:exponential.
No effect on elastic and quasi-elastic events.
This item is copied to MSTP(91) in the PYTHIA common block
/PYPARS/.
PYLIST
Printing the contents of /PYJETS/ ( LOGICAL,D=TRUE).
NLIST
Number of events whose /PYJETS/ is printed out
( INTEGER,D=10).
NTPYT
Output of generated events into a Ntuple file: grp.rz
from the PYTHIA common block /PYJETS/
( LOGICAL,D=FALSE).
The meanings of the Ntuple variables are in the following.
npy :
Number of particles ( integer)
px(1:npy),py(1:npy),pz(1:npy) :
x,y,z-component of momentum
in GeV/c ( real*4)
pe(1:npy) : Energy in GeV ( real*4)
pm(1:npy) : Mass in GeV ( real*4)
kf(1:npy) : KF code ( integer)
sta(1:npy) : Status code ( integer)
mot(1:npy) : Line number of the mother particle ( integer)
Q2RNGME
Range for the negative momentum transfer squared at the electron vertex
without ISR ( REAL),
i.e.
where
is a 4-momentum of the incoming lepton
after ISR.
= the minimum in GeV ( D=0.),
= the maximum in GeV ( D=1.E20).
In case of di- with
interference,
smaller one of the two values is used.
Q2RNGOB
Range for the negative momentum transfer squared at the electron vertex
including ISR ( REAL),
i.e.
where
is a 4-momentum of the incoming lepton
before ISR.
= the minimum in GeV ( D=0.),
= the maximum in GeV ( D=1.E20).
In case of di- with
interference,
smaller one of the two values is used.
MHAD
Range for the mass of the hadronic system ( REAL);
= the minimum in GeV ( D=1.08),
= the maximum in GeV ( D=1.E20).
No effect on elastic events.
Q2P
Range for the negative momentum transfer squared at the proton vertex
( REAL);
= the minimum in GeV ( D=0.),
= the maximum in GeV ( D=1.E20).
In case of the DIS process, is used as a QCD scale for PDF.
THMIN
THMAX
EMIN
EMAX
PMIN
PMAX
PTMIN
PTMAX
: for scattered proton or quark,
: for scattered ,
: for produced ,
: for produced .
The above 8 data cards are used for describing the detector cut
in the laboratory frame ( REAL).
Each final state particle is required to satisfy the following,
AND
AND
AND
where (degree), (GeV), (GeV/c) and (GeV/c)
indicate polar angle, energy, momentum and transverse momentum, respectively.
The default values correspond to not applying this cut.
THPTMCT
PTMXCT
Using the above 2 data cards,
final state leptons are required to satisfy the following ( REAL),
AND
where (GeV/c) indicates the maximum transverse momentum
among the 3 final state
leptons(
),
and (degree) is the polar angle of the lepton with .
The default values correspond to not applying this cut.
MASSLL
Range for the mass of the produced dilepton system ( REAL);
= the minimum in GeV ( D=0.),
= the maximum in GeV ( D=1.E20).
In case of di-,, and are not used.
In case of di- with
interference,
there are two masses;
,
(
),
and they are required to satisfy the following,
AND
.
MASSELL
Range for the mass of the final state
lepton system of
( REAL);
= the minimum in GeV ( D=1.),
= the maximum in GeV ( D=1.E20).
MASSQLL
Range for the mass of the scattered quark and produced dilepton
system of ( REAL);
= the minimum in GeV ( D=5.),
= the maximum in GeV ( D=1.E20).
This cut has an effect only on the DIS process.
In case of di- with
interference,
smaller one of the 2 values is used.
IVISI
THEVMIN
THEVMAX
EVMIN
EVMAX
PTVMIN
PTVMAX
: for scattered proton or quark,
: for scattered ,
: for produced ,
: for produced .
The above 6 data cards are used for describing the detector cut
in the laboratory frame ( REAL except for : INTEGER).
particle(s) are(is) required to satisfy the following,
AND
AND
where (degree), (GeV) and (GeV/c)
indicate polar angle, energy and transverse momentum, respectively.
As for , D=-1, which corresponds to not applying this cut.
The test run at the end of this paper is instructive for understanding
this cut.