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 */
10 /// @file AliHLTMUONRootifierComponent.h
11 /// @author Artur Szostak <artursz@iafrica.com>
13 /// @brief Component for converting dHLT raw data into ROOT objects.
16 #include "AliHLTMUONProcessor.h"
19 * Converts dHLT raw data blocks into ROOT objects.
21 class AliHLTMUONRootifierComponent : public AliHLTMUONProcessor
25 AliHLTMUONRootifierComponent();
26 virtual ~AliHLTMUONRootifierComponent();
28 virtual const char* GetComponentID();
30 virtual void GetInputDataTypes(vector<AliHLTComponentDataType>& list);
31 virtual AliHLTComponentDataType GetOutputDataType();
32 virtual int GetOutputDataTypes(AliHLTComponentDataTypeList& tgtList);
33 virtual void GetOutputDataSize(unsigned long& constBase, double& inputMultiplier);
35 virtual AliHLTComponent* Spawn();
39 virtual int DoInit(int argc, const char** argv);
40 virtual int DoDeinit();
41 virtual int DoEvent(const AliHLTComponentEventData& evtData, AliHLTComponentTriggerData& trigData);
42 using AliHLTProcessor::DoEvent;
46 // Prevent copying of these objects.
47 AliHLTMUONRootifierComponent(const AliHLTMUONRootifierComponent& /*object*/);
48 AliHLTMUONRootifierComponent& operator = (const AliHLTMUONRootifierComponent& /*object*/);
50 bool fWarnForUnexpecedBlock; /// Flag indicating if we should log a warning if we got a block of an unexpected type.
52 ClassDef(AliHLTMUONRootifierComponent, 0); // Converter component of dHLT raw data.
55 #endif // ALIHLTMUONROOTIFIERCOMPONENT_H