How to run "JIM"

After the installation procedure, an executable module of JIM is located under bin directory. There is a simple template shell script, run_jim, under jim/srcdirectory.

Basic input FFREAD cards for JIM

In order to execute the JIM module, some FFREAD input cards, which control the behavior of the JIM, from standard input are necessary.

Data cards for GEANT

Some data cards are already defined by GEANT. The followings are some typical cards which can be very useful for users.

KEY N Type Short descriptionDefault value
TRIG1I Total number of events to process 10000000
RNDM2I Initial random number seed (2 words) 0 0
DEBU3I First and last event# to debug and print control frequency 0 0 0
SWIT1I User flags for debug all 0

Detailed description of 'SWIT' parameters

Data cards for general control of JIM

Some data cards are already defined by GEANT. The followings are some typical cards which can be very useful for users.

KEY N Type Short descriptionDefault value
SKIP1I Number of events to be skipped from input source 0
GTYP1I Switch to control geometry type. 1 for 2-Tesla version and 2 for 3-Tesla version. 1
MFLD1R Strength of the overall magnetic field in kGauss depends on the value of GTYP
BMAP1C If set as 'ON', detailed magnetic field map is used around the interaction region Blank
HIST1I Flag for the standard histogarming 0

Data cards for output files

KEY N Type Short descriptionDefault value
EVTO1C Output file name for events generated by "JIM" Blank
HBK1C Histogram output file name Blank
PS1C Postscript output file name, when some graphics are displayed Blank

Data cards for input parameter files

KEY N Type Short descriptionDefault value
DRAW1C Parameter input file name for graphic display Blank
JB1C Parameter input file name for background study Blank

Data cards for geometry parameter files

KEY N Type Short descriptionDefault value
VX1C Geoetry parameter file name for vertex detector Blank
CT1C Geoetry parameter file name for central tracker Blank
BC1C Geoetry parameter file name for barrel calorimeter Blank
EC1C Geoetry parameter file name for end-cap calorimeter Blank
MU1C Geoetry parameter file name for muon detector Blank
IR1C Geoetry parameter file name for interaction region Blank
BM1C Geoetry parameter file name for beam monitor Blank
LM1C Geoetry parameter file name for luminosity monitor Blank
IT1C Geoetry parameter file name for intermediate tracker Blank

Detailed explanation of contents of parameter files

Data cards for JIM input sources

KEY N Type Short descriptionDefault value
GEN1C Input souce for JIM Blank
GENP10R Parameters for the input source Blank
VECI1C Four-vector input file name in case GEN cards pecifies FILE input 0.

Detailed description of GEN and GENP parameters

JIM can accept various kind of input 4-vectors as its input. User can select input source by the GEN data card as:

        GEN   'source'

Possible input sources are described below:

'LUND'

Generates e+e- -> hadrons with the JETSET74 generator of CERNLIB. CMS energy is given by the first parameter of GENP data card.

        GEN    'LUND'
        GENP   250.
gives hadronic events at ECM=250 GeV.

'TOP'

Generates top quark pair productions with the JETSET74 generator. CMS energy is also given by the first parameter of GENP data card. Default mass of the top quark is set as 174 GeV, which can be changed by the second parameter of GENP CARD.

        GEN    'TOP'
        GENP   500.  175.
gives top quark pair events at ECM=500 GeV with mtop=175 GeV.

'HIGGS'

Generates Higgs events by PYTHIA (MSEL =16). CMS energy is given by the first parameter of GENP data card. Default mass of the Higgs particle is set to 120 GeV, which can be changed by the second parameter of GENP CARD.

        GEN    'HIGGS'
        GENP   250.  130.
gives top quark pair events at ECM=250 GeV with mHiggs=130 GeV.

'SINGLE'

Generates a single particle for debugging use. The first parameter of GENP data card gives momentum of generated particles. If it is given in negative value, it gives their transverse momentum. The second parameter gives their JETSET particle code.

If |CODE|<1000, particles are generated to the fixed direction, which is given by the third (theta in degree) and fourth (phi in degree) parameters. If |CODE|>1000, then particles are uniformly generated in the central region which is limited by a veto angle, the third parameter (in degree).

        GEN    'SINGLE'
        GENP   10. 11. 45. 180.
gives electrons with 10 GeV generated into theta=45 degrees and phi=180 degrees.
        GEN    'SINGLE'
        GENP   5. -1013.  60.
gives positive muons with 5 GeV generated uniformly in the central region from 60 to 120 degrees.

'MULTI'

Generates multi particles for debugging use. The following list shows the possible GENP parameters:

GENP(1)
Momentum of Generated Particles
GENP(2)
LUND Particle Code for Generaterd Particle
GENP(3)
Number of Generated Particle per event
GENP(4)
THETA-min for Generation
GENP(5)
THETA-max for Generation
GENP(6)
PHI-min for Generation
GENP(7)
PHI-max for Generation
GENP(8)
X-coordinate for Generation Vertex
GENP(9)
Y-coordinate for Generation Vertex
GENP(10)
Z-coordinate for Generation Vertex

'FILE'

Read 4-vectors form a file given by VECI data card.

Smearing mode for calorimetric detectors

In order to speed up execution time, some of calorimetric detectors have smearing mode in "JIM". This mode can be given by SIMD data card. If user wants to use smearing mode for a certain detector components, value "1" should be given to the corresponding detector number.

At present the following detectors have smearing mode:

Detector numbers are given in parenthesis. To simulate all these detectors in smearing mode:
      SIMD 3=1 4=1 11=1 12=1

Examples

Within the JLCSIM distribution package, there is an example directory where the following sample scripts are prepared. The JIM executable module can be executed by these commands.

ex_jetset_qq
JETSET qq events at ECM=250 GeV
ex_pythia_hz
Pythia HZ events at ECM=250 GeV with mHiggs = 120GeV

Junichi Kanzaki < Junichi.Kanzaki@kek.jp>
Last modified: Fri Jun 2 12:49:26 JST 2000