Previous Contents Next

Chapter 5
The OPAL Monte Carlo Environment

The simulation of physics processes in the context of the OPAL detector is the result of programs designed to model the digitization, selection, and processing of the ``real'' physics data. The simulation of physics processes is the primary concern of the physics Monte Carlo environment and is complementary to the data processing discussed in Chapter 4. The Monte Carlo environment concerns itself with the generation and simulation of Monte Carlo events. The former actually simulates a physical process like e+e-®g/Z0® f[`(f)] according to a theoretical model, while the latter recreate the behavior of the generated particles in the detector to form the ``simulated'' detector signals. The simulated events are then processed with the same event reconstruction programs and analysis programs used with the ``real'' data collected by OPAL. This chapter will give an overview of the most important aspects of the Monte Carlo physics environment.

5.1  Monte Carlo Generation

A Monte Carlo generator simulates physical processes according to some specific theoretical model using Monte Carlo techniques. The type of Monte Carlo generator can be roughly divided into two categories; i ) generators simulating the electroweak interaction, and ii ) generators simulating the strong interaction. With respect to the physics at LEP, the effect of the Z0 peak has a dramatic effect on the electroweak phenomena, but only a small effect on QCD phenomena since it models the behavior of quarks after they are produced. Monte Carlo samples of events for specific physics processes have been generated to estimate their contributions to the single photon signal. Since the measurements presented in this thesis are electroweak in nature, focus is placed on the electroweak Monte Carlos important for this analysis.

In general, a Monte Carlo generator computes the cross-section for a physics process within certain boundary conditions, so called cuts, dictated by the experimental setup [58] [59]:
s
=
ó
õ
Pi f(fi)dfi
(5.1)
where the integration elements, dfi, are the multidimensional phase space variables and the integrand f(fi) is the multi-differential cross-section, s/fi, composed of the matrix element squared and averaged of over spins, colors, and the phase space factors. The Monte Carlo method for computing s assumes that each integration element, dfi, can be re-expressed to span the unit hypercube where each element runs from 0 to 1. The volume of phase space is then given by
S
=
ó
õ
Pi dfi
(5.2)

To understand the Monte Carlo method, consider a set of random points fi distributed uniformly over the phase space. The associated function values of f(fi) are random numbers as well as the two important functionals,
R
=
 S

N

å
j 
Pi f(fij)
W
=
 S2

N-1

å
j 
Pi f(fij)2-  1

N
é
ë

å
j 
( Pif(fij))2 ù
û
(5.3)

where the product runs over the phase space variables, i = 1, 2, 3, ..., M, and the sum runs over the number of random points, j = 1, 2, 3, ..., N. The expectation values for these functionals are given by the integrals,
< R >
=
Pi si = s
< W >
=
ó
õ
( Pi f(fi) )2 dfi - é
ë
ó
õ
Pi ( f(fi) dfi ) ù
û
2
 
= var(f)
(5.4)

The Monte Carlo method involves choosing the phase space variables f and calculating the phase space volume, S. A number, N, of random points fi in phase space is picked and the values of f(fi), R, and W are computed. The Monte Carlo estimate for s is given by R within 2/Ö(W/N) for a confidence level of 95% as implied by the Central Limit Theorem.

The Monte Carlo method holds independently of the dimension and shape of the phase space and allows for implementing any kind of cut by putting f(fi) º 0 for fi outside of the cuts. For the method to work, the only requirement is that one know S and that an algorithm to generate uniformly and independent values of fi over the phase space exist. The error on the unweighted Monte Carlo method goes like 1/ÖN for large N, however various methods for weighting the Monte Carlos exist to produce events with smaller associated error. The most important of these methods is the method of importance sampling  [58] which consists of generating the variables fi in such a way that there are more points where f(fi) is larger. By making a transformation into a different integration variable, i.e. an approximate cross-section g(fi), where
S`
=
ó
õ


i 
g(fi)dfi
(5.5)
the formula for s can be written,
s
=
ó
õ


i 
 f(fi)

g(fi)
g(fi)dfi
=
ó
õ


i 
w(fi)dfi¢
(5.6)
where
dfi¢
º
g(fi)dfi  and  w(fi) º  f(fi)

g(fi)
(5.7)
All Monte Carlo generators discussed in this thesis use importance sampling for many variables as well as random number generators with long period lengths (RNDM [58] with a period of 229 or RANMAR [60] with a period of 2144).

5.2  Electroweak Effects in Monte Carlos

In the construction of Monte Carlos for use with electroweak physics, there are two important areas of corrections to be considered; purely weak corrections and QED effects. To first order, the two effects are distinguished by the presence of an additional virtual photon in the Feynman diagrams describing the physics process, while for higher orders, this distinction becomes less obvious. The weak corrections are implemented in two distinct ways [24]: There are various advantages and disadvantages associated with each of the two methods. For example, the first method gives the exact Standard Model answer, but as such is able to incorporate effects other than the ``minimal'' Standard Model. The second method, on the other hand, can incorporate other effects easily and with accuracies in the order of 0.2%, but must be supplied with input parameters by some other program.

The essential feature of QED corrections is the infrared divergencies in the real and virtual photon cross-sections which disappear only when they are combined. The root of the infrared divergencies can be seen to originate from fixed-order perturbation theory. The problem is resolved by dividing the cross-section into a soft and hard component through a cutoff parameter, k0, and then going to infinite order in perturbation theory for the terms with highest power of ln(k0). The total cross-section for an arbitrary number of soft photons can be directly related to the ``bare'' cross-section due to the exponentiation of the k0-parameter. This exponentiation can be implemented in Monte Carlo programs in three distinct ways:

Regardless of the scheme for exponentiation used, the Monte Carlo method consists of determining the soft photon spectrum (bremsstrahlung) of the form
f(x)
º
( bln(k0) + df ) d(k0) +  b

x
q(x-k0)
(5.12)
where x is the photon energy, k0 is the soft and hard photon cutoff, and d(x) is the soft and virtual photon contributions. The total energy loss due to 0-g, 1-g, 2-g, 3-g, ... soft photons is given by the spectrum function,
P(x)
º
d(x)
+
ó
õ
x

0 
dx1 f(x1) d(x1 - x)
+
 1

2!
ó
õ
x

0 
ó
õ
x

0 
dx1 dx2 f(x1) f(x2) d(x1 + x2 - x)
+
 1

3!
ó
õ
x

0 
ó
õ
x

0 
ó
õ
x

0 
dx1 dx2 dx3 f(x1) f(x2) f(x3) d(x1 + x2 + x3 - x)
+
. . .
(5.13)
This can be re-expressed by integrating exactly those parts of f(xi) that go with d(xi) to give
P(x)
º
ebln(k0)+df Q(x)
(5.14)
where
Q(x)
º
d(x)
+
b ó
õ
x

k0 
dx1  1

x1
d(x1 - x)
+
 b2

2!
ó
õ
x

k0 
ó
õ
x

k0 
dx1 dx2  1

x1 x2
d(x1 + x2 - x)
+
 b3

3!
ó
õ
x

k0 
ó
õ
x

k0 
ó
õ
x

k0 
dx1 dx2 dx3  1

x1 x2 x3
d(x1 + x2 + x3 - x)
+
. . .

»
 b

x
ebln(x/k0) ×  e-bC

G(1+b)
(5.15)

By picking terms of Q(x) which correspond to real photon multiplicities, the appropriate matrix elements can be generated. This element is multiplied by the overall factor ebln(k0)+df which is compensated by the fact that as k0 ® 0, the factor ln(x/k0) in Q(x) increases. The result is that the higher-order terms become numerically more important with the additional photons becoming softer.

5.3  Electroweak Monte Carlo Generators

The Monte Carlo programs useful for the single photon analysis include the electroweak generators which generate the single photon signal, e+e-® n[`(n)]g, as well as the background signals, e+e-® e+e-g(g), e+e-® gg(g), e+e-® e+e-X (X® f2,p0,h,h¢), e+e-® m+m-g, e+e-® t+t-g, and e+e-® e+e-l+l-g. The following subsections present the most important aspects of each of the important electroweak Monte Carlos used in the single photon analysis as well as the Monte Carlo generators important to the luminosity measurement and the single electron signal used in the single photon analysis. A summary of the Monte Carlo production for the single photon analysis is given in Section 9.1, while a summary of the Monte Carlo production for the single electron analysis is given in Section 7.2.

5.3.1  The NNG04 Monte Carlo

The NNG04 Monte Carlo program [64] was written by M. Mana and M. Martinez in collaboration with F. Berends and G.J.H. Burgers to generate the cross-section and simulate events for the radiative signal, e+e-® n[`(n)]g(g). The total cross-section for the e+e-® n[`(n)]g signal at Ös » MZ0is determined by summing the contributions from processes like the Z0 self energy (+15%), the soft photon and QED corrections (-48%), and the double hard brehmsstrahlung (+37%). The program uses exponentiation of the initial state soft photon together with a ``star-scheme'' treatment of the weak corrections.

The program models the Feynman diagrams shown in Figure 2.1 and uses the input parameters shown in Table 5.1 [64]. The program generates events for a maximum number of trials, NT, with a specific number of integration points, NP. The program performs calculations of the single photon final state, e+e-® n[`(n)]g, and the double hard bremsstrahlung process, e+e-® n[`(n)]g(g), quoting a final cross-section, the soft plus virtual QED corrections and the Z0 self-energy correction. The program has been studied against other generators including KORALZ [65] and MOE [66] and has demonstrated agreement to within 2% [67] for events with one photon with Eg > 0.4 GeV and qg > 10 deg.


PAR. CUT DESCRIPTION DEFAULT
CME Ecm Center-of-mass energy (GeV) 92.0
NF Nn Num. of Light Neutrinos 3
NG Ng Num. of Hard Photons 1
EDC k0 Hard-soft Energy Limit (GeV) 0.05
DPP Pe+ Deg. of Long. Pol. for e+ 0.0
DPM Pe- Deg. of Long. Pol. for e- -0.0
MZ MZ0 The Z0 Mass (GeV/c2) 92.0
MT Mt The t Quark Mass (GeV/c2) 60.0
MH MHiggs The Higgs Mass (GeV/c2) 100.0
EDM Eg max. Max. Det. Photon Energy (GeV) Ecm
EDL Eg min. Min. Det. Photon Energy (GeV) 1.0
ACD qg min. Min. Det. Photon Angle (deg.) 5.0
EMH Eg veto Max. Miss. Photon Energy (GeV) 1.0
ACM qg veto Max. Non-tag. Photon Angle (deg.) 10.0
ACR qgg sep Two-photon Sep. Angle (deg.) 0.5
WCUT Weight Weight for the Rejection 1000.0
FI(1) Import. Importance of Single Photon 1.0
FI(2) Import. Importance of Double Photon 1.0
NT Trials Num. of Tot. Trials 100
NEV Events Num. of Req. Events 100
NP Points Num. of Points in Estimate 100
IRAN Random Init. Num. (Congruential Gen.) -
JRAN Random Init. Num. (Shift-register Gen.) -
Table 5.1: NNG04 Monte Carlo Parameters.
The parameters needed to initialize the NNG04 Monte Carlo to generate e+e-® n[`(n)]g(g)events.


5.3.2  The TEEGG Monte Carlo

The TEEGG Monte Carlo program [68] was written by D. A. Karlen to simulate the radiative Bhabha process, e+e-® e+e-g(g), for low Q2 configurations where the electron and/or positron scatter at small angles. The dominant diagram is the t-channel amplitude which require the evaluation of QED radiative correction to O(a4), while neglecting the contribution from the Z0 as shown in Figure 5.1. The lowest-order cross-section calculation is based on the wide angle scattering algorithm of Berends and Kleiss [69] with additional mass terms. The O(a4) QED radiative corrections are evaluated by the equivalent photon approximation where only the t-channel amplitudes and the radiative corrections to the sub-process of Compton scattering are included. The infrared divergence is also incorporated with a soft photon cutoff parameter, k0, defined in the rest frame of the colliding electron and photon.


Graphic: images/radbhabha.gif

Figure 5.1: Radiative Bhabha Scattering Modelled by the TEEGG Monte Carlo.
The dominant t-channel diagram that contributes to O(a) to the the amplitude for low Q2 radiative Bhabha scattering are shown in (a) and (b). Shown in (c), (d) and (e) are the virtual correction diagrams and the double radiative diagrams. Not shown are the perturbations and charge conjugates associated with each diagram.


The Monte Carlo requires the input parameters as shown in Table 5.2  [68] and reproduces reliable results within the range of validity for the O(a4) QED radiative corrections. The program has been tested with data from the Mark II detector for configurations where both an electron and photon scatter at large angles. The results indicate that the data and the calculations agree within the experimental uncertainty of 2% for events with one photon with Eg > 0.5 GeV and qg > 45 deg [69].


PARAM. CUT DESCRIPTION DEFAULT
EB EbeamBeam Energy (GeV) 45.6
CONFIG Config. Event Configuration EGAMMA
RADCOR Corr. Radiative Correction NONE
CUTOFF k0 Soft-hard photon energy sep. (GeV) 0.25
EEmin. Ee± min. Electron Acceptance Energy (GeV) 2.0
TEmin. qe± min. Electron Acceptance Angle (rad.) 0.72
EGmin. Eg min. Photon Acceptance Energy (GeV) 2.0
TGmin. qg min. Photon Acceptance Angle (rad.) 0.72
TEVETO qe± veto Electron Veto Angle (rad.) 0.1
TGVETO qg veto Photon Veto Angle (rad.) 0.05
PEGmin. fe±g min. Electron-photon f Sep. (rad.) p/4
EEVETO Ee± veto Electron Veto Energy (GeV) 0.0
EGVETO Eg veto Photon Veto Energy (GeV) 0.0
PHVETO fveto Veto f Sep. (rad.) p/4
UNWGHT Weight Generate of Unweight Events .TRUE.
WGHT1M Weight The Rejection Method for q0\ttplus 1.001
WGHTMX Weight Max. Weight 0.5
MATRIX Matrix Matrix Element for e+e-® e+e-gBKM2
MTRXGG Matrix Matrix Element for e+e-® e+e-g(g)-
Table 5.2: TEEGG Monte Carlo Parameters.
The parameters needed to describe the region of phase space for the running of the TEEGG Monte Carlo.


5.3.3  The RADCOR Monte Carlo

The RADCOR Monte Carlo program [72] was written by F.A. Berends and R. Kleiss to simulate two and three photon final states for the process, e+e-® gg(g). Unlike m+m- pair production and Bhabha scattering which are influenced by the weak interaction and polarization effects at higher energies, the e+e-® gg(g) process is completely QED. The RADCOR program models the process by incorporating the infrared divergence with a soft photon cutoff parameter, k0, and differentiating two final states: i)the soft photon with no bremsstrahlung, ii)the hard photon which generates bremsstrahlung above the k0 cutoff parameter.

