]>
Commit | Line | Data |
---|---|---|
9acda34c | 1 | #ifndef ALIHLTMUONROOTIFIERCOMPONENT_H |
2 | #define ALIHLTMUONROOTIFIERCOMPONENT_H | |
3 | /* This file is property of and copyright by the ALICE HLT Project * | |
4 | * ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | /* $Id$ */ | |
8 | ||
cb35e21b | 9 | /// |
10 | /// @file AliHLTMUONRootifierComponent.h | |
11 | /// @author Artur Szostak <artursz@iafrica.com> | |
450e0b36 | 12 | /// @date 29 Sep 2007 |
cb35e21b | 13 | /// @brief Component for converting dHLT raw data into ROOT objects. |
14 | /// | |
9acda34c | 15 | |
16 | #include "AliHLTProcessor.h" | |
17 | ||
9acda34c | 18 | /** |
19 | * Converts dHLT raw data blocks into ROOT objects. | |
20 | */ | |
21 | class AliHLTMUONRootifierComponent : public AliHLTProcessor | |
22 | { | |
23 | public: | |
24 | ||
25 | AliHLTMUONRootifierComponent(); | |
26 | virtual ~AliHLTMUONRootifierComponent(); | |
27 | ||
9acda34c | 28 | virtual const char* GetComponentID(); |
29 | ||
30 | virtual void GetInputDataTypes(vector<AliHLTComponentDataType>& list); | |
31 | virtual AliHLTComponentDataType GetOutputDataType(); | |
bb14e9db | 32 | virtual int GetOutputDataTypes(AliHLTComponentDataTypeList& tgtList); |
9acda34c | 33 | virtual void GetOutputDataSize(unsigned long& constBase, double& inputMultiplier); |
34 | ||
35 | virtual AliHLTComponent* Spawn(); | |
36 | ||
37 | protected: | |
38 | ||
39 | virtual int DoInit(int argc, const char** argv); | |
40 | virtual int DoDeinit(); | |
6253e09b | 41 | virtual int DoEvent(const AliHLTComponentEventData& evtData, AliHLTComponentTriggerData& trigData); |
42 | using AliHLTProcessor::DoEvent; | |
9acda34c | 43 | |
44 | private: | |
45 | ||
46 | // Prevent copying of these objects. | |
47 | AliHLTMUONRootifierComponent(const AliHLTMUONRootifierComponent& /*object*/); | |
48 | AliHLTMUONRootifierComponent& operator = (const AliHLTMUONRootifierComponent& /*object*/); | |
450e0b36 | 49 | |
50 | bool fWarnForUnexpecedBlock; /// Flag indicating if we should log a warning if we got a block of an unexpected type. | |
9acda34c | 51 | |
52 | ClassDef(AliHLTMUONRootifierComponent, 0); // Converter component of dHLT raw data. | |
53 | }; | |
54 | ||
55 | #endif // ALIHLTMUONROOTIFIERCOMPONENT_H |