You can integrate WIRED into your application in two ways:
- Analysis programs written in Java or
its related technology can directly use the WIRED class library.
- Other programs can interface to WIRED via XML.
- The easiest way to get started with WIRED (for us) was via XML.
- XML is the W3 Consortium's standard for describing data (not only text) that has to be
sent over the net.
- XML is a good language for describing data that has a tree structure, such as events and
detector geometry.
- It is ASCII and can be edited with any editor on any platform.
- By using XML to describe data and the detector geometry, WIRED can be made independent
of a particular experiment's format.
- The DTD (document type definition, or grammar) of the XML language to describe LHCb
events (lhcbevent.dtd, lhcb_r0_e0.xml)
, and detector geometry (lhcbgeometry.dtd, lhcb.xml).
- Events are made up of vertices (with id and spatial coordinates), inside which are
nested other vertices and tracks (with particle names and momenta).
- The geometry is made up of nested parts belonging to subdetectors. Each part is
eventually described by geometrical shapes (polylines, circles, arcs etc.).