Title: GAUDI Muon Software
1GAUDI Muon Software
? Algorithms MuonDigitization
MuonL0Trigger
MuonIdentification
24/11/99 Paul Colrain, Miriam
Gandelman LHCb SW week Nov 99
2The MuonDigitization Algorithm
? Problem Statement ? Data Flow Diagram ?
Problem Solution
? Object Diagram ? Class Diagram ? Sequence
Diagram
- Results Comparison with SicB
3MuonDigitization Analysis
Problem Statement
Q. What does it do? A. Performs the digitization
of the Muon Detector. Same functionality as SICB.
Q. What data does it take as input? A. MC hits in
the Muon detector (entry, exit, TOF, deposited
Energy).
Q. What data does it produce? A. Raw hits in the
Muon Detector (pad/strip id, time stamp,
pointer(s) to MC hits).
Q. Are there constraints? A. Yes. 1. GAUDI and
2. The Muon Detector design.
ie. The Muon chambers will be of 2, 3 or even 4
different technologies (RPC, DRPC,
CPC, WPC, WSC) and have 2 different designs (pads
and strips).
gt at least 2 different digitization
implementations gt polymorphism
4MuonDigitization Analysis
Data Flow Diagram
MC Hits
geometry, response data, . . .
create layer hits
MuonDigitizer
layer hits
perform coincidence logic
Raw Hits
Algorithm properties
Job Options file
Algorithm properties database
51 chamber containing 4 pad layers
3 of 4 majority logic ? raw hit produced
charged particle trajectory
charged particle trajectory
6MuonDigitization Analysis
Problem Solution (simplified)
? Construct a list of those Chambers to be
digitized
LHCb has 5 Muon Stations. Each Station has many
Chambers. A Chamber can access its own MCMuonHits
event by event. A Chamber has a list of
RawMuonHits (initially empty). A Chamber can
access its technology, structure, geometry,
response, noise, cross-talk. A Chamber has the
ability to digitize() its own MCMuonHits to
produce RawMuonHits.
? Inform each Chamber of its MCMuonHits
? Iterate over all Chambers in the list
? digitize() the MCMuonHits in each Chamber to
produce RawMuonHits ? add electronic noise hits
? register() RawMuonHits by Station in the
Transient Event Store
- Finalization Delete all Chambers
7MuonDigitization Design
Object Diagram
MuonDigitizer
Station2
Station 1
Transient Event Store
WPC 3
CPC 2
CPC 1
LayerHit
LayerHit
8MuonDigitization Design
Class Diagram
Algorithm
Data
DetectorElement
ContainedObject
DataObject
IAlgorithm
Algorithm
MCMuonHit
MCMuonHitSet
MuonDetElement
0..
0..
1
RawMuonHit
RawMuonHitSet
GAUDI
0..
1
Private
MuonDigitizer
5
Station digitize()
0..
1..
0..
Chamber digitize()
Layer digitize()
LayerHit
CPC digitize()
WPC digitize()
WSC digitize()
9MuonDigitization Design
Sequence Diagram
EventData Service
DetectorData Service
MuonDigitizer
WPC
CPC
Station
configure()
retrieveObject()
initialize()
new
retrieveObject()
new
retrieveObject()
retrieveMCHits()
execute()
retrieveObject()
retrieveMCHits()
retrieveMCHits()
digitize()
digitize()
digitize()
registerRawHits()
registerObject()
delete
finalize()
delete
delete
10MuonDigitization Comparison with SicB
Muon Station 5 pad X v Y
SICB v115
?
GAUDI
11MuonDigitization What Next?
? Upgrade use new version of GAUDI ?
Review of Design and Code by GAUDI team ? Include
detector response simulation for each technology
(Detector Description Database)
Muon GAUDI Software What Next?
? MuonL0Trigger Start Design early next year
? MuonIdentification ??
(Wait for final Trigger HW architecture)