The lowest-order cross-section is used to determine the weights associated with the generated final state photons. Virtual corrections are determined for each weighted event and used to determine the total cross-section contribution for each event to O(a3). The Monte Carlo uses the input parameters shown in Table 5.3  [72] and has been studied with large samples of events demonstrating good agreement with expected results to within 1% for events with one photon with Eg > 0.4 GeV and qg > 10 deg  [72].


PARAM. CUT DESCRIPTION DEFAULT
EBEAM Ebeam Beam Energy (GeV) 45.625
THmin. qg min. Min. Scat. Angle of e-/e+ (deg.) 10.0
THmax. qg min. Max. Scat. Angle of e-/e+ (deg.) 170.0
XKmin. Ebremsmin./Ebeam Min. Brems. Energy (in Ebeam units) 0.0
XKmax. Ebremsmax./Ebeam Max. Brems. Energy (in Ebeam units) 1.0
Table 5.3: RADCOR Monte Carlo Parameters.
The parameters used to control the event generation of the RADCOR Monte Carlo.


5.3.4  The TWOGEN Monte Carlo

The TWOGEN (TWOGEN11) Monte Carlo [73] was written by W. Langeveld to produce both pairs and multihadronic states via the two-photon process for e+e-® e+e-X. The program was later modified by A. Buijs and G. J. VanDalen to produce resonance states including X® f2,p0,h,h¢ which eventually decays into final state photons. The program is one of two programs used in the analysis presented in this thesis to study the specific generation of events via the two-photon process. TWOGEN generates resonance events in three distinct steps:


