]>
Commit | Line | Data |
---|---|---|
a37fc0f5 | 1 | //-*- Mode: C++ -*- |
2 | // $Id$ | |
3 | ||
4 | #ifndef ALIHLTGLOBALPREPROCESSOR_H | |
5 | #define ALIHLTGLOBALPREPROCESSOR_H | |
24835001 | 6 | //* This file is property of and copyright by the * |
a37fc0f5 | 7 | //* ALICE Experiment at CERN, All rights reserved. * |
24835001 | 8 | //* See cxx source for full Copyright notice * |
a37fc0f5 | 9 | |
24835001 | 10 | /// @file AliHLTGlobalPreprocessor.h |
11 | /// @author Matthias Richter | |
12 | /// @date 2010-08-20 | |
13 | /// @brief HLT Preprocessor plugin for global HLT | |
14 | /// | |
a37fc0f5 | 15 | |
16 | #include "AliHLTModulePreprocessor.h" | |
17 | ||
18 | /** | |
19 | * @class AliHLTGlobalPreprocessor | |
20 | * HLT preprocessor for global HLT objects | |
21 | * | |
22 | * <h2>Produced OCDB objects:</h2> | |
23 | * - HLT/Calib/Streamerinfo <br> | |
24 | * The streamer info object is produced by the ROOTSchemaEvolutionComponent | |
25 | * See ProcessStreamerInfo() for details. | |
26 | * | |
27 | * @author Matthias Richter | |
28 | */ | |
29 | class AliHLTGlobalPreprocessor : public AliHLTModulePreprocessor | |
30 | { | |
31 | public: | |
32 | ||
33 | /** Standard Constructor */ | |
34 | AliHLTGlobalPreprocessor(); | |
35 | ||
36 | /** Destructor */ | |
37 | ~AliHLTGlobalPreprocessor(); | |
38 | ||
39 | /** | |
40 | * Initialize the Preprocessor. | |
41 | * | |
42 | * @param run run number | |
43 | * @param startTime start time of data | |
44 | * @param endTime end time of data | |
45 | */ | |
46 | void Initialize(Int_t run, UInt_t startTime, UInt_t endTime); | |
47 | ||
48 | /** | |
49 | * Function to process data. Inside the preparation and storing to OCDB | |
50 | * should be handled. | |
51 | * | |
52 | * @param dcsAliasMap the map containing aliases and corresponding DCS | |
53 | * values and timestamps | |
54 | * | |
55 | * @return 0 on success; error code otherwise | |
56 | */ | |
57 | UInt_t Process(TMap* dcsAliasMap); | |
58 | ||
59 | /** Define bit mask of the active detectors needed by this preprocessor module */ | |
60 | Int_t GetModuleNumber(); | |
61 | ||
62 | /// DCS alias 'StreamerInfo' -> Calib/StreamerInfo | |
63 | static const char* fgkStreamerInfoAlias; | |
64 | static const char* fgkStreamerInfoName; | |
65 | static const char* fgkStreamerInfoType; | |
66 | ||
67 | protected: | |
68 | ||
69 | private: | |
70 | /** copy constructor prohibited */ | |
71 | AliHLTGlobalPreprocessor(const AliHLTGlobalPreprocessor& preproc); | |
72 | /** assignment operator prohibited */ | |
73 | AliHLTGlobalPreprocessor& operator=(const AliHLTGlobalPreprocessor& rhs); | |
74 | ||
e0047231 | 75 | Int_t ProcessStreamerInfo(); |
a37fc0f5 | 76 | |
77 | ClassDef(AliHLTGlobalPreprocessor, 0); | |
78 | }; | |
79 | #endif |