SLAC PEP-II
BABAR
SLAC<->RAL
Babar logo
HEPIC E,S & H Databases PDG HEP preprints
Organization Detector Computing Physics Documentation
Personnel Glossary Sitemap Search Hypernews
Unwrap page!
Det. Search
Who's who?
Meetings
FAQ
Images
Archive
Systems
Performance
Intern. region
Vertex Tracker
Drift chamber
DIRC
Calorimeter
IFR
LST
Magnet
Electronics
Trigger
Operations
Run Coordination
Contact Experts
Shift Takers Info
Operations Manual
Electronic Logbook
Ops Hypernews
Shift Signup
Check this page for HTML 4.01 Transitional compliance with the
W3C Validator
(More checks...)

trgEM status (Neil Dyce) July 1996

Overview

trgEM is a FORTRAN 77 program to simulate the L1 calorimeter trigger. It is interfaced to the reconstruction framework via the trgFrame package. It can also operate in a standalone mode.

Works on GEANT hit data, usually now directly from xdr files through trgFrame. The standalone mode uses dedicated ascii files. Hit mixing for background studies is performed in trgFrame or internally for standalone use.

Status

Geometry: The program needs to know the number of theta and phi crystals in order to build trigger towers. Since these numbers are quite stable, they have been hardcoded for the trgFrame mode. The standalone mode reads them from an ascii file.
Digitisation: Until recently digitisations of the calorimeter data have not been available from any other source and so a digitised history of the ADC output for each channel is produced internally. It is not intended to permanently store (i.e. disk or tape) this large amount of data.
Trigger logic: The various proposed trigger algorithms are implemented, both in terms of feature extraction and trigger topology.

Contains about 4,500 lines of F77 code.
Last tested with SRT release 1.0.3.

Plans

Current and future work is to finalize the trigger logic algorithms. Next internal milestone is end-October trigger implementation model workshop.
In the longer term, it is intended to make a objected oriented C++ trigger package to replace trgEM. This will use the recently available digitisation code from the Calorimeter group (EmcSim) and so will be a trigger-specific simulation only. This should be coordinated with work on the DCH and global trigger simulation.

Manpower

Neil Dyce, package coordinator, developer and user
Paul Dauncey, developer and user
Iain Scott, developer and user

Needs from other parts of simulation

trgEM works in conjunction with trgFrame. Significant changes to gnbpip would require a new simulation production of data. In future, trgEM or its replacement will need the output from EmcGHitsToWaveform.

We wish to note that change of numbering scheme of the EMC crystals in GHits produced incompatibility problems (0.6.4 production was numbered 1 to 57 in theta and recent code is numbered 0 to 56 - it is not possible to mix 0.6.4 production backgrounds onto recent signal events) so it is crucial that both the structure of GHits and the interpretation of GHits be as stable as possible, and that changes be coordinated with all consumers.

SRT integration

Available in SRT release 1.0.4, however the executable for standalone use is not built as part of release. trgEM is independent of BBSIM.