Graphic: images/resonprod.gif

Figure 5.2: Resonance Production via the Two-Photon Process.
The dominant Feynman diagram that produces hadronic events from the two-photon process for e+e-® e+e-X (X® f2,p0,h,h¢) is the ``multiperipheral'' two-photon process shown in (a). The TWOGEN generator uses the vector dominance model for the process, X® f2,p0,h,h¢, as shown in (b).


The program has been used by various groups and demonstrates consistent results for the phase space considered, i.e. within 5% for events with one photon within qg > 20 deg. and Eg > 0.5 GeV [75]. The Monte Carlo makes use of the input parameters shown in Table  5.4 [73].


PARAM. CUT DESCRIPTION DEFAULT
EB Ebeam Beam Energy (GeV) 50.0
MNMASS Mgg min. Min. Two-gamma Mass (GeV/c2) 2.0
MXMASS Mgg max. Max. Two-gamma Mass (GeV/c2) Ebeam
TH1PMN qe- min. Min. e- Scat. Angle (rad.) 0.0
TH1PMX qe- min. Max. e- Scat. Angle (rad.) p
TH2PMN qe+ min. Min. e+ Scat. Angle (rad.) 0.0
TH2PMX qe+ max. Max. e+ Scat. Angle (rad.) p
NEVTS Event Num. of Events -
Table 5.4: TWOGEN Monte Carlo Parameters.
The parameters needed to guide the operation of the TWOGEN Monte Carlo.


