]>
Commit | Line | Data |
---|---|---|
32e0c022 | 1 | //-*- Mode: C++ -*- |
2 | ||
3 | // $Id$ | |
4 | ||
5 | //************************************************************************** | |
6 | //* This file is property of and copyright by the ALICE HLT Project * | |
7 | //* ALICE Experiment at CERN, All rights reserved. * | |
8 | //* * | |
9 | //* Primary Authors: Kalliopi Kanaki <Kalliopi.Kanaki@ift.uib.no> * | |
10 | //* for The ALICE HLT Project. * | |
11 | //* * | |
12 | //* Permission to use, copy, modify and distribute this software and its * | |
13 | //* documentation strictly for non-commercial purposes is hereby granted * | |
14 | //* without fee, provided that the above copyright notice appears in all * | |
15 | //* copies and that both the copyright notice and this permission notice * | |
16 | //* appear in the supporting documentation. The authors make no claims * | |
17 | //* about the suitability of this software for any purpose. It is * | |
18 | //* provided "as is" without express or implied warranty. * | |
19 | //************************************************************************** | |
20 | ||
21 | /** @file AliHLTTPCCalibrationAgent.cxx | |
22 | @author Kalliopi Kanaki | |
23 | @date | |
24 | @brief Agent of the libAliHLTTPCCalibration library | |
25 | */ | |
26 | ||
27 | #include "AliHLTTPCCalibrationAgent.h" | |
28 | ||
32e0c022 | 29 | #include "AliHLTTPCDefinitions.h" |
30 | #include "AliHLTOUT.h" | |
31 | #include "AliHLTOUTHandlerChain.h" | |
32 | #include "AliRunLoader.h" | |
33 | #include "AliCDBManager.h" | |
34 | #include "AliCDBEntry.h" | |
35 | #include "AliTPCParam.h" | |
36 | ||
37 | // component header file | |
38 | ||
68bcf39a | 39 | //#include "AliHLTTPCCalibCEComponent.h" |
40 | //#include "AliHLTTPCCalibPulserComponent.h" | |
41 | //#include "AliHLTTPCCalibPedestalComponent.h" | |
42 | //#include "AliHLTTPCCalibTracksComponent.h" | |
32e0c022 | 43 | |
44 | #include "AliHLTTPCCalibSeedMakerComponent.h" | |
45 | #include "AliHLTTPCCalibTimeComponent.h" | |
46 | #include "AliHLTTPCCalibTimeGainComponent.h" | |
47 | #include "AliHLTTPCCalibrationComponent.h" | |
48 | ||
49 | ||
50 | /** global instance for agent registration */ | |
51 | AliHLTTPCCalibrationAgent gAliHLTTPCCalibrationAgent; | |
52 | ||
53 | /** ROOT macro for the implementation of ROOT specific class methods */ | |
54 | ClassImp(AliHLTTPCCalibrationAgent) | |
55 | ||
56 | /* | |
57 | * --------------------------------------------------------------------------------- | |
58 | * Constructor / Destructor | |
59 | * --------------------------------------------------------------------------------- | |
60 | */ | |
61 | ||
62 | // ################################################################################# | |
63 | AliHLTTPCCalibrationAgent::AliHLTTPCCalibrationAgent() | |
64 | : | |
65 | AliHLTModuleAgent("TPCCalibration"), | |
66 | fRawDataHandler(NULL) { | |
67 | // see header file for class documentation | |
68 | // or | |
69 | // refer to README to build package | |
70 | // or | |
71 | // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt | |
72 | } | |
73 | ||
74 | // ################################################################################# | |
75 | AliHLTTPCCalibrationAgent::~AliHLTTPCCalibrationAgent() { | |
76 | // see header file for class documentation | |
77 | } | |
78 | ||
79 | /* | |
80 | * --------------------------------------------------------------------------------- | |
81 | * | |
82 | * --------------------------------------------------------------------------------- | |
83 | */ | |
84 | ||
85 | // ################################################################################# | |
86 | Int_t AliHLTTPCCalibrationAgent::CreateConfigurations(AliHLTConfigurationHandler* /*handler*/, AliRawReader* /*rawReader*/, AliRunLoader* /*runloader*/) const { | |
87 | // see header file for class documentation | |
88 | return 0; | |
89 | } | |
90 | ||
91 | // ################################################################################# | |
92 | const Char_t* AliHLTTPCCalibrationAgent::GetReconstructionChains(AliRawReader* /*rawReader*/, AliRunLoader* /*runloader*/) const { | |
93 | // see header file for class documentation | |
94 | ||
95 | return ""; | |
96 | } | |
97 | ||
98 | // ################################################################################# | |
99 | const Char_t* AliHLTTPCCalibrationAgent::GetRequiredComponentLibraries() const { | |
100 | // see header file for class documentation | |
101 | return ""; | |
102 | } | |
103 | ||
104 | // ################################################################################# | |
105 | Int_t AliHLTTPCCalibrationAgent::RegisterComponents(AliHLTComponentHandler* pHandler) const { | |
106 | // see header file for class documentation | |
107 | ||
108 | if (!pHandler) return -EINVAL; | |
109 | ||
68bcf39a | 110 | //pHandler->AddComponent(new AliHLTTPCCalibCEComponent); |
111 | //pHandler->AddComponent(new AliHLTTPCCalibPulserComponent); | |
112 | //pHandler->AddComponent(new AliHLTTPCCalibPedestalComponent); | |
113 | //pHandler->AddComponent(new AliHLTTPCCalibTracksComponent); | |
32e0c022 | 114 | pHandler->AddComponent(new AliHLTTPCCalibSeedMakerComponent); |
115 | pHandler->AddComponent(new AliHLTTPCCalibTimeComponent); | |
116 | pHandler->AddComponent(new AliHLTTPCCalibTimeGainComponent); | |
117 | pHandler->AddComponent(new AliHLTTPCCalibrationComponent); | |
32e0c022 | 118 | |
119 | return 0; | |
120 | } | |
121 | ||
122 | /* | |
123 | * --------------------------------------------------------------------------------- | |
124 | * | |
125 | * --------------------------------------------------------------------------------- | |
126 | */ | |
127 | ||
128 | // ################################################################################# | |
129 | AliHLTModulePreprocessor* AliHLTTPCCalibrationAgent::GetPreprocessor(){ | |
130 | // see header file for class documentation | |
131 | return NULL; | |
132 | } | |
133 | ||
134 | /* | |
135 | * --------------------------------------------------------------------------------- | |
136 | * | |
137 | * --------------------------------------------------------------------------------- | |
138 | */ | |
139 | ||
140 | // ################################################################################# | |
141 | Int_t AliHLTTPCCalibrationAgent::GetHandlerDescription(AliHLTComponentDataType /*dt*/, | |
142 | AliHLTUInt32_t /*spec*/, | |
143 | AliHLTOUTHandlerDesc& /*desc*/) const { | |
144 | // see header file for class documentation | |
145 | return 0; | |
146 | } | |
147 | ||
148 | // ################################################################################# | |
149 | AliHLTOUTHandler* AliHLTTPCCalibrationAgent::GetOutputHandler(AliHLTComponentDataType /*dt*/, AliHLTUInt32_t /*spec*/){ | |
150 | // see header file for class documentation | |
151 | return NULL; | |
152 | } | |
153 | ||
154 | // ################################################################################# | |
8bc4c842 | 155 | Int_t AliHLTTPCCalibrationAgent::DeleteOutputHandler(AliHLTOUTHandler* /*pInstance*/){ |
32e0c022 | 156 | // see header file for class documentation |
157 | return 0; | |
158 | } |