]>
Commit | Line | Data |
---|---|---|
12ec5482 | 1 | //-*- Mode: C++ -*- |
2 | // @(#) $Id: AliHLTSamplePreprocessor.h 23318 2008-01-14 12:43:28Z hristov $ | |
3 | ||
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 */ | |
9 | ||
10 | /** | |
11 | * @file AliHLTSamplePreprocessor.h | |
12 | * @author Kenneth Aamodt, Sebastian Bablok | |
13 | * @date 2007-12-06 | |
12ec5482 | 14 | * @brief HLT Preprocessor plugin for the AliHLTComp library |
15 | */ | |
16 | ||
17 | // see below for class documentation | |
18 | // or | |
19 | // refer to README to build package | |
20 | // or | |
21 | // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt | |
22 | ||
23 | #include "AliHLTModulePreprocessor.h" | |
24 | ||
25 | /** | |
26 | * @class AliHLTSamplePreprocessor | |
27 | * HLT preprocessor for the libAliHLTComp module. | |
28 | * | |
29 | * @author Jenny Wagner, Matthias Richter | |
30 | * | |
31 | * @date 2008-01-22 | |
32 | */ | |
33 | class AliHLTSamplePreprocessor : public AliHLTModulePreprocessor | |
34 | { | |
35 | public: | |
36 | ||
37 | /** Constructor */ | |
38 | AliHLTSamplePreprocessor(); | |
39 | ||
40 | /** Destructor */ | |
41 | ~AliHLTSamplePreprocessor(); | |
42 | ||
43 | /** | |
44 | * Initialize the Preprocessor. | |
45 | * | |
46 | * @param run run number | |
47 | * @param startTime start time of data | |
48 | * @param endTime end time of data | |
49 | */ | |
50 | void Initialize(Int_t run, UInt_t startTime, UInt_t endTime); | |
51 | ||
52 | /** | |
53 | * Function to process data. Inside the preparation and storing to OCDB | |
54 | * should be handled. | |
55 | * | |
56 | * @param dcsAliasMap the map containing aliases and corresponding DCS | |
57 | * values and timestamps | |
58 | * | |
59 | * @return 0 on success; error code otherwise | |
60 | */ | |
61 | UInt_t Process(TMap* dcsAliasMap); | |
62 | ||
63 | /** Define for Temperature Histogram filename */ | |
64 | static const char* fgkTempHistoFileName; // see above | |
65 | ||
66 | protected: | |
67 | ||
68 | private: | |
69 | /** copy constructor prohibited */ | |
70 | AliHLTSamplePreprocessor(const AliHLTSamplePreprocessor& preproc); | |
71 | /** assignment operator prohibited */ | |
72 | AliHLTSamplePreprocessor& operator=(const AliHLTSamplePreprocessor& rhs); | |
73 | ||
74 | /** | |
75 | * Function fetch and prepare a dummy temperature histogram from the | |
76 | * HLT FXS. | |
77 | * | |
78 | * @return 0 in case of success, else an error code | |
79 | */ | |
80 | UInt_t GetTempHisto(); | |
81 | ||
82 | ClassDef(AliHLTSamplePreprocessor, 0); | |
83 | }; | |
84 | #endif |