1 #ifndef ALIHLTMUONRECHITSSOURCE_H
2 #define ALIHLTMUONRECHITSSOURCE_H
3 /* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
9 * @file AliHLTMUONRecHitsSource.h
10 * @author Artur Szostak <artursz@iafrica.com>
12 * @brief Class for generating reconstructed hits data blocks from AliRoot data.
15 #include "AliHLTOfflineDataSource.h"
23 * AliHLTMUONRecHitsSource is a HLT-AliRoot data source object which generates
24 * and serves AliHLTMUONRecHitsBlockStruct type data blocks to the HLT system.
25 * This is meant as a debugging utility which can optionally generate the data
26 * blocks from simulate GEANT hits or MUON offline reconstructed hits.
28 class AliHLTMUONRecHitsSource : public AliHLTOfflineDataSource
32 AliHLTMUONRecHitsSource();
33 virtual ~AliHLTMUONRecHitsSource();
36 const AliHLTComponentEventData& evtData,
37 AliHLTComponentTriggerData& trigData,
38 AliHLTUInt8_t* outputPtr,
40 vector<AliHLTComponentBlockData>& outputBlocks
43 virtual const char* GetComponentID();
45 virtual AliHLTComponentDataType GetOutputDataType();
47 virtual void GetOutputDataSize(unsigned long& constBase, double& inputMultiplier);
49 virtual AliHLTComponent* Spawn();
53 virtual int DoInit(int argc, const char** argv);
54 virtual int DoDeinit();
58 AliMUONSimData* fSimData; //! MUON module interface to simulated data.
59 AliMUONRecData* fRecData; //! MUON module interface to reconstructed data.
60 AliRunLoader* fRunLoader; //! A pointer to the AliRunLoader instance.
61 AliLoader* fLoader; //! Pointer to the MUON loader instance.
63 ClassDef(AliHLTMUONRecHitsSource, 0); // dHLT data source for reconstructed hit data blocks.
66 #endif // ALIHLTMUONRECHITSSOURCE_H