]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/exa/conf-hlt-rawddl.C
* AliHLTRootFilePublisher
[u/mrichter/AliRoot.git] / HLT / exa / conf-hlt-rawddl.C
1 // $Id$
2 /**
3  * @file conf-hlt-rawddl.C
4  * @brief Configuration macro for sim-hlt-rawddl.C
5  *
6  * This is the configuration macro for the sim-hlt-rawddl.C example.
7  * It defines only one component in the chain, an AliRawReaderPublisher
8  * which publishes the raw data blocks according to the selection.
9  * The data blocks are published with data type {DDLRAW :SMPL}. The
10  * AliRawReaderPublisherComponent sets automatically the data specification
11  * from the equipment id. 
12  *
13  * @author Matthias.Richter@ift.uib.no
14  * @ingroup alihlt_tutorial
15  */
16 {
17   /////////////////////////////////////////////////////////////////////////
18   /////////////////////////////////////////////////////////////////////////
19   //
20   // the configuration
21   TString writerInput;
22   TString arg;
23
24   // publisher configuration
25   // see AliHLTRawReaderPublisherComponent for details
26   arg.Form("-detector ITSSDD -skipempty -datatype 'DDL_RAW ' 'SMPL'");
27   AliHLTConfiguration pubconf("publisher", "AliRawReaderPublisher", NULL , arg.Data());
28   if (!writerInput.IsNull()) writerInput+=" ";
29   writerInput+="publisher";
30
31   // currently, no more components in the chain, the original data is just
32   // forwarded to the HLTOUT
33   // ----------------------------------------
34   // add additional processing here if needed
35   // Note: you have to change the name of the chain to run from 'publisher'
36   // to the last component in your list
37 }