![Page 1: BES Ⅲ Detector Description and Event Display Zhengyun YOU, Yajun Mao School of Physics, Peking University Jan.10th, 2006](https://reader034.vdocuments.site/reader034/viewer/2022051401/56649ebc5503460f94bc5709/html5/thumbnails/1.jpg)
BES Detector Description and Event DisplayⅢ
Zhengyun YOU, Yajun Mao
School of Physics , Peking UniversityJan.10th, 2006
![Page 2: BES Ⅲ Detector Description and Event Display Zhengyun YOU, Yajun Mao School of Physics, Peking University Jan.10th, 2006](https://reader034.vdocuments.site/reader034/viewer/2022051401/56649ebc5503460f94bc5709/html5/thumbnails/2.jpg)
Outline
What is XML;
BESⅢ Detector Description based on XML(GDML);
What is Detector Description;
Why we need Event Display;
BESⅢ Event Display Software -- BesVis;
Highlights in BesVis;
Part Ⅰ
Part Ⅱ
![Page 3: BES Ⅲ Detector Description and Event Display Zhengyun YOU, Yajun Mao School of Physics, Peking University Jan.10th, 2006](https://reader034.vdocuments.site/reader034/viewer/2022051401/56649ebc5503460f94bc5709/html5/thumbnails/3.jpg)
Part Ⅰ
Detector Description
![Page 4: BES Ⅲ Detector Description and Event Display Zhengyun YOU, Yajun Mao School of Physics, Peking University Jan.10th, 2006](https://reader034.vdocuments.site/reader034/viewer/2022051401/56649ebc5503460f94bc5709/html5/thumbnails/4.jpg)
Detector Description in BESIII Offline Software
GEANT4 GAUDI ROOT
BOOST BOSS
Detector related informationgeometry, material, structure…
Eve
nt
Gen
erat
or
Det
ecto
rS
imu
lati
on
Rec
onst
ruct
ion
Ph
ysic
s A
nal
ysis
Ph
ysic
s A
nal
ysis
Eve
nt
Dis
pla
y
![Page 5: BES Ⅲ Detector Description and Event Display Zhengyun YOU, Yajun Mao School of Physics, Peking University Jan.10th, 2006](https://reader034.vdocuments.site/reader034/viewer/2022051401/56649ebc5503460f94bc5709/html5/thumbnails/5.jpg)
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?
![Page 6: BES Ⅲ Detector Description and Event Display Zhengyun YOU, Yajun Mao School of Physics, Peking University Jan.10th, 2006](https://reader034.vdocuments.site/reader034/viewer/2022051401/56649ebc5503460f94bc5709/html5/thumbnails/6.jpg)
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>
![Page 7: BES Ⅲ Detector Description and Event Display Zhengyun YOU, Yajun Mao School of Physics, Peking University Jan.10th, 2006](https://reader034.vdocuments.site/reader034/viewer/2022051401/56649ebc5503460f94bc5709/html5/thumbnails/7.jpg)
BESⅢ Detector
Mdc
Tof
Emc
Muc
OthersMagnet, Beam Pipe...
![Page 8: BES Ⅲ Detector Description and Event Display Zhengyun YOU, Yajun Mao School of Physics, Peking University Jan.10th, 2006](https://reader034.vdocuments.site/reader034/viewer/2022051401/56649ebc5503460f94bc5709/html5/thumbnails/8.jpg)
BESⅢ Sub-detectors by XML
Mdc (18,324 Nodes)
Muc (16,071 Nodes)Emc (12,806 Nodes)
Tof (643 Nodes)
![Page 9: BES Ⅲ Detector Description and Event Display Zhengyun YOU, Yajun Mao School of Physics, Peking University Jan.10th, 2006](https://reader034.vdocuments.site/reader034/viewer/2022051401/56649ebc5503460f94bc5709/html5/thumbnails/9.jpg)
BES Detector Description based on GDMLⅢ
Geometry, Materials, Alignment…
Classes for Simulation
GDML description
Classesfor Reconstruction
Classesfor Event Display
RO
OT S
chem
aROOT Schema
GDML writer
GEANT4 Schema
GDML (Geometry Description Markup Language) is a kind of XML, developed by GEANT4 group.
We expand its GEANT4 Schema and developed a new ROOT Schema for BES applications.Ⅲ
Automatically
![Page 10: BES Ⅲ Detector Description and Event Display Zhengyun YOU, Yajun Mao School of Physics, Peking University Jan.10th, 2006](https://reader034.vdocuments.site/reader034/viewer/2022051401/56649ebc5503460f94bc5709/html5/thumbnails/10.jpg)
XML document
Advantage of Using XML
GDML description
Simulation
Reconstruction
Event Display
1. Single source for all applications
3. Data exchange over platforms
2. Auto distribution
![Page 11: BES Ⅲ Detector Description and Event Display Zhengyun YOU, Yajun Mao School of Physics, Peking University Jan.10th, 2006](https://reader034.vdocuments.site/reader034/viewer/2022051401/56649ebc5503460f94bc5709/html5/thumbnails/11.jpg)
Part SummaryⅠ
Next stage will focus on Reconstruction in other sub-detectors and alignment;
XML Detector Description has been well used in simulation, event display of all sub-detectors and Muc reconstruction;
![Page 12: BES Ⅲ Detector Description and Event Display Zhengyun YOU, Yajun Mao School of Physics, Peking University Jan.10th, 2006](https://reader034.vdocuments.site/reader034/viewer/2022051401/56649ebc5503460f94bc5709/html5/thumbnails/12.jpg)
Part Ⅱ
Event Display
![Page 13: BES Ⅲ Detector Description and Event Display Zhengyun YOU, Yajun Mao School of Physics, Peking University Jan.10th, 2006](https://reader034.vdocuments.site/reader034/viewer/2022051401/56649ebc5503460f94bc5709/html5/thumbnails/13.jpg)
Visual check of sub-detectors
Visual check of hits, tracks
Improve recon. eff., ghost, mis-ID
Propaganda
Visual check of hits-track association
Why we need Event Display
![Page 14: BES Ⅲ Detector Description and Event Display Zhengyun YOU, Yajun Mao School of Physics, Peking University Jan.10th, 2006](https://reader034.vdocuments.site/reader034/viewer/2022051401/56649ebc5503460f94bc5709/html5/thumbnails/14.jpg)
Object Oriented, C++, based on ROOT and GDML, independent of BOSS;
Start from Oct, 2005;
First version released;
Developed by Peking University;
BES Event Display Software -- BesVisⅢ
![Page 15: BES Ⅲ Detector Description and Event Display Zhengyun YOU, Yajun Mao School of Physics, Peking University Jan.10th, 2006](https://reader034.vdocuments.site/reader034/viewer/2022051401/56649ebc5503460f94bc5709/html5/thumbnails/15.jpg)
BesVis – Friendly User Interface
![Page 16: BES Ⅲ Detector Description and Event Display Zhengyun YOU, Yajun Mao School of Physics, Peking University Jan.10th, 2006](https://reader034.vdocuments.site/reader034/viewer/2022051401/56649ebc5503460f94bc5709/html5/thumbnails/16.jpg)
BesVis – Display Mode
XY + ZR
XY
ZR
3D
All
![Page 17: BES Ⅲ Detector Description and Event Display Zhengyun YOU, Yajun Mao School of Physics, Peking University Jan.10th, 2006](https://reader034.vdocuments.site/reader034/viewer/2022051401/56649ebc5503460f94bc5709/html5/thumbnails/17.jpg)
BesVis – Details Control
![Page 18: BES Ⅲ Detector Description and Event Display Zhengyun YOU, Yajun Mao School of Physics, Peking University Jan.10th, 2006](https://reader034.vdocuments.site/reader034/viewer/2022051401/56649ebc5503460f94bc5709/html5/thumbnails/18.jpg)
BesVis – OpenGL and X3D
OpenGL X3D
![Page 19: BES Ⅲ Detector Description and Event Display Zhengyun YOU, Yajun Mao School of Physics, Peking University Jan.10th, 2006](https://reader034.vdocuments.site/reader034/viewer/2022051401/56649ebc5503460f94bc5709/html5/thumbnails/19.jpg)
BesVis – Lots of Functions
Event
Detector View Control
Hot KeysUser favorite style
Dst
![Page 20: BES Ⅲ Detector Description and Event Display Zhengyun YOU, Yajun Mao School of Physics, Peking University Jan.10th, 2006](https://reader034.vdocuments.site/reader034/viewer/2022051401/56649ebc5503460f94bc5709/html5/thumbnails/20.jpg)
BesVis – Highlights ( )Ⅰ
XML Detector Description : from XML : consistent; from ROOT : fast;
A new BESⅢ Event Display software, based on investigation of many other experiments :ZEUS, CDF, PHENIX, ATLAS(Fast), Babar, STAR, CMS, LHCb, CLEO, BESII …
Newly developed 2D geometry system :
+ =
New nice style :
![Page 21: BES Ⅲ Detector Description and Event Display Zhengyun YOU, Yajun Mao School of Physics, Peking University Jan.10th, 2006](https://reader034.vdocuments.site/reader034/viewer/2022051401/56649ebc5503460f94bc5709/html5/thumbnails/21.jpg)
BesVis – Highlights ( ) -- InteractiveⅡ
![Page 22: BES Ⅲ Detector Description and Event Display Zhengyun YOU, Yajun Mao School of Physics, Peking University Jan.10th, 2006](https://reader034.vdocuments.site/reader034/viewer/2022051401/56649ebc5503460f94bc5709/html5/thumbnails/22.jpg)
BesVis – Highlights ( ) -- AnimationⅢ
J/Ψ-> μ+μ-
![Page 23: BES Ⅲ Detector Description and Event Display Zhengyun YOU, Yajun Mao School of Physics, Peking University Jan.10th, 2006](https://reader034.vdocuments.site/reader034/viewer/2022051401/56649ebc5503460f94bc5709/html5/thumbnails/23.jpg)
Part SummaryⅡ
New functions to be added : Display of MC truth; Event selection and save; ……
Event Display Software has basic functions and could be used;
![Page 24: BES Ⅲ Detector Description and Event Display Zhengyun YOU, Yajun Mao School of Physics, Peking University Jan.10th, 2006](https://reader034.vdocuments.site/reader034/viewer/2022051401/56649ebc5503460f94bc5709/html5/thumbnails/24.jpg)
Thank you!
![Page 25: BES Ⅲ Detector Description and Event Display Zhengyun YOU, Yajun Mao School of Physics, Peking University Jan.10th, 2006](https://reader034.vdocuments.site/reader034/viewer/2022051401/56649ebc5503460f94bc5709/html5/thumbnails/25.jpg)
BESⅢ Sub-detectors by XML
Mdc (18,324 Nodes)
Muc (16,071 Nodes)Emc (12,806 Nodes)
Tof (643 Nodes)
![Page 26: BES Ⅲ Detector Description and Event Display Zhengyun YOU, Yajun Mao School of Physics, Peking University Jan.10th, 2006](https://reader034.vdocuments.site/reader034/viewer/2022051401/56649ebc5503460f94bc5709/html5/thumbnails/26.jpg)
BesVis – Highlights ( ) -- AnimationⅢ
J/Ψ-> μ+μ-