\chapter[The \bes3 detector and offline software]{The \bes3 detector and offline
software \footnote{By Wei-Dong Li, Ya-Jun Mao and Yi-Fang Wang}}
\label{sec:detecors}

\section{Overview of the \bes3 Detector}


The \bes3 detector is designed to fulfill the physics requirements 
discussed in this report, and the technical requirements for a high 
luminosity, multi-bunch collider. Detailed descriptions of the \bes3 
detector can be found in Ref.~\cite{ref:bes3_det_tdr}. 
Figure~\ref{fig:r99bes} shows a schematic view of the
\bes3 detector, which consists of the following components:
\begin{itemize}
\item A Helium-gas based drift chamber with a single wire resolution 
that is better than 120 $\mu$m and 
a $dE/dX$ resolution that is better than 6\%. The 
momentum resolution in the  1T magnetic field is better than 0.5\% 
for charged tracks with a momentum of 1~GeV/c. 
\item A CsI(Tl) crystal calorimeter with an energy resolution 
that is better than 2.5\% and position resolution better 
than 6~mm for 1~GeV electrons and gammas.
\item A Time-of-Flight system with an intrinsic timing resolution 
better than 90 ps.
\item A super-conducting solenoid magnet with a central field of 1.0 
Tesla.
\item A 9-layer RPC-based muon chamber system with a spatial resolution 
that is better than 2~cm.
\end{itemize}
Details of each sub-detector and their performance, together with the 
trigger system, are discussed in subsequent sections. 
\begin{figure}[htbp]
\centerline{\includegraphics[angle=90,width=14cm,height=10cm]{./Part1/fig_detector/bes_view.eps}}
\caption{An Overview of the \bes3 Detector.}
\label{fig:r99bes}
\end{figure}
\section{\bes3 Offline Software}
\label{offline Software and Framework}

The \bes3 Offline Software System (BOSS) uses the C++ language and 
object-oriented techniques and runs primarily on the 
Scientific Linux CERN (SLC) operating system
The entire data processing and physics analysis software system
consists of  five functional parts: framework, simulation, 
reconstruction, calibration, and analysis tools.

The BOSS framework is based on the Gaudi package~\cite{part1:gaudi}, which provides 
standard interfaces and utilities for event simulation, data processing and 
physics analysis. The framework employs Gaudi's event data service as the data manager
and the event data conversion service for conversions between persistent data and 
transient objects. Three types of persistent event data have been defined in the 
BOSS system: raw data, reconstructed data
and Data-Summary-Tape (DST) data. 
Both reconstructed data and DST data are in ROOT format for easy 
management and usage.
Different types of algorithms can access data from Transient Event Data 
Store (TEDS) via the event data service. The detector's material and 
geometrical information 
are stored in GDML files, which can be retrieved by algorithms through 
corresponding services. 

The BOSS framework also provides abundant services and utilities for various needs. 
For instance, the magnetic field service provides the value of the field at 
any space point 
within the detector. The navigation service helps users to trace reconstructed tracks 
back to their Monte Carlo origins. Using 
the particle property service, the particles' 
properties can be accessed by various software components. A performance 
analysis tool 
is instrumented to profile the execution of the code and a time 
measurement tool has been
developed to facilitate code benchmarking. A pileup algorithm at 
the digital level can 
be used to mix a random trigger event with a simulated signal event 
so that the background 
simulation can be properly implemented. 

The software is managed by CMT~\cite{part1:cmt}, which 
can define a package, maintain the dependence between different packages and produce 
executables and libraries. 

\subsection{Simulation}

The \bes3 detector simulation, based on the GEANT4 
package~\cite{part1:geant4}, consists 
of four parts: event generators, detector description, particle tracking, 
and detector response. Event generators are discussed in
Sect.~\ref{part1:sec:generator}. 
A unique description of the detector geometry and materials, used by both the 
simulation and reconstruction package, has been developed based on
XML~\cite{part1:xml}. Particle 
tracking and their interactions with detector materials are handled by 
the GEANT4 package, 
while detector responses are modeled by the so-called digitization code, 
which takes 
into account detector components, including readout electronics, as well 
as the realistic situations such as noise, dead channels, etc. 
A simulation of the trigger system is also implemented. 
%An online event filter based on the offline 
%software is developed. 


\subsection{Reconstruction}

