4 #ifndef ALIHLTGLOBALPREPROCESSOR_H
5 #define ALIHLTGLOBALPREPROCESSOR_H
6 //* This file is property of and copyright by the *
7 //* ALICE Experiment at CERN, All rights reserved. *
8 //* See cxx source for full Copyright notice *
10 /// @file AliHLTGlobalPreprocessor.h
11 /// @author Matthias Richter
13 /// @brief HLT Preprocessor plugin for global HLT
16 #include "AliHLTModulePreprocessor.h"
19 * @class AliHLTGlobalPreprocessor
20 * HLT preprocessor for global HLT objects
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.
27 * @author Matthias Richter
29 class AliHLTGlobalPreprocessor : public AliHLTModulePreprocessor
33 /** Standard Constructor */
34 AliHLTGlobalPreprocessor();
37 ~AliHLTGlobalPreprocessor();
40 * Initialize the Preprocessor.
42 * @param run run number
43 * @param startTime start time of data
44 * @param endTime end time of data
46 void Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
49 * Function to process data. Inside the preparation and storing to OCDB
52 * @param dcsAliasMap the map containing aliases and corresponding DCS
53 * values and timestamps
55 * @return 0 on success; error code otherwise
57 UInt_t Process(TMap* dcsAliasMap);
59 /** Define bit mask of the active detectors needed by this preprocessor module */
60 Int_t GetModuleNumber();
62 /// DCS alias 'StreamerInfo' -> Calib/StreamerInfo
63 static const char* fgkStreamerInfoAlias;
64 static const char* fgkStreamerInfoName;
65 static const char* fgkStreamerInfoType;
70 /** copy constructor prohibited */
71 AliHLTGlobalPreprocessor(const AliHLTGlobalPreprocessor& preproc);
72 /** assignment operator prohibited */
73 AliHLTGlobalPreprocessor& operator=(const AliHLTGlobalPreprocessor& rhs);
75 Int_t ProcessStreamerInfo();
77 ClassDef(AliHLTGlobalPreprocessor, 0);