Skip to main content

methods for reading and writing GlueX simulated event data

Project description

hddm_s - i/o library for reading and writing simulated events from the GlueX detector

The hddm_s module is a python wrapper around the c++ library that implements reading and writing of simulated events from the GlueX detector, based on the HDDM event i/o framework. Every hddm_s file consists of a plain-text header describing the structure of the event data contained in the file in xml format known as a hddm template. After the header follows compressed binary data describing the sequence of simulated events contained in the file. All files with valid hddm_s events share a compatible template indicated by the class="s" attribute in the first line of the file header. All such files should be readable by this module if they are compliant with the HDDM standard. For more details on the standard, see https://github.com/rjones30/HDDM.

For details on the hddm_s API, install hddm_s and type "pydoc hddm_s". Here is a quickstart example of an analysis tool that reads from hddm_s input files.

import hddm_s import pyxrootd

for rec in hddm_s.istream("

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hddm_s-1.0.36.tar.gz (6.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page