The \bes3 reconstruction package consists mainly of the following 
four parts:
a) a track-finding algorithm and a Kalman-Filter-based track-fitting 
algorithm 
to determine the momentum of charged particles;
b) a particle identification algorithm based on $dE/dx$ and Time-Of-Flight
(TOF) measurements;
c) a shower- and cluster-finding algorithm for electromagnetic calorimeter
energy and position measurements; 
d) a muon track finder. 
In addtion, an event timing algorithm that determines the corresponding 
beam bunch crossing has been developed, and a secondary vertex and 
track refitting algorithm has been implemented.


\subsection{Calibration and database}

The calibration software consists of a
calibration framework and calibration algorithms. The framework
provides a standard way to obtain the calibration data objects 
for reconstruction and other algorithms. The calibration constants for
each sub-detector are produced by the associated calibration
algorithm, and are then stored in a ROOT file and a database along with other
information such as the run information, trigger condition, software 
and hardware version number, etc. 
The central database, which contains calibration data 
as well as some information 
from the online  and slow-control databases, will be distributed to
\bes3 collaborating institutions, and will also be available by remote 
access.  All of the databases at different sites will be synchronized via 
the nextwork, and updated periodically.


\section{Main Drift Chamber}

The main drift chamber (MDC), one of
the most important sub-detectors of \bes3,  can determine precisely the
momentum of a charged particle by measuring points along its trajectory in 
a well known magnetic field.  It can also determine the particle type 
by measuring the specific energy deposits ($dE/dx$) in the chamber.


\begin{figure}[htbp] 
\begin{center}
\includegraphics[width=8cm,height=6cm]{./Part1/fig_detector/mdc_bes3.eps}
\end{center}
\caption{An overview of the BESIII Main Drift Chamber}
\label{fig:mdc_view}
\end{figure}

The MDC is the innermost component of the \bes3 detector, and
 consists of inner and outer chambers without any intervening wall. 
The inner chamber can be replaced at some future data in the event
that it suffers severe damage due to high backgrounds. The absence 
of a chamber wall between the inner and outer chambers
eliminates a potential major source of  multiple scattering.

The MDC covers the polar angle $|\cos\theta| < 0.93$, with an inner 
radius of 60~mm, outer radius of 800~mm, and a maximum length 
of 2400~mm, as shown in Fig.~\ref{fig:mdc_view}. 
There are 43 cylindrical layers of drift cells that are
coaxial with the beam pipe, 
8 in the inner chamber and 35 in the outer chamber. 
All 8 layers in the inner chamber are stereo; 16 stereo 
layers and 19 axial layers  are interleaved in the 
outer chamber. 
In total, there are 6796 signal wires.  
The average half-width of a drift
cell is about 6~mm in the inner chamber and 8.1~mm in the outer chamber.


Aluminum wires ($\phi~110~\mu m$) are used for field shaping
 and gold-plated tungsten wires ($\phi~25~\mu m$) for
signals. A helium-based gas mixture (He/C$_3$H$_8$=60/40) is used as the working 
gas to reduce the effect of the multiple scattering, while keeping 
reasonable $dE/dx$ resolution. 

A superconducting solenoid magnet provides an axial
1.0~Tesla magnetic field throughout the tracking volume. 
The single-wire resolution in 
the $R-\phi$ plane is designed to be better than 120~$\mu m$, 
the resolution  in $z$-direction at the vertex, measured 
with the  stereo wires, 
is 2~mm, the $dE/dX$ resolution from a truncated mean 
Landau distribution is better than
6\%, and the corresponding momentum resolution is better than 
$\sigma_{p_t}/p_t = 0.32\% p_t \bigoplus 0.37\% /\beta$,
where the first term comes from the trajectory measurement and 
the second term from  multiple scattering. 
Figure~\ref{fig:mdc_reso} shows
the single wire resolution of the MDC and 
truncated mean $dE/dX$ measurements from a cosmic ray test.

\begin{figure}[htbp]
\centerline{\includegraphics[width=10cm,height=5cm]{./Part1/fig_detector/mdc_resid.eps}}
\centerline{\includegraphics[width=5cm,height=10cm,angle=-90]{./Part1/fig_detector/bitrunc_fit.eps}}
\caption{Upper plot: Single wire resolution of MDC from a cosmic-ray test; 
lower plot:  truncated mean of $dE/dx$ measurements from the same 
test.}
\label{fig:mdc_reso}
\end{figure}


  
\subsection*{MDC Simulation}