5.3.5  The VERMAS Monte Carlo

The VERMAS (VERMAS10) Monte Carlo program [76] was written by G.P.Lepage, J. Smith and J.A.M. Vermaseren and later modified by G. J. VanDalen. It is the second of two programs (see Section 5.3.4 for TWOGEN) used in the analysis presented in this thesis to study the specific generation of events via the two-photon process. VERMAS generates e+e-® f[`(f)] to order O(a4) through QED matrix elements. Here f can be e-, m-, t-, u, d, s, c, or b. The program uses an exact seven-dimensional numerical calculation of the total cross-section with Mandelstam-type variables for the Feynman diagrams shown in Figure 5.3. The Monte Carlo requires the input parameters shown in Table 5.5  [76]. Calculations of the program have been checked against the double-equivalent-photon approximation (DEPA) and has demonstrated agreement to within 1% of these results [77].


Graphic: images/fermprod.gif

Figure 5.3: Fermion-Pair Production via the Two-Photon Process.
The VERMAS Monte Carlo models the e+e-® e+e- l+l- to O(a4) via the dominant Feynman diagrams shown above. The ``multiperipheral'' two-photon process with a the C-even state is shown in (a), the t-channel ``bremsstrahlung'' process in (b), the s-channel ``annihilation'' process in (c) (both C-odd states), and the ``conversion'' in (d).


PARAM. CUT DESCRIPTION DEFAULT
EBEAM Ebeam Beam Energy (GeV) 15.0
ME Me± The e± Mass (GeV/c2) 0.511D-03
MU Mm± The m± Mass (GeV/c2) 0.105659D+00
CONST Conv. Conv. (GeV-2 to 10-12 b) (19.732D+03)2
MNMASS Mgg min. Min. gg Mass (GeV/c2) 1.7
THmin. qe- min. Min. e± Scat. Ang. (deg.) 10.0
THmax. qe- min. Max. e± Scat. Ang. (deg.) 170.0
XKmax. Ebremsmax./Ebeam Max. Brems. Engy. (/Ebeam) 1.0
IGEN GEN. Generated Event Type 1
NEVTS Event Num. of Generated Events 100
Table 5.5: VERMAS Monte Carlo Parameters.
The parameters needed for controlling the VERMAS Monte Carlo.


5.3.6  The KORALZ Monte Carlo

The KORALZ (KORALZ38) program [78] was written by S. Jadach, B.F.L. Ward, and Z. Was to generate fermion pairs, e+e-® f[`(f)], where f can be e-, m-, t-, u, d, s, c, or b. The program includes the complete electroweak radiative corrections to O(a), initial and final state QED bremsstrahlung, t-decay modes and polarization effects, and beam polarization effects. The program does not include QED initial-final state bremsstrahlung interference for multiple QED hard bremsstrahlung in the initial state and multi-pion t-decay modes. KORALZ generates events in three distinct steps:

