Tests of ADAMO
ADAMO version 3.3 is installed on Challenge L, d0cha.fnal.gov, in the
directory /develop/adamo/3.3.
Add /develop/adamo/3.3/bin to your path to have an access to mad, ti, and tip.
We will conduct several tests of the candidate packages to asses their
functionality, performance and other apsects relevant to D0. The primary
testers of ADAMO are: Adam Para and Scott Snyder. The same tests will be performed with other packages.
- Test 1 the detailed description.
Let there be 'events' consisting of a single structure, Object1. This data
structure has a form:
- aa, a float
- bb, an integer
- cc, a double precision
- dd, a float
- ee, an integer
- ff, a double precision
- gg, a float
- hh, an integer
- ii, a double precision
Given an ASCII file containing several 'events' write a suite of programs, and the necesary infrastructure, to perform the following steps:
- convert the input file to an ADAMO
native file (GAF)
- define a new data structure, Object2, being a pointer to a pair of
Objetc1 structures. Write a progam to read the events, make all
two-Object1 combinations and store new events in another data file.
- write a program to read the last file, print out the list of Object2
and Object1.aa members of the corresponding Object1's.
- Solution of the test 1 using ADAMO.
Problems encountered, and their
suggested solutions (if any)