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

Annotation of /yoda/event/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5.2 - (hide annotations) (download)
Sat Feb 4 12:37:43 2006 UTC (18 years, 9 months ago) by kusanagi
Branch: MAIN
Changes since 5.1: +4 -8 lines
Several new features in this release:
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 kusanagi 4.1 INCLUDES = -I@top_srcdir@ @ROOT_INCLUDES@ @LOG4CXX_INCLUDES@
3     LDFLAGS = @ROOT_LDFLAGS@ @LOG4CXX_LDFLAGS@
4 kusanagi 2.7 SUBDIRS = log mcmd tmtc physics arrDump tabDump varDump tsbt tsbb endrun
5 kusanagi 1.1
6 kusanagi 1.9 lib_LTLIBRARIES = libyoda.la
7 kusanagi 1.7
8 kusanagi 2.6 libyoda_la_SOURCES = \
9     NullAlgorithm.cpp \
10     PamelaRun.cpp PamelaRun.h \
11     RunInfo.cpp RunInfo.h \
12     EventDict.cpp EventDict.h \
13     SubPacket.cpp SubPacket.h \
14     PacketType.cpp PacketType.h \
15     SubDetector.cpp SubDetector.h \
16     DirectoryStructure.c DirectoryStructure.h \
17     Algorithm.cpp Algorithm.h \
18     AlgorithmInfo.cpp AlgorithmInfo.h \
19     EventHeader.cpp EventHeader.h \
20     PscuHeader.cpp PscuHeader.h \
21     EventCounter.cpp EventCounter.h \
22     PscuEvent.cpp PscuEvent.h \
23     CalibCalPulse1Event.cpp CalibCalPulse1Event.h \
24     CalibCalPulse2Event.cpp CalibCalPulse2Event.h \
25     CalibTrk1Event.cpp CalibTrk1Event.h \
26     CalibTrk2Event.cpp CalibTrk2Event.h \
27     CalibTofEvent.cpp CalibTofEvent.h \
28     CalibS4Event.cpp CalibS4Event.h \
29     CalibCalPedEvent.cpp CalibCalPedEvent.h \
30     Calib1_Ac1Event.cpp Calib1_Ac1Event.h \
31     Calib1_Ac2Event.cpp Calib1_Ac2Event.h \
32     Calib2_Ac1Event.cpp Calib2_Ac1Event.h \
33     Calib2_Ac2Event.cpp Calib2_Ac2Event.h \
34     RunHeaderEvent.cpp RunHeaderEvent.h \
35     RunTrailerEvent.cpp RunTrailerEvent.h \
36     CalibHeaderEvent.cpp CalibHeaderEvent.h \
37     CalibTrailerEvent.cpp CalibTrailerEvent.h \
38     InitHeaderEvent.cpp InitHeaderEvent.h \
39     InitTrailerEvent.cpp InitTrailerEvent.h \
40     ForcedFECmdEvent.cpp ForcedFECmdEvent.h \
41     Ac1InitEvent.cpp Ac1InitEvent.h \
42     CalInitEvent.cpp CalInitEvent.h \
43     TrkInitEvent.cpp TrkInitEvent.h \
44     TofInitEvent.cpp TofInitEvent.h \
45     TrgInitEvent.cpp TrgInitEvent.h \
46     NdInitEvent.cpp NdInitEvent.h \
47     S4InitEvent.cpp S4InitEvent.h \
48     Ac2InitEvent.cpp Ac2InitEvent.h \
49     CalAlarmEvent.cpp CalAlarmEvent.h \
50     AcAlarmEvent.cpp AcAlarmEvent.h \
51     TrkAlarmEvent.cpp TrkAlarmEvent.h \
52     TrgAlarmEvent.cpp TrgAlarmEvent.h \
53     TofAlarmEvent.cpp TofAlarmEvent.h \
54     S4AlarmEvent.cpp S4AlarmEvent.h \
55 kusanagi 4.5 RegistryEvent.cpp RegistryEvent.h \
56 kusanagi 2.6 CRC.c CRC.h \
57 kusanagi 2.2 Exception.h LinkDef.h
58 kusanagi 1.1
59 kusanagi 2.6 libyoda_la_LIBADD = \
60     physics/tracker/libtrackerevent.la \
61     physics/S4/libs4event.la \
62 kusanagi 1.5 physics/anticounter/libanticounterevent.la \
63 kusanagi 1.1 physics/calorimeter/libcalorimeterevent.la \
64 kusanagi 1.8 physics/neutronDetector/libneutronevent.la \
65 kusanagi 2.6 physics/tof/libtofevent.la \
66     physics/trigger/libtriggerevent.la \
67     tmtc/libtmtcevent.la \
68     mcmd/libmcmdevent.la \
69     log/liblogevent.la \
70     arrDump/libarrdumpevent.la \
71     tabDump/libtabdumpevent.la \
72     varDump/libvardumpevent.la \
73 kusanagi 2.7 tsbt/libtsbtevent.la \
74     tsbb/libtsbbevent.la \
75     endrun/libendrunevent.la \
76 kusanagi 4.1 @LOG4CXX_LIBRARY@/liblog4cxx.la
77 kusanagi 1.1
78     BUILT_SOURCES = EventDict.cpp EventDict.h
79    
80 kusanagi 2.6 SUBPACKET_HEADER_FILES = \
81 kusanagi 5.2 PamelaRun.h RunInfo.h \
82 kusanagi 1.7 SubPacket.h PacketType.h SubDetector.h \
83     DirectoryStructure.h Algorithm.h AlgorithmInfo.h \
84     EventHeader.h PscuHeader.h EventCounter.h \
85 kusanagi 2.7 PscuEvent.h CalibCalPulse1Event.h \
86 kusanagi 4.2 CalibCalPulse2Event.h CalibTrk1Event.h CalibTrk2Event.h \
87 kusanagi 1.7 CalibTofEvent.h CalibS4Event.h CalibCalPedEvent.h \
88 kusanagi 2.5 Calib1_Ac1Event.h Calib1_Ac2Event.h Calib2_Ac1Event.h Calib2_Ac2Event.h \
89     RunHeaderEvent.h RunTrailerEvent.h \
90 kusanagi 1.7 CalibHeaderEvent.h CalibTrailerEvent.h InitHeaderEvent.h \
91 kusanagi 5.2 InitTrailerEvent.h \
92     ForcedFECmdEvent.h Ac1InitEvent.h \
93 kusanagi 1.9 CalInitEvent.h TrkInitEvent.h TofInitEvent.h \
94 kusanagi 2.4 TrgInitEvent.h NdInitEvent.h S4InitEvent.h \
95 kusanagi 2.5 Ac2InitEvent.h CalAlarmEvent.h AcAlarmEvent.h \
96 kusanagi 1.9 TrkAlarmEvent.h TrgAlarmEvent.h TofAlarmEvent.h \
97 kusanagi 4.5 S4AlarmEvent.h RegistryEvent.h \
98 kusanagi 2.3 Exception.h
99    
100     yodaincdir = $(includedir)/yoda/event
101     yodainc_HEADERS= ${SUBPACKET_HEADER_FILES}
102 kusanagi 1.7
103 kusanagi 1.1 DICT_HEADER_FILES = ${SUBPACKET_HEADER_FILES} \
104 kusanagi 5.2 CRC.h Algorithm.h AlgorithmInfo.h RunInfo.h LinkDef.h
105 kusanagi 1.1
106 kusanagi 2.3 EventDict.cpp: ${DICT_HEADER_FILES}
107 kusanagi 5.1 @ROOTCINT@ -f $@ -c ${INCLUDES} $^

  ViewVC Help
Powered by ViewVC 1.1.23