]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/global/AliHLTGlobalTrackMatcherComponent.h
- using AliVertexerTracks initialization provided by Andrea
[u/mrichter/AliRoot.git] / HLT / global / AliHLTGlobalTrackMatcherComponent.h
1 //* This file is property of and copyright by the ALICE HLT Project        * 
2 //* ALICE Experiment at CERN, All rights reserved.                         *
3 //* See cxx source for full Copyright notice                               *
4
5 /** @file   AliHLTGlobalTrackMatcherComponent.h
6     @author Sergey Gorbunov
7     @brief  Component for monitor V0 physics
8 */
9
10
11
12 #ifndef ALIHLTGLOBALTRACKMATCHERCOMPONENT_H
13 #define ALIHLTGLOBALTRACKMATCHERCOMPONENT_H
14
15
16 class AliHLTProcessor;
17 class AliHLTGlobalTrackMatcher;
18 class AliHLTCaloClusterReader;
19 class TObjArray;
20 /**
21  * @class AliHLTTPCV0HistoComponent
22  * Component for monitor V0 physics 
23  */
24 class AliHLTGlobalTrackMatcherComponent : public AliHLTProcessor
25 {
26 public:
27   /** default constructor */
28   AliHLTGlobalTrackMatcherComponent();
29   /** destructor */
30   virtual ~AliHLTGlobalTrackMatcherComponent();
31
32   // Public functions to implement AliHLTComponent's interface.
33   // These functions are required for the registration process
34
35   /** interface function, see AliHLTComponent for description */
36   const char* GetComponentID();
37   /** interface function, see AliHLTComponent for description */
38   void GetInputDataTypes(AliHLTComponentDataTypeList& list);
39   /** interface function, see AliHLTComponent for description */
40   AliHLTComponentDataType GetOutputDataType();
41   /** interface function, see AliHLTComponent for description */
42   virtual void GetOutputDataSize( unsigned long& constBase, double& inputMultiplier );
43   /** interface function, see AliHLTComponent for description */
44   AliHLTComponent* Spawn();
45
46 protected:
47
48   // Protected functions to implement AliHLTComponent's interface.
49   // These functions provide initialization as well as the actual processing
50   // capabilities of the component. 
51
52   /** interface function, see AliHLTComponent for description */
53   int DoInit( int argc, const char** argv );
54   /** interface function, see AliHLTComponent for description */
55   int DoDeinit();
56   /** interface function, see AliHLTComponent for description */
57   int DoEvent( const AliHLTComponentEventData& /*evtData*/, AliHLTComponentTriggerData& trigData );
58
59   //int Reconfigure(const char* cdbEntry, const char* chainId);
60
61   using AliHLTProcessor::DoEvent;
62   
63 private:
64   /** copy constructor prohibited */
65   AliHLTGlobalTrackMatcherComponent(const AliHLTGlobalTrackMatcherComponent&);
66   /** assignment operator prohibited */
67   AliHLTGlobalTrackMatcherComponent& operator=(const AliHLTGlobalTrackMatcherComponent&);
68   /**
69    * Configure the component.
70    * Parse a string for the configuration arguments and set the component
71    * properties.
72    */ 
73   //  int Configure(const char* arguments);
74   
75
76   AliHLTGlobalTrackMatcher * fTrackMatcher;   //Instance of the track matcher class
77
78   Int_t fNEvents;    //Number of events processed
79
80   Double_t fBz;   //Magnetic field of event
81
82   AliHLTCaloClusterReader * fClusterReader;   //Instance of helper class to read calorimeter structs
83
84   TObjArray * fTrackArray;
85   
86   ClassDef(AliHLTGlobalTrackMatcherComponent, 0);
87
88 };
89 #endif