Download presentation
Presentation is loading. Please wait.
Published byAllen Matthews Modified over 9 years ago
1
Overview Methodology Design Architecture Outline of future work Ideas for discussion
2
Methodology How to write a program to solve Traditionally design a data structure –COMMON Block –something like a C struct
3
Use Case driven Abstractions are modeled by entities –Identify their properties –Ask questions –Study their interplay Follows the design course by J.Deacon –Leads to an object-oriented solution –Not the only way...
4
How to describe the problem ? Not so easy Trick –“Physicist” is UML Actor –Asks the questions to solve the use cases Later the Actor is replaced by... –a main algorithm object –a strategy object (see later)
5
Entities Lifetime –For the whole job –For one event –Temporary Entities –specific for problem domain –functional abstraction, not physical objects
6
Over the whole job...
7
How to implement a Radiator ?
8
For one event...
9
… a Track Entity
10
TrackSegment Track Radiator Has a length Emits photons
11
What happened to the Extrapolation ? Track TrackExtrapolation Rich::Track Rich::TrackSegment
12
more complicated in detail...
13
GAUDI Algorithms
14
Architecture Group of entities form a components An assembly of components forms the algorithm Components are... –separated by well defined interfaces –assembled at run time –development of the components is de-coupled
15
Components
16
UML Components
17
Components... Are GAUDI sub-algorithms –Profits from the flexible instantiation mechanism –Can use all GAUDI services Have their proper interfaces –A down cast exposes the interface Are controlled by a main algorithm –Instantiation –Controls the interplay
18
Detector Implementation Initialization …. –Create instance of entities Evaluation –Expose their interface –Do the real work –Database update ? Versions –ASCII file based –Detector geometry database based
19
Event Model EventReader –Controlling entity For each event –Read data store and create structure –Delete structure and write data store Versions –Reconstruction MC, smeared MC, Rec Data –Simulation
20
Strategy Object Main Algorithm object prepares context –EventModel –Detector Structure Delegates control to the strategy object Versions –Reconstruction, Global Likelihood, Other … –Simulation
21
Monitor Objects As strategy object –Read only access to event model –More then one allowed Versions –Histogramming –Detailed Log files –Display
22
Outline of work Consolidation of OO structure –Interleaved with functional update Better use of GAUDI features –Detector database –CDF to XML converter Catch up with SICB –Many topics –Priorities have to be set
23
Catch up... Adapt likelihood for background –Tracking inefficiencies –Charged particle interactions in detector Geometry update –ASCII file Photon detector implementation –probably still generic for some time Other Algorithms...
24
Discussion Detector data Association to MC truth How to store final results ? Iteration of the algorithm ??? –Temporary results could be stored GEANT4
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.