r2 - 20 Apr 2010 - 08:51:48 - Main.pnovellaYou are here: TWiki >  NEXT Web  >  NextSoftware > SoftwareBHEP > BHEPUserGuide

BHEP User Guide

This guide assumes you have already a working installation of BHEP.

Event Data Model

A data model in software engineering is an abstract model that describes how data are represented and accessed. Data models formally define data elements and relationships among data elements for a domain of interest.

Data Model hierarchy

Creating events




Parameter store

Parameter reader

Running the examples

BHEP comes with a full set of examples showing how to use the Event Data Model and related tools. Examples are located at:


and are listed below:

  • particle_info: shows how to create and deal with particles and hits
  • event_info: shows how to create events and connect particles and hits
  • run_info: shows how to set and retrieve run and dst (files) properties
  • root_io: shows how to serialize data and read them back from files
  • bsvc: show how to use the BHEP service, a singleton with basic instances
  • messages: shows how to use the log class
  • stores: shows how to store parameters according to their type
  • param_reader: shows how to set parameters from an ASCII file

To compile them, just type:

make examples

To run them all (errors, if any, will be reported):


-- Main.pnovella - 19 Apr 2010

Edit | WYSIWYG | Attach | PDF | Raw View | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback