Download - Particle Properties in XML
Particle Properties in XML
Universität Kaiserslautern, GermanyDepartment of [email protected] Summer Student@EP/ALC, IP/API
Patrick Hellwig
Particle Properties in XML
XML technologyparticles and propertiesdata modeling Conclusion Part 1Java implementationJAS – Java Analysis StudioConclusion Part 2
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>
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
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
<FamilyStructure name=".s."><FamilyStructure name=".s.">
<FamilyStructure name=".s.">
...</FamilyStructure><Particle name=".s."/>....
</FamilyStructure>....<FamilyStructure name=".s.">
...</FamilyStructure>...
</FamilyStructure>
XML-file: Family entry
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
<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
Java: XML Loading Procedure
XML-file
SAX2
found Data etc …
YaPPI – API
found Decayfound Particle
datastructure
Class Structure
1
*
1
1
1
*
*
*
1*
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
Demonstration: HTML servlet
Demonstration HTML-Servlet
Demonstration TeXServlet
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.
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
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
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