]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/TPCLib/AliHLTTPCAgent.cxx
- all digit raw data structures added to AliHLTTPCDigitData.h
[u/mrichter/AliRoot.git] / HLT / TPCLib / AliHLTTPCAgent.cxx
1 // @(#) $Id$
2
3 /**************************************************************************
4  * This file is property of and copyright by the ALICE HLT Project        * 
5  * ALICE Experiment at CERN, All rights reserved.                         *
6  *                                                                        *
7  * Primary Authors: Matthias Richter <Matthias.Richter@ift.uib.no>        *
8  *                  for The ALICE HLT Project.                            *
9  *                                                                        *
10  * Permission to use, copy, modify and distribute this software and its   *
11  * documentation strictly for non-commercial purposes is hereby granted   *
12  * without fee, provided that the above copyright notice appears in all   *
13  * copies and that both the copyright notice and this permission notice   *
14  * appear in the supporting documentation. The authors make no claims     *
15  * about the suitability of this software for any purpose. It is          *
16  * provided "as is" without express or implied warranty.                  *
17  **************************************************************************/
18
19 /** @file   AliHLTTPCAgent.cxx
20     @author Matthias Richter
21     @date   
22     @brief  Agent of the libAliHLTTPC library
23 */
24
25 #include "AliHLTTPCAgent.h"
26 #include "AliHLTConfiguration.h"
27
28 /** global instance for agent registration */
29 AliHLTTPCAgent gAliHLTTPCAgent;
30
31 /** ROOT macro for the implementation of ROOT specific class methods */
32 ClassImp(AliHLTTPCAgent)
33
34 AliHLTTPCAgent::AliHLTTPCAgent()
35 {
36   // see header file for class documentation
37   // or
38   // refer to README to build package
39   // or
40   // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
41 }
42
43 AliHLTTPCAgent::~AliHLTTPCAgent()
44 {
45   // see header file for class documentation
46 }
47
48 int AliHLTTPCAgent::CreateConfigurations(AliHLTConfigurationHandler* handler,
49                                           AliRunLoader* runloader) const
50 {
51   // see header file for class documentation
52   if (handler) {
53     // digit publisher configuration
54     TString arg("-slice 0 -partition 0");
55     HLTDebug(arg.Data());
56     handler->CreateConfiguration("digit-publisher"  , "TPCDigitPublisher", NULL , arg.Data());
57
58     // the writer configuration
59     handler->CreateConfiguration("sink1", "FileWriter"   , "digit-publisher" , NULL);
60   }
61   return 0;
62 }
63
64 const char* AliHLTTPCAgent::GetLocalRecConfigurations(AliRunLoader* runloader) const
65 {
66   // see header file for class documentation
67   return NULL;
68   //return "sink1";
69 }
70
71 const char* AliHLTTPCAgent::GetRequiredComponentLibraries() const
72 {
73   // see header file for class documentation
74   return NULL;
75 }