3 #ifndef ALIHLTTPCOFFLINETRACKERCALIBCOMPONENT_H
4 #define ALIHLTTPCOFFLINETRACKERCALIBCOMPONENT_H
6 //* This file is property of and copyright by the ALICE HLT Project *
7 //* ALICE Experiment at CERN, All rights reserved. *
8 //* See cxx source for full Copyright notice *
10 /** @file AliHLTTPCOfflineTrackerCalibComponent.h
11 @author Jacek Otwinowski & Matthias Richter
13 @brief Wrapper component to the TPC offline tracker (ONLY CALIBRATION)
16 #include "AliHLTProcessor.h"
19 * @class AliHLTTPCOfflineTrackerCalibComponent
20 * Wrapper component to a TPC offline tracker for calibration
22 * The component interfaces the AliTPCtrackerMI of the TPC offline code
23 * to the online HLT (ONLY FOR CALIBRATION). The component expects a TClonesArray containing the
24 * cluster information. The output are TPC seed in TObjArray.
26 * <h2>General properties:</h2>
28 * Component ID: \b TPCOfflineTrackerCalib <br>
29 * Library: \b libAliHLTTPC.so <br>
30 * Input Data Types: @ref kAliHLTDataTypeAliTObjArray|kAliHLTDataOriginTPC <br>
31 * Output Data Types: @ref kAliHLTDataTypeTObjArray|kAliHLTDataOriginTPC <br>
33 * <h2>Mandatory arguments:</h2>
34 * <!-- NOTE: ignore the \li. <i> and </i>: it's just doxygen formatting -->
36 * <h2>Optional arguments:</h2>
37 * <!-- NOTE: ignore the \li. <i> and </i>: it's just doxygen formatting -->
39 * <h2>Configuration:</h2>
40 * <!-- NOTE: ignore the \li. <i> and </i>: it's just doxygen formatting -->
42 * <h2>Default CDB entries:</h2>
43 * - loads magnetic field value from <tt>HLT/ConfigHLT/SolenoidBz</tt>.
45 * <h2>Performance:</h2>
48 * <h2>Memory consumption:</h2>
51 * <h2>Output size:</h2>
54 * @ingroup alihlt_tpc_components
58 class AliTPCtrackerMI;
61 class AliHLTTPCOfflineTrackerCalibComponent : public AliHLTProcessor {
63 AliHLTTPCOfflineTrackerCalibComponent();
64 virtual ~AliHLTTPCOfflineTrackerCalibComponent();
66 // AliHLTComponent interface functions
67 const char* GetComponentID();
68 void GetInputDataTypes( vector<AliHLTComponentDataType>& list);
69 AliHLTComponentDataType GetOutputDataType();
70 void GetOutputDataSize( unsigned long& constBase, double& inputMultiplier );
72 // Spawn function, return new class instance
73 AliHLTComponent* Spawn();
76 // AliHLTComponent interface functions
77 int DoInit( int argc, const char** argv );
79 int DoEvent( const AliHLTComponentEventData& evtData, AliHLTComponentTriggerData& trigData);
80 int Reconfigure(const char* cdbEntry, const char* chainId);
82 using AliHLTProcessor::DoEvent;
85 /** copy constructor prohibited */
86 AliHLTTPCOfflineTrackerCalibComponent(const AliHLTTPCOfflineTrackerCalibComponent&);
87 /** assignment operator prohibited */
88 AliHLTTPCOfflineTrackerCalibComponent& operator=(const AliHLTTPCOfflineTrackerCalibComponent&);
90 string fGeometryFileName; //! Geometry file with full path
91 AliTPCParam *fTPCGeomParam; //! TPC geometry params
93 AliTPCtrackerMI *fTracker; //! TPC tracker
94 AliESDEvent *fESD; //! AliESDEvent needed by TPC tracker
97 * Configure the component.
98 * Parse a string for the configuration arguments and set the component
101 int Configure(const char* arguments);
103 ClassDef(AliHLTTPCOfflineTrackerCalibComponent, 0)