BES Ⅲ Detector Description and Event Display Zhengyun YOU, Yajun Mao School of Physics, Peking...

26
BES Detector Description and Event Display Zhengyun YOU, Yajun Mao School of Physics , Peking University Jan.10th, 2006

Transcript of BES Ⅲ Detector Description and Event Display Zhengyun YOU, Yajun Mao School of Physics, Peking...

Page 1: BES Ⅲ Detector Description and Event Display Zhengyun YOU, Yajun Mao School of Physics, Peking University Jan.10th, 2006.

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.

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.

Part Ⅰ

Detector Description

Page 4: BES Ⅲ Detector Description and Event Display Zhengyun YOU, Yajun Mao School of Physics, Peking University Jan.10th, 2006.

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.

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.

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.

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.

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.

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.

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.

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.

Part Ⅱ

Event Display

Page 13: BES Ⅲ Detector Description and Event Display Zhengyun YOU, Yajun Mao School of Physics, Peking University Jan.10th, 2006.

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.

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.

BesVis – Friendly User Interface

Page 16: BES Ⅲ Detector Description and Event Display Zhengyun YOU, Yajun Mao School of Physics, Peking University Jan.10th, 2006.

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.

BesVis – Details Control

Page 18: BES Ⅲ Detector Description and Event Display Zhengyun YOU, Yajun Mao School of Physics, Peking University Jan.10th, 2006.

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.

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.

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.

BesVis – Highlights ( ) -- InteractiveⅡ

Page 22: BES Ⅲ Detector Description and Event Display Zhengyun YOU, Yajun Mao School of Physics, Peking University Jan.10th, 2006.

BesVis – Highlights ( ) -- AnimationⅢ

J/Ψ-> μ+μ-

Page 23: BES Ⅲ Detector Description and Event Display Zhengyun YOU, Yajun Mao School of Physics, Peking University Jan.10th, 2006.

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.

Thank you!

Page 25: BES Ⅲ Detector Description and Event Display Zhengyun YOU, Yajun Mao School of Physics, Peking University Jan.10th, 2006.

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.

BesVis – Highlights ( ) -- AnimationⅢ

J/Ψ-> μ+μ-