2 // @(#) $Id: AliHLTSamplePreprocessor.h 23318 2008-01-14 12:43:28Z hristov $
4 #ifndef ALIHLTSAMPLEPREPROCESSOR_H
5 #define ALIHLTSAMPLEPREPROCESSOR_H
6 //* This file is property of and copyright by the ALICE HLT Project *
7 //* ALICE Experiment at CERN, All rights reserved. *
8 //* See cxx source for full Copyright notice */
11 * @file AliHLTSamplePreprocessor.h
12 * @author Kenneth Aamodt, Sebastian Bablok
14 * @brief HLT Preprocessor plugin for the AliHLTSample library
17 // see below for class documentation
19 // refer to README to build package
21 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
23 #include "AliHLTModulePreprocessor.h"
26 * @class AliHLTSamplePreprocessor
27 * A sample HLT preprocessor.
31 class AliHLTSamplePreprocessor : public AliHLTModulePreprocessor
36 AliHLTSamplePreprocessor();
39 ~AliHLTSamplePreprocessor();
42 * Initialize the Preprocessor.
44 * @param run run number
45 * @param startTime start time of data
46 * @param endTime end time of data
48 void Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
51 * Function to process data. Inside the preparation and storing to OCDB
54 * @param dcsAliasMap the map containing aliases and corresponding DCS
55 * values and timestamps
57 * @return 0 on success; error code otherwise
59 UInt_t Process(TMap* dcsAliasMap);
61 /** Define for Temperature Histogram filename */
62 static const char* fgkTempHistoFileName; // see above
64 /** Define module id */
65 const char* GetModuleID() {return "AliHLTSamplePreprocessor";};
67 const Int_t GetModuleNumber() {return AliHLTModulePreprocessor::DetectorBitMask("TPC");};
72 /** copy constructor prohibited */
73 AliHLTSamplePreprocessor(const AliHLTSamplePreprocessor& preproc);
74 /** assignment operator prohibited */
75 AliHLTSamplePreprocessor& operator=(const AliHLTSamplePreprocessor& rhs);
78 * Function fetch and prepare a dummy temperature histogram from the
81 * @return 0 in case of success, else an error code
83 UInt_t GetTempHisto();
85 ClassDef(AliHLTSamplePreprocessor, 0);