]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/global/AliHLTGlobalTrackMatcherComponent.h
- new gain calibb
[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 #include "AliHLTComponentBenchmark.h"
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     ///Inherited from AliHLTComponent: Get list of OCDB objects
47   void GetOCDBObjectDescription( TMap* const targetMap); //Methods
48   
49 protected:
50
51   // Protected functions to implement AliHLTComponent's interface.
52   // These functions provide initialization as well as the actual processing
53   // capabilities of the component. 
54
55   /** interface function, see AliHLTComponent for description */
56   int DoInit( int argc, const char** argv );
57   /** interface function, see AliHLTComponent for description */
58   int DoDeinit();
59   /** interface function, see AliHLTComponent for description */
60   
61   //FOR METHOD extrapolation:
62     /// inherited from AliHLTComponent: handle re-configuration event
63   int Reconfigure(const char* cdbEntry, const char* chainId);
64
65   /// inherited from AliHLTComponent, scan one argument and
66   /// its parameters
67   int ScanConfigurationArgument(int argc, const char** argv);
68   //FOR METHOD
69   
70     /// the default configuration entry for this component
71   const char* fOCDBEntry; // Method for TrackMatcher
72   
73   int DoEvent( const AliHLTComponentEventData& /*evtData*/, AliHLTComponentTriggerData& trigData );
74
75   //int Reconfigure(const char* cdbEntry, const char* chainId);
76
77   using AliHLTProcessor::DoEvent;
78   
79   Int_t fMethod; //TString for method choice for extrapolation
80   
81 private:
82   /** copy constructor prohibited */
83   AliHLTGlobalTrackMatcherComponent(const AliHLTGlobalTrackMatcherComponent&);
84   /** assignment operator prohibited */
85   AliHLTGlobalTrackMatcherComponent& operator=(const AliHLTGlobalTrackMatcherComponent&);
86   /**
87    * Configure the component.
88    * Parse a string for the configuration arguments and set the component
89    * properties.
90    */ 
91   //  int Configure(const char* arguments);
92   
93
94   AliHLTGlobalTrackMatcher * fTrackMatcher;   //Instance of the track matcher class
95
96   Int_t fNEvents;    //Number of events processed
97
98   Double_t fBz;   //Magnetic field of event
99
100   AliHLTCaloClusterReader * fClusterReader;   //Instance of helper class to read calorimeter structs
101
102   TObjArray * fTrackArray;
103
104   ClassDef(AliHLTGlobalTrackMatcherComponent, 0);
105
106 };
107 #endif