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 *
5 /** @file AliHLTGlobalTrackMatcherComponent.h
6 @author Sergey Gorbunov
7 @brief Component for monitor V0 physics
12 #ifndef ALIHLTGLOBALTRACKMATCHERCOMPONENT_H
13 #define ALIHLTGLOBALTRACKMATCHERCOMPONENT_H
16 class AliHLTProcessor;
17 class AliHLTGlobalTrackMatcher;
18 class AliHLTCaloClusterReader;
21 * @class AliHLTTPCV0HistoComponent
22 * Component for monitor V0 physics
24 class AliHLTGlobalTrackMatcherComponent : public AliHLTProcessor
27 /** default constructor */
28 AliHLTGlobalTrackMatcherComponent();
30 virtual ~AliHLTGlobalTrackMatcherComponent();
32 // Public functions to implement AliHLTComponent's interface.
33 // These functions are required for the registration process
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();
48 // Protected functions to implement AliHLTComponent's interface.
49 // These functions provide initialization as well as the actual processing
50 // capabilities of the component.
52 /** interface function, see AliHLTComponent for description */
53 int DoInit( int argc, const char** argv );
54 /** interface function, see AliHLTComponent for description */
56 /** interface function, see AliHLTComponent for description */
57 int DoEvent( const AliHLTComponentEventData& /*evtData*/, AliHLTComponentTriggerData& trigData );
59 //int Reconfigure(const char* cdbEntry, const char* chainId);
61 using AliHLTProcessor::DoEvent;
64 /** copy constructor prohibited */
65 AliHLTGlobalTrackMatcherComponent(const AliHLTGlobalTrackMatcherComponent&);
66 /** assignment operator prohibited */
67 AliHLTGlobalTrackMatcherComponent& operator=(const AliHLTGlobalTrackMatcherComponent&);
69 * Configure the component.
70 * Parse a string for the configuration arguments and set the component
73 // int Configure(const char* arguments);
76 AliHLTGlobalTrackMatcher * fTrackMatcher; //Instance of the track matcher class
78 Int_t fNEvents; //Number of events processed
80 Double_t fBz; //Magnetic field of event
82 AliHLTCaloClusterReader * fClusterReader; //Instance of helper class to read calorimeter structs
84 TObjArray * fTrackArray;
86 ClassDef(AliHLTGlobalTrackMatcherComponent, 0);