The Monte Carlo requires the input parameters shown in Table 5.6  [78]. The program has been widely studied and used with such experiments as PETRA and PEP and has demonstrated agreement with experimental results to within an uncertainty of 1% [78].


PARAM. CUT DESCRIPTION DEFAULT
MODE Init. Mode of Operation 0
KFB ID Lund ID of the 1st Beam 7 (e-)
PB1 Ebeam1 Four-momenta of 1st Beam (GeV/c2) 0.,0.,50.0,50.0
E1 S Spin Pol. of 1st Beam 0.,0.,0.,-1.
-KFB ID Lund ID of 2nd Beam -7 (e+)
PB2 Ebeam2 Four-momenta of 2nd Beam (GeV/c2) 0.,0.,-50.0,50.0
E2 S Spin Pol. of 2nd Beam 0.,0.,0.,1.
NPAR Init. Physical Constant Terms -
ISPIN NPAR(1) Spin Effects in Decay 1
INRAN NPAR(2) Obsolete -
KEYGSW NPAR(3) Level of GSW Corrections 1
KEYRAD NPAR(4) The Type of QED Brems. 1
JAK1 NPAR(5) Decay Type of 1-st t 0
JAK2 NPAR(6) Decay Type of 2-nd t
ITFIN NPAR(7) Type of Final Fermion -
ITDKRC NPAR(8) Radiation in t Decay -
KEYWLB NPAR(9) Type of Electroweak Library -
NEVTOT NPAR(10) Num. of Generated Events -
NNEUT NPAR(11) Num. of Neutrinos -
XPAR Init. Brems. Corr. and Decay Terms -
AMZ XPAR(1) The Z0 Mass (GeV/c2) -
AMH XPAR(2) The Higgs Mass (GeV/c2) -
AMTOP XPAR(3) The t Quark Mass (GeV/c2) -
GV XPAR(4) W±-t Coupling in t-decay -
GA XPAR(5) W±-t Coupling in t-decay -
SWSQ XPAR(6) Only for KEYGSW<2, -
GAMMZ XPAR(7) Only for KEYGSW<2, GZ0-
AMNUTA XPAR(8) The nt Mass (GeV/c2)
AMNEUT XPAR(9) The Neutrino Mass (GeV/c2) -
CSTCM XPAR(10) Int. Total Cross-section (cm2) -
XK0 XPAR(11) Soft/hard Cutoff -
VVmin. XPAR(12) Min. v for YFS2 -
VVmax. XPAR(13) Max. v for YFS2 -
XK0DEC XPAR(14) Soft/hard Cutoff in t-decay -
CSTCM XPAR(16) Int. Total Cross-section (cm2) -
CSTNB XPAR(17) Int. Total Cross-section (nb) -
DCSNB XPAR(18) Error on Cross-section (nb) -
Table 5.6: KORALZ Monte Carlo Parameters.