The XML descriptions of the geometry and materials of 
the MDC are based on the
GEANT4 package. In particular, the tube class is used to describe and
build endplates and axial layers, while the hype class is used for stereo
layers and the twisttube class for stereo cells.  
During the track simulation, steps in the same cell are treated as 
one hit, and the digitization relies heavily on
calibration parameters via the calibration service function. 
Effects such 
as wire efficiency and resolution as a function of drift distance 
for each wire, noise in each layer, misalignment etc., 
have been modeled with parameters that can be tuned via a calibration 
service function.

\subsection*{MDC Reconstruction and calibration}

The MDC tracking algorithm starts with the
formation of track segments from hits using pre-calculated
patterns. It then links the found axial segments to circular
tracks and applies a circular fit using the least-square method. 
Stereo segments are subsequently added to track candidates
followed by an iterative helix fit. Finally, after collecting 
additional hits that might possibly belong to the track,
a track refitting procedure
based on the  Kalman-filter technique is performed.
From a Monte Carlo simulation, we determine that
this algorithm can maintain a tracking efficiency of more than 
98\% for  $p_T>$150 MeV/c tracks,
even in the presence of severe backgrounds. 
The $dE/dx$ reconstruction algorithm calculates
the energy loss of each charged particle through the chamber after
applying various corrections to the measured charge amplitudes, 
and then gives the probablity of each particle identification
hypothesis.
A GEANT4-based algorithm is developed to extrapolate a MDC track
into outer sub-detectors, taking into account the magnetic field and
the ionization loss of charged particle in the detector. 
The associated error matrix at a given space point is calculated 
taking into account multiple scattering effects. 

\subsection*{MDC calibration}

The MDC will be calibrated using $J/\psi \rightarrow \mu^+\mu^-$ events 
for both position and $dE/dX$ measurements.  Since
the production cross section at $J/\psi$ peak is huge, sufficient
statistics can be obtained in a short run period. The resulting 
calibration 
constants for the $x-t$ relations, timing, alignment, absolute efficiency 
of  wires, etc. for each run period are stored 
in the database for use by reconstruction algorithms. 
There is also a proposal to calibrate the MDC by turning off the magnetic 
field, so that straight tracks can be used for calibration in order to 
determine precisely the position of each 
wire~\cite{part1:calib_wulh}. 

\section{Time-Of-Flight System}

The Time-of-Flight (TOF) sub-detector, made of plastic scintillator 
bars and read out by fine-mesh phototubes,
is placed between the drift chamber and the electromagnetic calorimeter
and measures the flight time of charged 
particles in order to identify the particle-type. It also provides 
a fast trigger and helps reject cosmic-ray backgrounds. 

The \bes3 TOF consists of two parts: the barrel and endcap as shown in 
Fig.~\ref{fig:tof_bes3}.
The solid angle coverage of the barrel TOF is $|\cos\theta| <0.83$, 
while that of the endcap is  $0.85< |\cos\theta| < 0.95$. The Barrel 
TOF consists of two layers of 88 plastic scintillator elements
arranged in a cylinder of mean radius  $\sim$870~mm.
Each scintillator bar 
has a length of 2380~mm, a thickness of 50~mm and a width of 50~mm;
it is read out at each end by a fine-mesh PMT.
Each endcap TOF array 
consists of 48 fan-shaped elements with an inner radius of
410~mm and an outer radius of 890~mm; these are read out from one end of 
the scintillator by a single fine-mesh PMT.
\begin{figure}[htbp]
\centerline{\includegraphics[width=8cm,height=6cm]{./Part1/fig_detector/tof_bes3.eps}}
\caption{The \bes3 Time Of Flight System}
\label{fig:tof_bes3}
\end{figure}

For this system, among all parameters, the time resolution is key.
This mainly depends on the following
contributions: the intrinsic TOF time resolution caused by the
characteristics of the scintillator and the PMT, time resolution and 
jitter in the readout electronics, the beam-bunch length and 
the bunch timing  uncertainty, 
the vertex and pathlength resolution of the track, 
time-walk effects, etc. The design intrinsic time 
resolution for a barrel counter is 90~ps and for an endcap counter
is 70~ps, which have been demonstrated in beam tests as shown in 
Fig.~\ref{fig:tof_reso}. The total time resolution 
for the double-layer barrel TOF and the end-cap is expected to be
about 100~ps. 

