]>
Commit | Line | Data |
---|---|---|
3e8728ed | 1 | //-*- Mode: C++ -*- |
2 | // $Id$ | |
3 | ||
4 | #ifndef ALIHLTGLOBALDCSPUBLISHERCOMPONENT_H | |
5 | #define ALIHLTGLOBALDCSPUBLISHERCOMPONENT_H | |
6 | ||
7 | //* This file is property of and copyright by the ALICE HLT Project * | |
8 | //* ALICE Experiment at CERN, All rights reserved. * | |
9 | //* See cxx source for full Copyright notice * | |
10 | ||
11 | /** @file AliHLTGlobalDCSPublisherComponent.h | |
12 | @author Matthias Richter | |
13 | @date 20010-03-10 | |
14 | @brief DIM publisher component for global HLT data | |
15 | */ | |
16 | #include "AliHLTDataSink.h" | |
17 | ||
18 | class AliHLTDimServer; | |
19 | ||
20 | /** | |
21 | * @class AliHLTGlobalDCSPublisherComponent | |
22 | * DIM Publisher component for global HLT data. | |
23 | * It implements a DIM server which publishes global HLT data through the | |
24 | * following services: | |
25 | * - Vertex_X | |
26 | * - Vertex_Y | |
27 | * - Vertex_Z | |
28 | * - ResVertex_X | |
29 | * - ResVertex_Y | |
30 | * - ResVertex_Z | |
31 | * | |
32 | */ | |
33 | class AliHLTGlobalDCSPublisherComponent : public AliHLTDataSink { | |
34 | public: | |
35 | AliHLTGlobalDCSPublisherComponent(); | |
36 | ~AliHLTGlobalDCSPublisherComponent(); | |
37 | ||
38 | virtual const char* GetComponentID(); | |
39 | virtual void GetInputDataTypes( vector<AliHLTComponentDataType>& list); | |
40 | virtual AliHLTComponent* Spawn(); | |
41 | ||
42 | protected: | |
43 | /// component initialization | |
44 | int DoInit( int argc, const char** argv ); | |
45 | ||
46 | /// component cleanup | |
47 | int DoDeinit(); | |
48 | ||
49 | /// Data processing method for the component. | |
50 | virtual int DumpEvent( const AliHLTComponentEventData& evtData, | |
51 | AliHLTComponentTriggerData& trigData ); | |
52 | ||
53 | using AliHLTDataSink::DumpEvent; | |
54 | ||
55 | int ScanConfigurationArgument(int argc, const char** argv); | |
56 | ||
57 | private: | |
58 | /// copy constructor not permitted | |
59 | AliHLTGlobalDCSPublisherComponent(const AliHLTGlobalDCSPublisherComponent&); | |
60 | /// assignment operator not permitted | |
61 | AliHLTGlobalDCSPublisherComponent& operator=(const AliHLTGlobalDCSPublisherComponent&); | |
62 | ||
63 | AliHLTDimServer* fpServer; //! dim server instance | |
64 | ||
65 | ClassDef(AliHLTGlobalDCSPublisherComponent, 0) | |
66 | }; | |
67 | #endif |