5.3.7  The BABAMC Monte Carlo

The BABAMC (RADBAB20) program [79] was written by R. Kleiss, F.A. Berends and W. Hollik to generate Bhabha scattering events, e+e-® e+e-g, for use in the determination of luminosity. The program includes the complete electroweak and vacuum polarization corrections due to fermions from e+e- to O(a). The program uses a multi-channel approach to include explicit corrections to the cross-section in five distinct channels:

The program does not incorporate exponentiation, multiple soft photons or higher-order corrections to the Z0 width, but for the region of phase space of interest, i.e. the small angle region, such corrections are considered negligible. In fact, such problems as exponentiation, multiple soft photons or higher-order corrections to the Z0 width are rather difficult to include over all scattering angles (no known Monte Carlo program to-date accomplishes this). The Monte Carlo requires the input parameters shown in Table 5.7  [79]. The program has been compared with other low angle Bhabha scattering programs, namely HOWLEEG and BHLUMI, and has demonstrated agreement to within an uncertainty of 1% [80].


PARAM. CUT DESCRIPTION DEFAULT
EBEAM Ebeam Beam Energy (GeV) 50.0
RMZ MZ0 The Z0 Mass (GeV/c2) 92.0
RMT Mt The t Quark Mass (GeV/c2) 100.0
RMH MHiggs The Higgs Mass (GeV/c2) 200.0
THmin. qe± min. Min. e- or e+ Scatt. Ang. (deg.) 10.0
THmax. qe± min. Max. e- or e+ Scatt. Ang. (deg.) 170.0
XKmax. Emax./Ebeam Max. Brems. Engy (/Ebeam) 1.0
WEIGHT Weight Weight for the Rejection 2.5
Table 5.7: BABAMC Monte Carlo Parameters.
The parameters needed to describe the region of phase space for the running of the BABAMC Monte Carlo.


