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
11 #ifndef ALIHLTGLOBALTRACKMATCHERCOMPONENT_H
12 #define ALIHLTGLOBALTRACKMATCHERCOMPONENT_H
15 class AliHLTProcessor;
16 class AliHLTGlobalTrackMatcher;
17 class AliHLTCaloClusterReader;
20 * @class AliHLTTPCV0HistoComponent
21 * Component for monitor V0 physics
23 class AliHLTGlobalTrackMatcherComponent : public AliHLTProcessor
26 /** default constructor */
27 AliHLTGlobalTrackMatcherComponent();
29 virtual ~AliHLTGlobalTrackMatcherComponent();
31 // Public functions to implement AliHLTComponent's interface.
32 // These functions are required for the registration process
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();
47 // Protected functions to implement AliHLTComponent's interface.
48 // These functions provide initialization as well as the actual processing
49 // capabilities of the component.
51 /** interface function, see AliHLTComponent for description */
52 int DoInit( int argc, const char** argv );
53 /** interface function, see AliHLTComponent for description */
55 /** interface function, see AliHLTComponent for description */
56 int DoEvent( const AliHLTComponentEventData& /*evtData*/, AliHLTComponentTriggerData& trigData );
58 //int Reconfigure(const char* cdbEntry, const char* chainId);
60 using AliHLTProcessor::DoEvent;
63 /** copy constructor prohibited */
64 AliHLTGlobalTrackMatcherComponent(const AliHLTGlobalTrackMatcherComponent&);
65 /** assignment operator prohibited */
66 AliHLTGlobalTrackMatcherComponent& operator=(const AliHLTGlobalTrackMatcherComponent&);
68 * Configure the component.
69 * Parse a string for the configuration arguments and set the component
72 // int Configure(const char* arguments);
75 AliHLTGlobalTrackMatcher * fTrackMatcher; //Instance of the track matcher class
77 Int_t fNEvents; //Number of events processed
79 Double_t fBz; //Magnetic field of event
81 AliHLTCaloClusterReader * fClusterReader; //Instance of helper class to read calorimeter structs
83 TObjArray * fTrackArray;
85 ClassDef(AliHLTGlobalTrackMatcherComponent, 0);