May 29 - Jun 4 , 2005BESIII Annual Meeting , Beijing 1 The BESIII Detector Description With XML...
-
Upload
elfreda-young -
Category
Documents
-
view
213 -
download
1
Transcript of May 29 - Jun 4 , 2005BESIII Annual Meeting , Beijing 1 The BESIII Detector Description With XML...
May 29 - Jun 4, 2005
BESIII Annual Meeting,Beijing 1
The BESIII DetectorDescription With XML
Jun 1, 2005
Zhengyun You , Yajun Mao
(School of Physics, Peking University)
May 29 - Jun 4, 2005
BESIII Annual Meeting,Beijing 2
Outline
The Motivation
What’s XML?
BESIII Detector with XML
Schema for Event Display & Reconstruction
Summary
May 29 - Jun 4, 2005
BESIII Annual Meeting,Beijing 3
Overview of BESIII Offline Software
GEANT4 GAUDI ROOT
BOOST BOSS(BASF)
Detector related informationgeometry, material, calibration…
Eve
nt
Gen
erat
or P
hys
ics
An
alys
is
Ph
ysic
s A
nal
ysis
Det
ecto
rS
imu
lati
on
Rec
onst
ruct
ion
Eve
nt
Dis
pla
y
May 29 - Jun 4, 2005
BESIII Annual Meeting,Beijing 4
A New Solution With XML
EventGenerator
DetectorSimulation
DetectorResponse
Decode +Reconstruction
PhysicsAnalysis
EventDisplay
DAQ
GENBES, PYTHIA BOOST(GEANT4)
BESIII Offline Flow Chat (Schematic)
GEANT4Schema
ROOTSchema
ROOTSchema
XML descriptionKeep sub-structureGDML=> GEANT4
Digitalization: simpleidentical geometry forSimulation, Reconstruction, Event Display
Share schema
BESIIIRaw Data
DatabaseGeom.+Cal.
SimulatedData
DST orDST
May 29 - Jun 4, 2005
BESIII Annual Meeting,Beijing 5
XML (eXtensible Markup Language) is an industry standard tool.
XML has great power in auto-distribution and data exchange over platforms.
XML document
Same content Different formatstandard
auto
What’s XML?
May 29 - Jun 4, 2005
BESIII Annual Meeting,Beijing 6
A Simple Example With XML<?xml version="1.0" encoding="UTF-8"?>
<gdml xsi=“/scratch/youzy/gdml/gdm_1.1.xsd”>
<material name=“air” … … > <material name=“Iron” Formula=“Fe” Z=“26.0” D=“7.84“ … >
<solid box=“world” x=“1*m”, y=“1*m z=“1*m” ><solid box=“layer” x=“0.5*m”, y=“0.8*m” z=“0.1*m” >
<volume name=“logLayer” solid=“layer” material=“iron”
<child name=“layer2” volumeref=“logLayer” pos=“…” rot=“…“ /child>
<child name=“layer3” volumeref=“logLayer” pos=“…” rot=“…“ /child>
<volume name=“logWorld” solid=“world” material=“air”>
</volume><setup name =“det” world ref=“logWorld” /setup></gdml>
airiron
<child name=“layer1” volumeref=“logLayer” pos=“…” rot=“…” /child>
May 29 - Jun 4, 2005
BESIII Annual Meeting,Beijing 7
BESIII Detector Overview
MDC TOF
EMCMUC
May 29 - Jun 4, 2005
BESIII Annual Meeting,Beijing 8
BESIII MDC with XML
May 29 - Jun 4, 2005
BESIII Annual Meeting,Beijing 9
BESIII TOF with XML
May 29 - Jun 4, 2005
BESIII Annual Meeting,Beijing 10
BESIII EMC with XML
May 29 - Jun 4, 2005
BESIII Annual Meeting,Beijing 11
BESIII MUC with XML
May 29 - Jun 4, 2005
BESIII Annual Meeting,Beijing 12
Schema for Reco. & Event Display Geometry, Materials,
Calibration…
Classes for Simulation
XML description
Classesfor Reconstruction
Classesfor Event Display
GEANT4 Schema
RO
OT S
chem
a
ROOT Schema
XM
L w
rite
r
Improved GEANT4 Schema: add three new shapes: Hype, TwistedTubs, IrregBox
Wrote ROOT-based Schema for reconstruction & event display
May 29 - Jun 4, 2005
BESIII Annual Meeting,Beijing 13
Event Display Package
May 29 - Jun 4, 2005
BESIII Annual Meeting,Beijing 14
An Example of An Event
May 29 - Jun 4, 2005
BESIII Annual Meeting,Beijing 15
Geometry Classes for Reco.
BESIII
Mdc Tof Emc Muc
Layer
Wire
Bucket
Scintillator
Phi
Theta
Crystal
Segment
Layer
Iron
Rpc
Strip
Bakelite
Gas ChamberInterested Objects
Applied in MUC Got Identical results
Access geom. : simple Reconstruction: simple
Will be applied in other sub-system soon
May 29 - Jun 4, 2005
BESIII Annual Meeting,Beijing 16
Summary
Applied XML to handle BESIII detector in offline software
Improved GEANT4 schema & wrote ROOT-based schema
Identical geometry for all offline packages becomes practical
Could handle very complicated structure in a rather simple way
The new technique makes the offline code simple & robust
May 29 - Jun 4, 2005
BESIII Annual Meeting,Beijing 17
THANK YOU!