5.4  The OPAL Detector Simulation

The OPAL detector is simulated using a Monte Carlo program GOPAL  [81] [82] which facilitates the CERN GEANT3 [83] (GEANT) simulation package in the OPAL environment. The GEANT package provides the framework to define the geometrical parameters of the OPAL detector and to simulate interactions by tracking particles through the detector, including the necessary physics processes like scattering and decays. The operation of the GEANT package falls roughly into four categories:

  1. At initialization time the geometrical description of the detector, the materials and tracking parameters for each volume are defined.
  2. Primary kinematics for each event are generated.
  3. As each particle traverses a sensitive detector, ``hits'' are stored which contain the necessary information to allow the subsequent simulation of the detector response. In addition, GEANT decides whether to stop the tracking of certain particles based on the energy or lifetime of the particle.
  4. At the end of each event the hits are used to simulate the data which the detector would have produced for subsequent reconstruction or analysis.
The GEANT package relies on standard physics simulation techniques and was developed and tested by many authors, a number of whom work with OPAL.

Using the GEANT package, the GOPAL code simulates the full OPAL detector consisting of 15 subdetectors and all the passive elements such as the magnet coil, the beam pipe, and pressure vessel, with a total of more than 49 different materials and 68,413 volumes, nested up to 12 deep. The constants associated with the various subdetector elements are also read in and recorded for the event just before the first event for use in the digitization. The program then obtains the kinematics for the primary event in one of two ways: first, the run generator inside GOPAL provides the necessary KIUSER interface for the event, or second, a standard ``four-vector'' file is accessed which has been previously produced by an event generator in stand-alone mode. The GOPAL representation of the generated events, the TREE Bank, is a special structure consisting of 22 words per particle containing: i) the four-momentum, ii) the mass, charge and PDG particle ID, iii) the spatial coordinates of the particle trajectory, iv) the pointers to parent and daughters, and v) the start and end flags for tracking.

When a particle traverses the sensitive region of a detector, the raw signals of the detector are generated. The tracking of the particle is completed by storing the position and momentum of each charged particle at tracking time. The interaction of each particle is simulated step-by-step along its path. Such interactions with the material include energy loss, multiple scattering, bremsstrahlung, decay in flight and nuclear interactions. The EGS [84] program is used to simulate electromagnetic interactions in the dense materials, while the GHEISHA Monte Carlo [85] handles the nuclear interactions. In addition, the short-lived particles such as Ks, p0 and L are allowed to decay in the simulation leaving secondary vertex information. The tracking for all particles, e.g. primary, secondary, etc., is completed together and the response to each track segment is computed using a parameterization technique before digitization.

During the digitization, the HITS information is collected and the response of the detector is determined. Except for the lead glass electromagnetic calorimeter, all subdetectors require an elaborate simulation response treatment. This treatment fills the simulated raw data structure for each subdetector using special digitization code tuned for each detector. The data structure at the end of GOPAL looks exactly like that emerging from the OPAL detector including simulation from the OPAL trigger. The data structure from GOPAL consisting of a constant record and events can be analysed by the Reconstruction program of OPAL (ROPE) to produce a data summary tape (DST) for analysis or histograms of NTUPLES. The ROPE processing can either occur directly in GOPAL for increased efficiency and time saving or can occur separately from the GOPAL processing in a stand-alone mode. Once the ROPE data structure (banks) are generated, the events can be displayed in the off-line environment using the OPAL event display program, GROPE. Note that the GROPE processor allows reconstructions of all OPAL events whether ``real'' data or simulated Monte Carlo as discussed in Section 4.6. The whole simulation system is diagrammatically displayed in Figure 5.4 [86].


Graphic: images/detsim.gif

Figure 5.4: The Simulation System of the OPAL Experiment.
The organization of the GEANT based OPAL (GOPAL) simulation Monte Carlo. Also shown is the relationship to the rest of the OPAL software.


Performance of the Detector Simulation

