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
Input/output
Tools
Messenger
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:
bhpe3/examples/
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):
./test_suite
-- Main.pnovella - 19 Apr 2010