PhDOOS’99 Object Databases in the LHCb experiment

Download Report

Transcript PhDOOS’99 Object Databases in the LHCb experiment

PhDOOS’99
Object Databases in the LHCb
experiment
Radovan Chytracek
LHCb experiment
CERN, Switzerland
Background
• 4 CERN experiments in the LHC1 era
– ATLAS, CMS, Alice, LHCb
• Software moving towards OO systems
– transition from FORTRAN to C++
– RDBMS to ODBMS
• Large detectors
– composed from many elements (~106)
– detector description needed by almost all apps
• on-line, simulation, reconstruction, analysis, etc.
• logical structure, geometry, calibration, alignment, el.
channel maps, magnetic field
1
Large Hadron Collider
7/21/2015
Radovan Chytracek
2
Background
• Large data amounts expected
– order of magnitude in PB(1015 Bytes) per year
• Data have WORM feature
– written once read many times
– processing unit is collection of events
7/21/2015
Radovan Chytracek
3
Data processing
7/21/2015
Radovan Chytracek
4
GAUDI Framework
• Project in the LHCb experiment
– cover all data processing stages, interactive and
batch environments
• Strategic design choices
–
–
–
–
–
–
–
Separation between data and algorithms
Data: event, detector, statistical data
Separation between persistent and transient data
Data centered architectural style
User code goes into algorithms and converters
Components with well defined interfaces
Reusability
7/21/2015
Radovan Chytracek
5
GAUDI Architecture
7/21/2015
Radovan Chytracek
6
Detector Description
DataBase
Versioning
Identification
identification and naming
versioning schema
version numbers and tags
versioning in time
Detector Geometry
Logical Description
geometry volumes
hierarchy
solids, dimensions,
position, transformation
logical detector hierarchy
user entry point
navigation through the
detector hierarchy
links to the other DDDB
modules
Material
material and
physics constants
Condition
Mapping
Field
alignment
calibration
slow-control
7/21/2015
electromagnetic
maps of the
various detector
parts
Radovan Chytracek
7
DDDB Data Versioning
Version
Production version:
VDET: v3 for T<t3, v2 for t3<T<t5, v3 for t5<T<t9, v1 for T>t9
HCAL: v1 for T<t2, v2 for t2<T<t8, v1 for T>t8
RICH: v1 everywhere
ECAL: v1 everywhere
Time
VDET alignment
HCAL calibration
RICH pressure
ECAL temperature
t1
t2
t3
t4
t5 t6
t7
t8
t9
t10
t11
Time = T
Data type
7/21/2015
Radovan Chytracek
8
DDDB Transient model
DataObject
Material
1
0..nMaterial
DetectorElement
1
1
Mother Volume
Geometry
n
Physical
7/21/2015
1
1..n
Solid
1
Solid
Placed Logical
1
parent <-> daughter
relationship done by
objects of Registry
Entry class (not
LogicalVolume
n
Daughter Volumes
0..n
Tube
Radovan Chytracek
Sphere
Box
9