\begin{figure}[htbp]
%\centerline{\includegraphics[width=12cm,height=6cm]{./Part1/fig_detector/tof-resolution.eps}}
\centerline{\includegraphics[width=5cm,height=11cm]{./Part1/fig_detector/2tof-e.eps}
\includegraphics[width=5cm,height=11cm]{./Part1/fig_detector/2tof-pi.eps}
\includegraphics[width=5cm,height=11cm]{./Part1/fig_detector/2tof-proton.eps}}\vspace{-4.0cm }
\caption{Time resolution of TOF counters from a beam test}
\label{fig:tof_reso}
\end{figure}

\subsection*{TOF Simulation}

The TOF simulation takes into account the scintillator, 
wrapping materials and photomultiplier tubes based on the GEANT4 package. 
A fast simulation model has been built that converts the
energy loss of a particle in the scintillator into photons,
propagates them (not individual photons but the pulse and its shape) 
to the PMTs and generates an electronic signal.  
A discriminator is then applied to the pulse to yield ADC and TDC
output. This algorithm has been tested with results from beam tests
and further tuning will be needed when data are available.
A full simulation that traces each optical photon can be activated to 
understand the details of the timing measurement.

\subsection*{TOF Reconstruction}

The TOF reconstruction starts from tracks
extrapolated to the TOF and matched with a particular TOF module.
The travel time of a charged particle from the interaction
point to the TOF is then calculated, after a weighted average
of results from PMTs at both ends of the scintilator bar and applying various 
corrections such as the effective light velocity in the scintillator, 
the light attenuation length, etc. The $dE/dx$ measurement is also 
obtained for both charged and neutral particles. Energy loss in 
the TOF can  then be added to that in the EMC in order 
to improve the shower energy resolution.

\subsection*{TOF Calibration}

The TOF calibration will be performed using $J/\psi$ decays to leptons,
both for timing and energy. The resulting calibration 
constants, such as effective velocity, attenuation length, muon energy
loss, etc., are stored in the database for use by the 
reconstruction algorithms. The TOF performance and status are monitored
regularly by a laser-fiberoptics  pulsing system. 




\section{Electromagnetic Calorimeter}

The Electro-Magnetic Calorimeter (EMC) 
measures the energies and positions of electrons and photons
precisely, and plays an
important role in the \bes3 detector.
The calorimeter is comprised of one barrel and two endcap sections
as shown in Fig.~\ref{fig:emc_bes3}. The barrel has an inner radius 
of 940~mm and a length of 2750~mm, and covers the polar angle of 
$|\cos\theta|<0.83$. 
The endcaps have an inner radius
of 500~mm are placed at $z=\pm 1380$~mm from the collision point,
and  cover the polar angle range $0.85<|\cos\theta|<0.93$. 
The total acceptance is 93\% of 4$\pi$. A small gap of
about 50~mm between the endcaps and the barrel is required for
mechanical support structures, cables and cooling pipes. 
In the barrel, there
are a total of 44 rings of crystals along the $z$ direction,
each with 120 crystals. All crystals except for those in two rings at the
center of the detector point to $z = \pm$ 50~mm with a
slight tilt angle of 1.5$^o$ in the $\phi$ direction. Each endcap
consists of 6 rings that are  split into two tapered half-cylinders. 
All crystals point to $z = \pm 100$~mm with a tilt of 1.5$^o$ in the 
$\phi$
direction. The entire calorimeter has 6272 CsI(Tl) crystals and
a total weight of about 24 tons. 
\begin{figure}[htbp] 
\centerline{\includegraphics[width=8cm,height=6cm]{./Part1/fig_detector/emc_bes3.eps}}
\caption{The BESIII Electromagnetic Calorimeter}
\label{fig:emc_bes3}
\end{figure}

The calorimeter is designed to have an energy measurement range for
electrons or photons from 20~MeV to 2~GeV, with an energy resolution
of about 2.3\%/$\sqrt{{E({\rm GeV})}}\bigoplus1$\%. The
design position resolution 
for an electromagnetic shower is
$\sigma_{xy}\leq 6~{\rm mm}/\sqrt{E({\rm GeV})}$ and the
electronics noise for each crystal 
is required to be less than 220~keV.

\subsection*{EMC Simulation}
% a) Geometry b) digitization b) noise d) detection efficiency

In the simulation,
the EMC detector description is based on XML including crystals, 
casing, silicon photodiodes, preamplifier boxes, cables and 
the support system. The G4Trap class is used
for the barrel crystals and G4IrregBox, a class implemented by \bes3,
for the endcap crystals. The sensitive detector flag is set for crystals
and photodiodes. Hit information is recorded in the sensitive
detectors, and then the energy deposits summed,
 photon statistics computed, and the resulting photodiode
