Transcript
Page 1: Particle Properties in XML
Page 2: Particle Properties in XML

Particle Properties in XML

Universität Kaiserslautern, GermanyDepartment of [email protected] Summer Student@EP/ALC, IP/API

Patrick Hellwig

Page 3: Particle Properties in XML

Particle Properties in XML

XML technologyparticles and propertiesdata modeling Conclusion Part 1Java implementationJAS – Java Analysis StudioConclusion Part 2

Page 4: Particle Properties in XML

XML Technology http://www.w3.org

Multiple parts: Data-file (XML) Schema-file

(XSD/DTD) Style-file (XSL)

Elements Attributes

XML:<Particle Name="Proton">

<ID>2212</ID><Mass Unit="MeV">

938.272</Mass>

</Particle>

Page 5: Particle Properties in XML

Particles and Properties

Properties of Particles are needed for analysisStandard source of data: Particle Data Group (PDG) But no database ! Each software has its own database

Two areas: Particles

General Information (Mass, Width, etc.) Decay Modes

Family structure

Page 6: Particle Properties in XML

Data Model: Particle-Families

e, m u, tau n u

Leptons B osons

N

Delta

Lam bda

Sigm a

O m ega

...

Baryons

Light unflavore d

Strange

Charm ed

Botto m

Bottom , strang e

Bottom , charm e d

M esons

H adrons Q uarks

Particles

Page 7: Particle Properties in XML

<FamilyStructure name=".s."><FamilyStructure name=".s.">

<FamilyStructure name=".s.">

...</FamilyStructure><Particle name=".s."/>....

</FamilyStructure>....<FamilyStructure name=".s.">

...</FamilyStructure>...

</FamilyStructure>

XML-file: Family entry

Page 8: Particle Properties in XML

Data Model: Particle

N am e ID

U nit

Errors

M ass

U nit

Errors

W idth

U nit

Errors

C harge other in form ation

Particle

F ra c tio n

C o n fid e nce L e ve l

P a rt ic le 1

P a rtic le 2

D e ca yP a rtic le s

D ecay M ode 1

F ra c tio n

C o n fid e nce L e ve l

P a rt ic le 1

F a m ily

D e ca yP a rtic le s

D ecay M ode 2 ... etc. ...

D ecay-M odes

Page 9: Particle Properties in XML

<Particle name=".s." texname=".s.">name: ASCII-Name of the Particletexname: Name of the Particle in LaTeX2e form<Data ... /><Data ... /><Data ... /><Decay ... /><Comment>

… some remarks for the physicists …

</Comment></Particle>

} }}

As many as needed

XML-file: Particle Entry

Page 10: Particle Properties in XML

Java: XML Loading Procedure

XML-file

SAX2

found Data etc …

YaPPI – API

found Decayfound Particle

datastructure

Page 11: Particle Properties in XML

Class Structure

1

*

1

1

1

*

*

*

1*

Page 12: Particle Properties in XML

XML reader

APIXML files Data structure

XML writer

API-level

Converter

Converter

PDG MCfile

PS filedatabase

ConverterUI

converter-level

HTML servlet

HTMLoutput

URL

TeXservlet

LaTeXoutput

URL

output-level

User PRG(f.e.JAS)

APIoutput

user

Page 13: Particle Properties in XML

Demonstration: HTML servlet

Page 14: Particle Properties in XML

Demonstration HTML-Servlet

Page 15: Particle Properties in XML

Demonstration TeXServlet

Page 16: Particle Properties in XML

JAS – Java Analysis Studiohttp://jas.freehep.org

Analysis software for high energy physicsAccess to XML-database via Java Interface

ParticleProperties.setParticlePropertyProvider(new XMLParticlePropertyProvider(file));

ParticleType pp = ParticleProperties.get( Particle_ID_Number);

pp.getMass();

pp.getWidth(); etc.

Page 17: Particle Properties in XML

Conclusions

XML very open platform independent Ability to publish on the Web Easy accessible in many languages: Java, C++,

Could be: one PDG data source for manyBut: difficult to get data out of PDG-book

Page 18: Particle Properties in XML

Particle Data Group Database

A PDG Oracle database exists But: A Database for printing the book No average values (like Mass, Width,

etc.) without special Fortran calculation programs

http://pdg.lbl.gov: Postscript files generated by the database Possibility to analyze the Postscript

Page 19: Particle Properties in XML

Conclusions – Part 2

Status: Until today no reply from PDG, if we can get the actual databaseToDo: Documentation PDG database import, if possible PS import otherwise (Option: Frontend Editor for Particle

administration) WEB-Page with all information


Top Related