]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/READMEraw.txt
Add Config/HighVoltage directory and entry
[u/mrichter/AliRoot.git] / MUON / READMEraw.txt
CommitLineData
518eb852 1// $Id$
2
3/*!
4
91509ec6 5\page README_raw Raw data
518eb852 6
7\section raw_s1 How to read & decode raw data
8
162e0658 9The macros MUONRawStreamTracker.C and MUONRawStreamTrigger.C can
10be used to read & decode DDL files and root files.
ae11a428 11DATE files are no more supported.
2ce5e44e 12
ae11a428 13For tracker raw data, full output
518eb852 14<pre>
2ce5e44e 15.includepath $ALICE_ROOT/STEER
16.includepath $ALICE_ROOT/MUON
17.includepath $ALICE_ROOT/RAW
18.L $ALICE_ROOT/MUON/MUONRawStreamTracker.C+
ae11a428 19MUONRawStreamTrackerExpert(rawFileName, maxEvent, firstDDL, lastDDL)
518eb852 20</pre>
2ce5e44e 21
ae11a428 22
23For tracker raw data, just digit output
24<pre>
25.includepath $ALICE_ROOT/STEER
26.includepath $ALICE_ROOT/MUON
27.includepath $ALICE_ROOT/RAW
28.L $ALICE_ROOT/MUON/MUONRawStreamTracker.C+
29MUONRawStreamTrackerSimple(rawFileName, maxEvent, firstDDL, lastDDL)
30</pre>
31
32For trigger raw data, full output
518eb852 33<pre>
2ce5e44e 34.includepath $ALICE_ROOT/STEER
35.includepath $ALICE_ROOT/MUON
36.includepath $ALICE_ROOT/RAW
37.L $ALICE_ROOT/MUON/MUONRawStreamTrigger.C+
38MUONRawStreamTrigger(maxEvent, firstDDL, lastDDL, rawFileName)
518eb852 39</pre>
2ce5e44e 40
ae11a428 41For trigger raw data, local response output
42<pre>
43.includepath $ALICE_ROOT/STEER
44.includepath $ALICE_ROOT/MUON
45.includepath $ALICE_ROOT/RAW
46.L $ALICE_ROOT/MUON/MUONRawStreamTrigger.C+
47MUONRawStreamTriggerSimple(maxEvent, firstDDL, lastDDL, rawFileName)
48</pre>
49
50
2ce5e44e 51Default wise the macro read all DDL files from the current directory for 1000 events.
ae11a428 52For root file rawFileName must end with .root. For DDL files you have to specified the directory
2ce5e44e 53where the raw0...n subdirectories are located:
518eb852 54<pre>
ae11a428 55MUONRawStreamTracker(..)(maxEvent, firstDDL, lastDDL, "$YOUR_WORKING_DIRECTORY/"); //Do not forget the slash at the end!
518eb852 56</pre>
57
162e0658 58\section raw_s2 Timing of the raw data decoders
59
60The macro MUONTimeRawStreamTracker.C can used to check the timing (speed) performance
61of the existing offline decoder for the tracker DDLs (AliMUONRawStreamTracker) and also
62for the new high performance decoder (AliMUONRawStreamTrackerHP). It can be invoked
63as follows:
64
65<pre>
66 $ aliroot
67.L $ALICE_ROOT/MUON/MUONTimeRawStreamTracker.C+
68 MUONTimeRawStreamTracker(filename, maxEvent);
69</pre>
70
71where \em filename is the name of a file containing the raw data, or alternatively
72the directory containing rawX (X being an integer) paths with the raw DDL
73data. The \em maxEvent value is the maximum event to process (default set to
741000). Thus the macro will time the algorithm for all events in the range
75[0 .. maxEvent-1].
76
77
91509ec6 78This chapter is defined in the READMEraw.txt file.
79
518eb852 80*/
2ce5e44e 81