]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/SampleLib/AliHLTSamplePreprocessor.h
Update z position of ADA (Z=1699.7)
[u/mrichter/AliRoot.git] / HLT / SampleLib / AliHLTSamplePreprocessor.h
CommitLineData
12ec5482 1//-*- Mode: C++ -*-
0cfce653 2// $Id: AliHLTSamplePreprocessor.h 23318 2008-01-14 12:43:28Z hristov $
12ec5482 3
4#ifndef ALIHLTSAMPLEPREPROCESSOR_H
5#define ALIHLTSAMPLEPREPROCESSOR_H
0cfce653 6//* This file is property of and copyright by the *
12ec5482 7//* ALICE Experiment at CERN, All rights reserved. *
8//* See cxx source for full Copyright notice */
9
0cfce653 10/// @file AliHLTSamplePreprocessor.h
11/// @author Kenneth Aamodt, Sebastian Bablok
12/// @date 2007-12-06
13/// @brief HLT Preprocessor plugin for the AliHLTSample library
14///
12ec5482 15
16#include "AliHLTModulePreprocessor.h"
17
18/**
19 * @class AliHLTSamplePreprocessor
c5123824 20 * A sample HLT preprocessor.
12ec5482 21 *
22 * @date 2008-01-22
23 */
24class AliHLTSamplePreprocessor : public AliHLTModulePreprocessor
25{
26 public:
27
28 /** Constructor */
29 AliHLTSamplePreprocessor();
30
31 /** Destructor */
32 ~AliHLTSamplePreprocessor();
33
34 /**
35 * Initialize the Preprocessor.
36 *
37 * @param run run number
38 * @param startTime start time of data
39 * @param endTime end time of data
40 */
41 void Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
42
43 /**
44 * Function to process data. Inside the preparation and storing to OCDB
45 * should be handled.
46 *
47 * @param dcsAliasMap the map containing aliases and corresponding DCS
48 * values and timestamps
49 *
50 * @return 0 on success; error code otherwise
51 */
52 UInt_t Process(TMap* dcsAliasMap);
53
54 /** Define for Temperature Histogram filename */
55 static const char* fgkTempHistoFileName; // see above
56
d83b59c6 57 /** Define module id */
58 const char* GetModuleID() {return "AliHLTSamplePreprocessor";};
59
95e36f3d 60 Int_t GetModuleNumber() {return AliHLTModulePreprocessor::DetectorBitMask("TPC");};
d83b59c6 61
12ec5482 62 protected:
63
64 private:
65 /** copy constructor prohibited */
66 AliHLTSamplePreprocessor(const AliHLTSamplePreprocessor& preproc);
67 /** assignment operator prohibited */
68 AliHLTSamplePreprocessor& operator=(const AliHLTSamplePreprocessor& rhs);
69
70 /**
71 * Function fetch and prepare a dummy temperature histogram from the
72 * HLT FXS.
73 *
74 * @return 0 in case of success, else an error code
75 */
76 UInt_t GetTempHisto();
77
78 ClassDef(AliHLTSamplePreprocessor, 0);
79};
80#endif