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