response is converted into electronics signals. 
The waveform for the electronics signals in the
time domain is obtained via an inverse Laplace transform;
the sampling and peak searching
process by the flash ADC is simulated to yield energy and time
information. Gaussian-type electronic noise is added to each bin
and the background is produced by summing the
waveforms. 

\subsection*{EMC Reconstruction}

% a) reconstruction algorithm  b) performance$
Shower reconstruction in the EMC consists of three concatenated steps: 
The ADC value of each crystal is converted into energy using the
corresponding calibration constants. Clusters in both the barrel and 
end-caps are formed around the crystals with
local maximum energy deposits, called seeds. 
The  shower energies are computed from the energy sums
and the positions from energy-weighted first moments.
A splitting function is invoked to split the cluster
into several showers if multiple seeds are found in one cluster.
Matched energy deposits found in the TOF are added 
to the associated showers to improve 
energy resolution, particularly, for low energy photons. 
Figure~\ref{fig:emc_reso} shows the expected energy resolution for 
electromagnetic showers. 

\begin{figure}[htbp]
\centerline{\includegraphics[width=10cm,height=9cm]{./Part1/fig_detector/emc_reso.eps}}
\caption{Energy resolution of EMC showers.}
\label{fig:emc_reso}
\end{figure}

\subsubsection*{EMC Calibration}

The EMC high energy response 
will be calibrated with Bhabha electrons at energies
of 1.55~GeV or more and the low energy response with 
$\pi^0\to\gamma\gamma$ decays. Each crystal has to be 
recalibrated periodically, and 
monitored frequently by a LED 
light pulser. Corrections due to temperature variations can be applied.
Calibration constants are stored in the database for use by the 
reconstruction algorithms. 

\section{Muon Identifier}

The \bes3 muon system is designed to distinguish
muons from hadrons by the characteristic hit
patterns they produce when penetrating the
return yoke of the \bes3 magnet.  The muon counter
is made of resistive plate chambers~(RPC) sandwiched 
by iron absorbers.
 
The barrel part of the muon identifier is organized into
octants, each of which consists of 9 layers of muon counters
inserted into gaps in the iron, as shown in 
Fig.~\ref{fig:muon_bes3}. Each endcap is divided into quadrants,
each consisting of 8 RPC layers.  Proceding radially outward, the 
thicknesses of the iron absorbers are 3~cm, 3~cm, 3~cm, 4~cm,
4~cm, 8~cm, 8~cm, 8~cm and 15~cm. The muon counter
insertion gap between neighboring slabs is 4~cm.
The width of the RPC pickup strip is optimized at 4~cm, and 
only the $z$ orientation of odd gaps and azimuthal
orientation of even gaps are read out in the barrel, while in endcap, 
the $x$ orientation for odd gaps and $y$ orientation for even gaps are 
read out.

\subsection*{MUC Simulation}
\begin{figure}[htbp]
\centerline{\includegraphics[width=8cm,height=6cm]{./Part1/fig_detector/muon_bes3.eps}}
\caption{The BESIII Muon Identifier}
\label{fig:muon_bes3}
\end{figure}

The GDML technology is applied in the MUC simulation and
software objects are created for each component of the detection
system, including their materials, shapes, positions, sizes, etc.
At the lowest level, bakelite and gas objects are used to form
an RPC. A set of strip objects form a read-out plane. Objects of
RPCs, read-out planes and aluminium boxes form a muon counter module.
Iron slabs and modules are finally installed in the proper position to
build the muon identifier. The MUC digitization is
rather simple, an algorithm is developed to
select fired strips based on the distances from the tracks to strips.
The detection efficiency can be set for each pad 
based on test results; actual values will be assigned 
when data are available. 
Noise is simulated by a Poisson distribution with a noise level
determined from measurements made during the chamber construction. 
Again, actual values
will be assigned when detector is in operation. 

\subsection*{MUC Reconstruction}

The MUC reconstruction algorithm
starts with two searches that collect hits (fired strips)
in the two orientations. The two
collections are then combined to form track candidates 
and matched with tracks reconstructed in the MDC. 
For low momentum muons, it
may happen that too few layers in muon counters are fired. 
A subsequent search for tracks that looks through the remaining hits,
using  MDC tracks as seeds, is performed. 

