]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/TRD/AliHLTTRDTrackerV1Component.h
Removing man in the middle classes. They will be implemnted
[u/mrichter/AliRoot.git] / HLT / TRD / AliHLTTRDTrackerV1Component.h
1 //-*- Mode: C++ -*-
2 // $Id$
3 #ifndef ALIHLTTRDTRACKERV1COMPONENT_H
4 #define ALIHLTTRDTRACKERV1COMPONENT_H
5 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
6  * See cxx source for full Copyright notice                               */
7
8 /** @file   AliHLTTRDTrackerV1Component.h
9     @author 
10     @date   
11     @brief  Declaration of a TRDTracker component. */
12
13 #include "AliHLTProcessor.h"
14
15 class TFile;
16
17 class TGeoManager;
18 class AliCDBManager;
19 class AliMagF;
20 class AliTRDtrackerV1;
21 class AliTRDrecoParam;
22 class AliTRDReconstructor;
23 class AliESDEvent;
24 class TClonesArray;
25
26 /**
27  * @class AliHLTTRDTrackerV1Component
28  * @brief A TRDTrackerV1 HLT processing component. 
29  *
30  * Uses the second generation TRD tracker AliTRDtrackerV1
31  */
32
33 class AliHLTTRDTrackerV1Component : public AliHLTProcessor
34 {
35 public:
36   AliHLTTRDTrackerV1Component();
37   virtual ~AliHLTTRDTrackerV1Component();
38
39   // Public functions to implement AliHLTComponent's interface.
40   // These functions are required for the registration process
41
42   const char* GetComponentID();
43   void GetInputDataTypes( vector<AliHLTComponentDataType>& list);
44   AliHLTComponentDataType GetOutputDataType();
45   int GetOutputDataTypes(AliHLTComponentDataTypeList& tgtList);
46   virtual void GetOutputDataSize( unsigned long& constBase, double& inputMultiplier );
47   AliHLTComponent* Spawn();
48         
49 protected:
50   // Protected functions to implement AliHLTComponent's interface.
51   // These functions provide initialization as well as the actual processing
52   // capabilities of the component. 
53
54   int DoInit( int argc, const char** argv );
55   int DoDeinit();
56   int DoEvent( const AliHLTComponentEventData& evtData, 
57                const AliHLTComponentBlockData* blocks, 
58                AliHLTComponent_TriggerData& /*trigData*/, 
59                AliHLTUInt8_t* outputPtr, 
60                AliHLTUInt32_t& size, 
61                vector<AliHLTComponent_BlockData>& outputBlocks );
62   int Reconfigure(const char* cdbEntry, const char* chainId);
63   int ReadPreprocessorValues(const char* modules);
64
65   using AliHLTProcessor::DoEvent;
66   
67   int Configure(const char* arguments);
68   int SetParams();
69         
70 protected:
71   /** copy constructor prohibited */
72   AliHLTTRDTrackerV1Component(const AliHLTTRDTrackerV1Component&);
73   /** assignment operator prohibited */
74   AliHLTTRDTrackerV1Component& operator=(const AliHLTTRDTrackerV1Component&);
75
76   // The size of the output data produced, as a percentage of the input data's size.
77   // Can be greater than 100 (%)
78   unsigned fOutputPercentage; // Output volume in percentage of the input
79         
80   AliTRDtrackerV1 *fTracker;//! Offline-pure/HLT tracker V1
81   AliTRDrecoParam *fRecoParam; //! Offline reco params
82   AliTRDReconstructor * fReconstructor;
83   AliESDEvent*     fESD;
84
85   TClonesArray* fClusterArray;
86
87   Int_t fRecoParamType;       // default will be the low flux
88   Int_t fNtimeBins;           // number of time bins for the tracker to use
89   Int_t fPIDmethod;           // 0=LikelyHood(LH) 1=NeuronalNetwork(NN) 2=TruncatedMean(TM)
90   TString fgeometryFileName;
91   Bool_t fHLTflag;            // use HLT flag in reconstructor
92   Bool_t fOutputV1Tracks;     // output TRD tracks, needed for calibration and ESDfriends
93   Bool_t fHighLevelOutput;    // do we what to have high level output (only for debuging)
94   Bool_t fEmulateHLTTracks;   // for debugging data containers
95   Bool_t fImproveTracklets;   // improve tracklets?
96
97   ClassDef(AliHLTTRDTrackerV1Component, 4)
98
99 };
100 #endif