The GOPAL Monte Carlo simulation code is capable of operating in stand-alone mode to help in the reconstruction and analysis code development as well as debugging or in parallel mode to increase the speed of simulation. The time taken by the GOPAL simulation code to simulate a typical multihadronic event, e+e-® Z0® q[`(q)]® hadrons, is rather long as shown in Table 5.8 [86]. Although the reconstruction time is dominated by the central tracking, the simulation time is dominated by the shower development in the lead glass, compared to about 10% in the central tracking chambers. A ``bootstrap'' option is available to perform the shower simulation for any electron or photon below some cutoff, e.g. 500 MeV, by choosing a previously generated shower at random from a library. This speeds up the lead glass shower simulation by a factor of three, although the fitted data is not quite as good as the full shower development. Tracking routines speed up simulation in the forward detector by allowing four bremsstrahlung photons to be generated during one tracking and skipping intermediate tracking. However, the bootstrap method suffers from the following difficulties: i) the poor agreement of the bootstrap results with the data when compared to the full shower development, ii) the need for updating the parametrizations for each new version of GEANT, and iii) the unresolved problems with leakage for the electromagnetic component of hadronic showers.

However, the most effective fast simulation is obtained by using a simplified form of the GEANT geometry and tracking termed the ``SMEAR'' mode. This mode employs simplified geometry in the central detector, the calorimeter, and the muon chambers with tracking cutoffs, tuned parameters, and a quick smearing procedure of the track parameters. This mode of simulation has the notable draw back of poor agreement for multi-particle and overlapping electromagnetic showers, but increases speed on the average by a factor of 100 with acceptable results.


PROCESSING TIME
Initialization 70 sec
Kinematics 1 sec/event
Tracking 360 sec/event
Digitization 18 sec/event
Reconstruction 65 sec/event
Table 5.8: The Processing Time for the GOPAL Simulation.
The GOPAL simulation processing time are quoted for multihadronic events, e+e-® Z0® q[`(q)]® hadrons. The times are averages of runs on IBM3090 and VAX3600 machines scaled to correspond roughly to the standard CERN IBM/168 unit (roughly 4-5 mips).


In the simulation of the central tracking chambers, each wire signal is generated from the energy loss of the track near the wire. The energy loss is calculated based on the dE/dx versus momentum curve determined from the data. A comparison of the data from the multihadron events with the GOPAL Monte Carlo simulation shown in Figure 5.5 [86] indicates good agreement. In the simulation of the electromagnetic calorimeter, the shower process is modelled using the ``Bootstrap Method'' [87]. For relatively high particle energies, the energies deposited are calculated using the EGS program. For particle energies of less than 100 MeV, the energies deposited are determined from a table search of pre-calculated shower energies corresponding to various incident energies of particles and gives a fast calculation of the shower energy. In either case, the calculated shower energy is finally translated into the pulse heights of photomultipliers attached to the each lead glass counter. The agreement between the data and GOPAL Monte Carlo simulation for different parameters of the electromagnetic energy is seen to be good as shown in Figure 5.6 [86].


Graphic: images/cdsim.gif

Figure 5.5: The Simulation of the Central Detector.
The simulation of the number of hits per track in multihadronic events is compared to the data in (a) used to determine the truncated mean for tracks in the polar angle region |cos(qe±)| < 0.7. The simulation of the relative resolution as a function of the number of hits in multihadronic events is compared to the data in (b). The simulation of truncated mean for tracks in multihadronic events in the momentum ranges 0.4-0.8 GeV/c  and 2.5-4.0 GeV/c  is compared to the data in (c) and (d), respectively. The real data is shown by points with error bars, while the simulation is shown with solid lines.


Graphic: images/ebsim.gif

Figure 5.6: The Simulation of the Electromagnetic Barrel Calorimeter.
The average number of photo-electrons detected per cm of track length for highly relativistic particles in a barrel lead glass block is shown for the data in (a). The mean fraction of cluster energy in the most energetic block as a function of the azimuthal angle for high energy electrons in barrel Bhabha events compared to the simulation in (b). The energy of barrel electromagnetic clusters in multihadron events from the data is compared to the simulation in (c). The number of blocks in barrel electromagnetic clusters in multihadron events from the data is compared to the simulation in (d). The real data is shown by points with error bars, while the simulation is shown with solid lines in (b), (c), and (d).


Previous Contents Next