For each muon track candidate, a number of parameters are
calculated for muon/hadron identification, such as the depth of 
the track in the muon identifier, the maximum number of hits among 
layers the track penetrates, the match between the MUC stand-alone 
track and the MDC track, the $\chi^2$ of the MUC stand-alone track, etc. 
These parameters, together with the track momentum and exit 
angle from the MDC, are used as input to an Artificial Neural
Network for muon/hadron analysis. Figure~\ref{fig:muon_reso} shows the
performance of current muon identifier from simulated single muons
and pions in the momentum range between 0.5 and 1.9~GeV/c. 
In general, we are able to
reject pions to a level of $\sim4\%$ while keep 90\% of
real muons.

\begin{figure}[htbp]
\centerline{\includegraphics[width=10cm,height=9cm]{./Part1/fig_detector/muid_3.eps}}
\caption{Muon/pion identification as a function of the transverse momentum}
\label{fig:muon_reso}
 \end{figure}


\subsection*{MUC Calibration}

The MUC Calibration is developed within the BOSS
framework. The main task is to study RPC detection efficiencies as
a function of area. In addition, the cluster size and noise level
are also  studied. Results are stored in a database for use
by reconstruction algorithms. 

\section{Trigger}

%\subsection*{trigger}
    The trigger system is required to select interesting physics 
events with a high efficiency and suppress backgrounds to a 
level that the data acquisition (DAQ) system can sustain. 
The maximum throughput of the \bes3 DAQ system is designed to be
4000Hz, hence the trigger system should be able to  
reduce various backgrounds and Bhabha events to a level less than 
2000~Hz while maintaining a high efficiency for signal events, 
which have a rate as high as
2000~Hz at the $J/\psi$ peak.

    A two-level scheme has been adopted for the \bes3 trigger system:
a level-1 hardware trigger with a level-2 software event filter.  
Signals from different sub-detectors are split into 
two, one for digitization and storage in the pipeline of the front-end 
electronics (FEE), and the other for the level-1 hardware 
trigger. Signals from sub-detectors are received and 
processed by the appropriate electronics modules in VME crates 
to yield basic trigger primitives such as the number of short and long 
tracks in the drift chamber, the number of fired scintillator bars
in TOF, the number of clusters and their topology in the electromagnetic 
calorimeter, etc. Information from these primitives are assembled
by the global trigger logic (GTL), which  generates an L1 strobe when
the trigger condition is satisfied. 

    Trigger conditions are pre-determined based on Monte Carlo 
simulations and will be adjusted based on the actual beam background
conditions.
Table~\ref{tab:trigger_eff} shows the trigger efficiencies for various
signal and backgrounds based on Monte Carlo simulations using the current
trigger table.

\begin{table}[t]
\begin{center}
\begin{tabular}{|c|c|c|}
\hline\hline
Events  &  Number of events simulated & Efficiency(\%) \\
\hline\hline
J/$\psi \rightarrow e^+e^-$   &    50,000  &  100.0 \\
\hline
J/$\psi \rightarrow \mu^+mu^-$   &  50,000  &  99.9 \\
\hline
J/$\psi \rightarrow$ Anything   &    10,000  &  97.7 \\
\hline
$\psi' \rightarrow$ Anything    &    10,000  & 99.5 \\
\hline
$\psi" \rightarrow  D\bar{D} $ Anything & 10,000   & 99.9 \\
\hline
J/$\psi \rightarrow \omega\eta \rightarrow 5\gamma$ &  10,000 & 97.9 \\
\hline
J/$\psi \rightarrow \gamma\eta \rightarrow 3\gamma$ &   10,000 & 92.8 \\
\hline
J/$\psi \rightarrow K^+K^-\pi^0 $  & 10,000  & 97.4 \\
\hline
J/$\psi \rightarrow \pi^0 p\bar{p} $ & 10,000  & 97.9 \\
\hline
J/$\psi \rightarrow p\bar{p} $ & 10,000  & 95.8 \\
\hline
Beam backgrounds    & 1,000,000 & 0.005 \\
\hline
cosmic-ray backgrounds &  100,000  & 9.4 \\
\hline\hline
\end{tabular}
\end{center}
\caption{Estimated trigger efficiencies for different types of events.}
\label{tab:trigger_eff}
\end{table}  


Clearly, the efficiencies for most signals with topologies
containing  multiple charged tracks and photons
are satisfactory, even at very low momentum. The rejection power 
for beam backgrounds, which is estimated to have a maximum level of 
40~MHz, is about $5\times 10^{-5}$, resulting in a
background trigger rate of 
below 2000~Hz, even for extreme conditions.   The trigger rate for
cosmic-ray backgrounds is about 90 Hz.





