]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/pendolino/PredictionProcessor/TPC/AliHLTPredictionProcessorTPC.h
moving some files for the pendolino module around in order to prepare merging of...
[u/mrichter/AliRoot.git] / HLT / pendolino / PredictionProcessor / TPC / AliHLTPredictionProcessorTPC.h
1 //-*- Mode: C++ -*-
2 // $Id$
3
4 #ifndef ALIHLTPREDICTIONPROCESSORTPC_H
5 #define ALIHLTPREDICTIONPROCESSORTPC_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 /** @file   AliHLTPredictionProcessorTPC.h
11     @author Haavard Helstrup
12     @date   
13     @brief  
14 */
15
16 #include "AliHLTPredictionProcessorInterface.h"
17 #include "TTree.h"
18 #include "AliTPCSensorTempArray.h"
19
20 class TMap;
21
22 class TObjArray;
23
24 class AliHLTPredictionProcessorTPC : public AliHLTPredictionProcessorInterface
25 {
26  public:
27    AliHLTPredictionProcessorTPC(const char* detector, 
28                                 AliHLTPendolino* pendolino);
29    virtual ~AliHLTPredictionProcessorTPC();
30    
31    UInt_t makePrediction (Bool_t doPrediction);
32    void Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
33    UInt_t Process (TMap* dcsAliasMap);
34    UInt_t ExtractTemperature(TMap* dcsAliasMap);
35    TMap* produceTestData(TString aliasName);
36    virtual Bool_t ProcessDCS();
37    
38   private: 
39     Bool_t                 fConfigOK;     // Identify succesful reading of OCDB Config
40     TTree*                 fConfTreeTemp; // TTree holding temperature configuration  
41     AliTPCSensorTempArray* fTemp;         // Array holding temperature readings
42     Bool_t                 fPredict;      // Indicates whether predictions should be made
43     Int_t                  fRun;          // run number
44     UInt_t                 fStartTime;    // start time
45     UInt_t                 fEndTime;      // end time
46
47     AliHLTPredictionProcessorTPC
48              (const AliHLTPredictionProcessorTPC& predictPro); // Disabled Copy Constructor
49
50     AliHLTPredictionProcessorTPC& 
51              operator=(const AliHLTPredictionProcessorTPC& rhs); // Disabled Assignment Operator
52
53
54   ClassDef(AliHLTPredictionProcessorTPC,2)
55 };
56
57 inline Bool_t AliHLTPredictionProcessorTPC::ProcessDCS() {
58         return true;
59 }
60
61 #endif
62