Files
geant4/examples/extended/E01
2016-06-08 15:09:25 +02:00
..
2016-06-08 15:09:25 +02:00
2016-06-08 15:09:25 +02:00
2016-06-08 15:09:25 +02:00
2016-06-01 15:25:35 +02:00
2016-06-08 15:09:25 +02:00
2016-06-08 15:09:25 +02:00
2016-06-08 15:09:25 +02:00

$Id: README,v 1.1 1999/01/07 16:05:17 gunter Exp $
-------------------------------------------------------------------

     =========================================================
     Geant4 - an Object-Oriented Toolkit for Simulation in HEP
     =========================================================

                            ExampleN07
                            ---------

This directory contains a GEANT4 example on how to create, fill,
print and save histograms in a OODBMS.

The main program "exampleN07.cc" is a standard G4 main (no initialization
of OODBMS or histos).

The run actions are overloaded:

- in BeginOfRunAction the federated data base and the data bases sessions
  are initialized and a transaction is opened;
  1d and 2d histograms are constructed;
  The name of the base name is "ExN07DB".
 
- in EndOfRunAction contents of the histograms are printed and
  the transaction is closed;

The stepping action is overloaded:

- in SteppingAction two histograms are accessed and filled.

The followings are the instruction to execute it for the case of HP-AFS.

0) Setting up the environment

  http://wwwinfo.cern.ch/asdoc/lhcpp/SetUpUserEnvironment.html

1) Compilation/linking

 % gmake

2) Execution

 % ../../../bin/HP-AFS/exampleN07 > exampleN07.newout
 % diff exampleN07.out exampleN07.newout

   Evgueni.Tcherniaev@cern.ch, 25.08.98