/[PAMELA software]/yoda/event/arrDump/Makefile.am
ViewVC logotype

Annotation of /yoda/event/arrDump/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6.0 - (hide annotations) (download)
Tue Feb 7 17:11:08 2006 UTC (18 years, 9 months ago) by kusanagi
Branch: MAIN
CVS Tags: YODA6_0/00
Changes since 5.0: +0 -0 lines
Several new features in this revision:
a) all the packets are conform to the Mass Memory Format specifications (http://people.roma2.infn.it/~cpu/Mass_Memory_Format.html)
b) unpacking either using the old files structure OR the new one file unpacking.
c) parametrized root files compression factor
d) deleting of the following packet: TofTest, TrkTest, TrkEvent.
e) the Tracker routines now work without the use of temp files.

The point a) allow Yoda to unpack in the root file all the packets generated by the CPU. According to the MassMemoryFormat; that is three possible data are available:

1) almost explicit structure of the packet (like for Log, Tracker, Mcmd, etc....);
2) dummy data collection structure (InitHeader, InitTrailer, CalibHeader, CalibTrailer);
3) just the data of the packet (almost all Alarm and Init procedures). The class regarding this packets have only one parameters, a TArrayC class, which contain the data-block included in the packet (tat is the data below the packet Header).

The point b) has been implemented as a consequence of an agreement about a more compact structure of the unpacked data. Up to now the structure of each unpacked data consisted of a folder, named after the packet type, and three files: xxx.Header.root, xxx.NamePacket.root, xxx.Registry.root.
Starting from this release YODA, by default will unpack the data in a unique root file. The structure of this file will consist of:
- several TTree(s) named after the packet type;
- into each TTree are foreseen three TBranche(s):
    - 'Header'  (the old xxx.Header.root file)
    - 'NameOfThePacket' (the old xxx.Event.root file or the xxx.Event.DETECTOR.root)
    - 'Registry' (the old xxx.Registry.root file)

Anyway is still possible, but deprecated, to unpack using the old structure, passing to the "yoda" command the optional parameter "-multifile"

The point c) has been implemented because is well know that writing time in a TTree is as much fast as much lower is the compression factor for the root file; anyway for a PAMELA dat file, a compression equal to 0 will generate a root file which will be more than two times the original size. To modify the compression parameter just add the optional parameter "-c [0-9]" to the yoda command line.

1 kusanagi 1.1 AUTOMAKE_OPTIONS = foreign no-dependencies no-installinfo
2     INCLUDES = -I@top_srcdir@ @ROOT_INCLUDES@
3 kusanagi 1.2 LDFLAGS = @ROOT_LDFLAGS@
4 kusanagi 1.1
5 kusanagi 2.1 YODA_HEADER_FILES = ArrDumpEvent.h ArrDumpRecord.h
6     yodaincdir = $(includedir)/yoda/event/arrDump
7     yodainc_HEADERS = ${YODA_HEADER_FILES}
8 kusanagi 1.1
9 kusanagi 2.1 YODA_SOURCES = ArrDumpEvent.cpp ArrDumpRecord.cpp
10 kusanagi 1.1
11 kusanagi 2.1 BUILT_SOURCES = ArrDumpDict.cpp ArrDumpDict.h
12 kusanagi 1.1
13 kusanagi 2.1 noinst_LTLIBRARIES = libarrdumpevent.la
14 kusanagi 1.1
15 kusanagi 2.1 libarrdumpevent_la_SOURCES = ${YODA_HEADER_FILES} \
16     ${YODA_SOURCES} \
17     ${BUILT_SOURCES} \
18     LinkDef.h
19 kusanagi 1.1
20 kusanagi 2.1 ArrDumpDict.cpp: ${YODA_HEADER_FILES} LinkDef.h
21     @ROOTCINT@ -f $@ -c ${INCLUDES} $^
22 kusanagi 1.1

  ViewVC Help
Powered by ViewVC 1.1.23